Skip to contentSkip to conversation

ath9k: fix a misprint which can lead to incorrect calibration

PATCH Superseded Alex Hacker 2 participants 2 messages Aug 3, 2011 Qualcomm Atheros ATH9K wireless driver

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath9k: fix a misprint which can lead to incorrect calibration

---
 drivers/net/wireless/ath/ath9k/ar9003_phy.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/wireless/ath/ath9k/ar9003_phy.h +1 -1
index 6de3f0b..5c59042 100644
@@ -850,7 +850,7 @@
 #define AR_PHY_TPC_11_B1         (AR_SM1_BASE + 0x220)
 #define AR_PHY_PDADC_TAB_1       (AR_SM1_BASE + 0x240)
 #define AR_PHY_TX_IQCAL_STATUS_B1   (AR_SM1_BASE + 0x48c)
-#define AR_PHY_TX_IQCAL_CORR_COEFF_B1(_i)    (AR_SM_BASE + 0x450 + ((_i) << 2))
+#define AR_PHY_TX_IQCAL_CORR_COEFF_B1(_i)    (AR_SM1_BASE + 0x450 + ((_i) << 2))
 
 /*
  * Channel 2 Register Map
Signature · 1 line
1.7.4
#1 lore raw
Quoted 11 lines · Alex Hacker

---
 drivers/net/wireless/ath/ath9k/ar9003_phy.h |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/wireless/ath/ath9k/ar9003_phy.h +0 -0
index 6de3f0b..5c59042 100644

drivers/net/wireless/ath/ath9k/ar9003_phy.h line 853

Quoted 5 lines
drivers/net/wireless/ath/ath9k/ar9003_phy.h +1 -1
@@ -850,7 +850,7 @@
  #define AR_PHY_TPC_11_B1         (AR_SM1_BASE + 0x220)
  #define AR_PHY_PDADC_TAB_1       (AR_SM1_BASE + 0x240)
  #define AR_PHY_TX_IQCAL_STATUS_B1   (AR_SM1_BASE + 0x48c)
-#define AR_PHY_TX_IQCAL_CORR_COEFF_B1(_i)    (AR_SM_BASE + 0x450 + ((_i) << 2))
+#define AR_PHY_TX_IQCAL_CORR_COEFF_B1(_i)    (AR_SM1_BASE + 0x450 + ((_i) << 2))

Hi Alex,

please send this patch cc'ing [email protected], as this will fix AR9003 chip sets calibration

Signature · 1 line
shafi