summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ar9003_phy.c
diff options
context:
space:
mode:
authorSujith Manoharan2012-09-16 04:36:08 +0200
committerJohn W. Linville2012-09-24 20:59:11 +0200
commit5317c9c3e9258b326c076d372e2eabf565d9a462 (patch)
tree6de259f5ac5989d75e1120022ecda2c63266f6af /drivers/net/wireless/ath/ath9k/ar9003_phy.c
parentath9k: Remove a couple of unused variables (diff)
downloadkernel-qcow2-linux-5317c9c3e9258b326c076d372e2eabf565d9a462.tar.gz
kernel-qcow2-linux-5317c9c3e9258b326c076d372e2eabf565d9a462.tar.xz
kernel-qcow2-linux-5317c9c3e9258b326c076d372e2eabf565d9a462.zip
ath9k_hw: Add antenna diversity group for AR9565
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/ar9003_phy.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_phy.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.c b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
index 158b50d3a853..a8ab81bf74c4 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
@@ -1291,6 +1291,9 @@ static void ar9003_hw_antdiv_comb_conf_get(struct ath_hw *ah,
} else if (AR_SREV_9485(ah)) {
antconf->lna1_lna2_delta = -9;
antconf->div_group = 2;
+ } else if (AR_SREV_9565(ah)) {
+ antconf->lna1_lna2_delta = -3;
+ antconf->div_group = 3;
} else {
antconf->lna1_lna2_delta = -3;
antconf->div_group = 0;