2011-08-04 07:49:05

by Alex Hacker

[permalink] [raw]
Subject: [PATCH v2] ath9k: fix a misprint which leads to incorrect calibration

This patch addresses an issue with incorrect HW register
AR_PHY_TX_IQCAL_CORR_COEFF_B1 definition which leads to incorrect clibration.

Cc: [email protected]
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-04 07:55:22

by Mohammed Shafi

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

On Thu, Aug 4, 2011 at 1:17 PM, Alex Hacker <[email protected]> wrote:
> This patch addresses an issue with incorrect HW register
> AR_PHY_TX_IQCAL_CORR_COEFF_B1 definition which leads to incorrect clibration.
>
> Cc: [email protected]
> Signed-off-by: Alex Hacker <[email protected]>

thanks Alex!

> ---
> ?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
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
>



--
shafi