summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/realtek/rtlwifi/wifi.h
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2016-03-16 19:33:34 +0100
committerKalle Valo <kvalo@codeaurora.org>2016-04-06 20:28:30 +0200
commitc18d8f5095715c56bb3cd9cba64242542632054b (patch)
tree67be371ca8d7f8a1a8748935774c85a2f5d5c1ab /drivers/net/wireless/realtek/rtlwifi/wifi.h
parentmwifiex: fix Tx timeout issue during suspend test (diff)
downloadlinux-c18d8f5095715c56bb3cd9cba64242542632054b.tar.xz
linux-c18d8f5095715c56bb3cd9cba64242542632054b.zip
rtlwifi: rtl8723be: Add antenna select module parameter
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> Cc: Stable <stable@vger.kernel.org> [V4.0+] Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to '')
-rw-r--r--drivers/net/wireless/realtek/rtlwifi/wifi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/realtek/rtlwifi/wifi.h b/drivers/net/wireless/realtek/rtlwifi/wifi.h
index 554d81420f19..93bd7fcd2b61 100644
--- a/drivers/net/wireless/realtek/rtlwifi/wifi.h
+++ b/drivers/net/wireless/realtek/rtlwifi/wifi.h
@@ -2246,6 +2246,9 @@ struct rtl_mod_params {
/* default 0: 1 means do not disable interrupts */
bool int_clear;
+
+ /* select antenna */
+ int ant_sel;
};
struct rtl_hal_usbint_cfg {