2011-08-03 04:31:28

by Alex Hacker

[permalink] [raw]
Subject: [PATCH] ath9k: fix a misprint which can lead to incorrect calibration


Signed-off-by: Alex Hacker <[email protected]>
---
drivers/net/wireless/ath/ath9k/ar9003_phy.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.h b/drivers/net/wireless/ath/ath9k/ar9003_phy.h
index 6de3f0b..5c59042 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_phy.h
+++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.h
@@ -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
--
1.7.4



2011-08-03 09:20:19

by Mohammed Shafi

[permalink] [raw]
Subject: Re: [PATCH] ath9k: fix a misprint which can lead to incorrect calibration

On Wed, Aug 3, 2011 at 10:00 AM, Alex Hacker <[email protected]> wrote:
>
> Signed-off-by: Alex Hacker <[email protected]>
> ---
> ?drivers/net/wireless/ath/ath9k/ar9003_phy.h | ? ?2 +-
> ?1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.h b/drivers/net/wireless/ath/ath9k/ar9003_phy.h
> index 6de3f0b..5c59042 100644
> --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.h
> +++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.h
> @@ -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

--
shafi