summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath9k/phy.h
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-02-12 07:36:49 +0300
committerJohn W. Linville <linville@tuxdriver.com>2009-02-27 22:51:44 +0300
commitedf7c060f094f33b68b34b9312688fb823ebc0ff (patch)
tree69a1b45cc59d2d7b1361bf02aec3d5008b611557 /drivers/net/wireless/ath9k/phy.h
parent4af9cf4fda28c5f794861c52e0db5a3de9ee574d (diff)
downloadlinux-edf7c060f094f33b68b34b9312688fb823ebc0ff.tar.xz
ath9k: Initialize AGC calibration properly
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/phy.h')
-rw-r--r--drivers/net/wireless/ath9k/phy.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/phy.h b/drivers/net/wireless/ath9k/phy.h
index 837a598a7ae5..4758c37e4b88 100644
--- a/drivers/net/wireless/ath9k/phy.h
+++ b/drivers/net/wireless/ath9k/phy.h
@@ -485,6 +485,10 @@ bool ath9k_hw_init_rf(struct ath_hw *ah,
#define AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_4 0x0FC00000
#define AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_4_S 22
+/* Carrier leak calibration control, do it after AGC calibration */
+#define AR_PHY_CL_CAL_CTL 0xA358
+#define AR_PHY_CL_CAL_ENABLE 0x00000002
+
#define AR_PHY_POWER_TX_RATE5 0xA38C
#define AR_PHY_POWER_TX_RATE6 0xA390