]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rtlwifi: rtl8723be: Add antenna select module parameter
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 16 Mar 2016 18:33:34 +0000 (13:33 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jun 2016 01:14:33 +0000 (18:14 -0700)
commit5618e882939a08f5733743ec5c296fa5254dc110
tree6c7d9eb3ab72a22289a412785b37e128379f5515
parentc56cebbe83dde1c93599eb29d85d5c889d7a00cf
rtlwifi: rtl8723be: Add antenna select module parameter

commit c18d8f5095715c56bb3cd9cba64242542632054b upstream.

A number of new laptops have been delivered with only a single antenna.
In principle, this is OK; however, a problem arises when the on-board
EEPROM is programmed to use the other antenna connection. The option
of opening the computer and moving the connector is not always possible
as it will void the warranty in some cases. In addition, this solution
breaks the Windows driver when the box dual boots Linux and Windows.

A fix involving a new module parameter has been developed.  This commit
adds the new parameter and implements the changes needed for the driver.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c
drivers/net/wireless/realtek/rtlwifi/rtl8723be/sw.c
drivers/net/wireless/realtek/rtlwifi/wifi.h