summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/init.c
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2013-08-19 09:34:01 +0400
committerJohn W. Linville <linville@tuxdriver.com>2013-08-22 22:30:29 +0400
commite083a42ef616b6987c024cccfec72cec75a1f1f5 (patch)
tree91a7e21dfd5971b4affef23e32091763dc0b6009 /drivers/net/wireless/ath/ath9k/init.c
parentfb5a2dcbbcf19f8ff7e5312b2340460bc03a4b89 (diff)
downloadlinux-e083a42ef616b6987c024cccfec72cec75a1f1f5.tar.xz
ath9k: Add antenna diversity tweak for CUS198
This improves RX diversity and performance for AR9485. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/init.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c
index abf1eb5d97ad..19b46c7e3616 100644
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -534,6 +534,7 @@ static void ath9k_init_platform(struct ath_softc *sc)
ATH9K_PCI_CUS230)) {
ah->config.xlna_gpio = 9;
ah->config.xatten_margin_cfg = true;
+ ah->config.alt_mingainidx = true;
ah->config.ant_ctrl_comm2g_switch_enable = 0x000BBB88;
sc->ant_comb.low_rssi_thresh = 20;
sc->ant_comb.fast_div_bias = 3;