Skip to contentSkip to conversation

Important misprint in ar9003_phy.h

ath9k-devel Alex Hacker 2 participants 3 messages Aug 2, 2011

lore
Share & tools
lore
#0 lore raw

I think it looks like misprint which can lead to incorrect calibration process.

ar9003_phy.h renamed from ar9003_phy.h.orig +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))
 
 /*
  * Channel 2 Register Map

Best regrads,
Alex.

#1 lore raw
Quoted 1 line · Alex Hacker

I think it looks like misprint which can lead to incorrect calibration process.

true. looks like a typo, I will check with Vasanth. thanks.

Quoted 16 lines
ar9003_phy.h ? ? ? ?2011-08-02 13:47:07.000000000 +0600 renamed from ar9003_phy.h.orig ? 2011-08-01 09:53:05.000000000 +0600 +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))
 

?/*
?* Channel 2 Register Map

Best regrads,
Alex.

Signature · 1 line
shafi
#2 lore raw
Quoted 4 lines · Mohammed Shafi
Quoted 1 line · Alex Hacker

I think it looks like misprint which can lead to incorrect calibration process.

true. looks like a typo, I will check with Vasanth. thanks.

this change looks fine. Alex, please send a patch to wireless-testing. thanks.

Quoted 23 lines
Quoted 14 lines
ar9003_phy.h ? ? ? ?2011-08-02 13:47:07.000000000 +0600 renamed from ar9003_phy.h.orig ? 2011-08-01 09:53:05.000000000 +0600 +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))
 

?/*
?* Channel 2 Register Map

Quoted 3 lines

Best regrads,
Alex.

--
shafi

Signature · 1 line
shafi