diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2010-04-26 15:04:32 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-27 16:09:17 -0400 |
commit | b360a884834a83ede845733cf344a29eb10dd2e3 (patch) | |
tree | 08165aaef3aa9e2ff636dd72fb5a40c73c6facae /drivers/net/wireless | |
parent | 83937227657545f9e7aa9bfcb4429e81c9135f46 (diff) |
ath9k_hw: disable TX IQ calibration for AR9003
Disable TX IQ calibration, it was prematurely enabled in
previous versions.
Cc: Paul Shaw <Paul.Shaw@Atheros.com>
Cc: Thomas Hammel <Thomas.Hammel@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9003_calib.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 6 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 1 |
3 files changed, 9 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_calib.c b/drivers/net/wireless/ath/ath9k/ar9003_calib.c index 5e20b4860c7f..5fcafb460877 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_calib.c +++ b/drivers/net/wireless/ath/ath9k/ar9003_calib.c | |||
@@ -755,7 +755,8 @@ static bool ar9003_hw_init_cal(struct ath_hw *ah, | |||
755 | } | 755 | } |
756 | 756 | ||
757 | /* Do Tx IQ Calibration */ | 757 | /* Do Tx IQ Calibration */ |
758 | ar9003_hw_tx_iq_cal(ah); | 758 | if (ah->config.tx_iq_calibration) |
759 | ar9003_hw_tx_iq_cal(ah); | ||
759 | 760 | ||
760 | /* Revert chainmasks to their original values before NF cal */ | 761 | /* Revert chainmasks to their original values before NF cal */ |
761 | ar9003_hw_set_chain_masks(ah, ah->rxchainmask, ah->txchainmask); | 762 | ar9003_hw_set_chain_masks(ah, ah->rxchainmask, ah->txchainmask); |
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index b6d12e52d30e..40b6e8415946 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c | |||
@@ -386,6 +386,12 @@ static void ath9k_hw_init_config(struct ath_hw *ah) | |||
386 | ah->config.rx_intr_mitigation = true; | 386 | ah->config.rx_intr_mitigation = true; |
387 | 387 | ||
388 | /* | 388 | /* |
389 | * Tx IQ Calibration (ah->config.tx_iq_calibration) is only | ||
390 | * used by AR9003, but it is showing reliability issues. | ||
391 | * It will take a while to fix so this is currently disabled. | ||
392 | */ | ||
393 | |||
394 | /* | ||
389 | * We need this for PCI devices only (Cardbus, PCI, miniPCI) | 395 | * We need this for PCI devices only (Cardbus, PCI, miniPCI) |
390 | * _and_ if on non-uniprocessor systems (Multiprocessor/HT). | 396 | * _and_ if on non-uniprocessor systems (Multiprocessor/HT). |
391 | * This means we use it for all AR5416 devices, and the few | 397 | * This means we use it for all AR5416 devices, and the few |
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index a78e09bab431..6c84d318e31b 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h | |||
@@ -261,6 +261,7 @@ struct ath9k_ops_config { | |||
261 | #define AR_BASE_FREQ_5GHZ 4900 | 261 | #define AR_BASE_FREQ_5GHZ 4900 |
262 | #define AR_SPUR_FEEQ_BOUND_HT40 19 | 262 | #define AR_SPUR_FEEQ_BOUND_HT40 19 |
263 | #define AR_SPUR_FEEQ_BOUND_HT20 10 | 263 | #define AR_SPUR_FEEQ_BOUND_HT20 10 |
264 | bool tx_iq_calibration; /* Only available for >= AR9003 */ | ||
264 | int spurmode; | 265 | int spurmode; |
265 | u16 spurchans[AR_EEPROM_MODAL_SPURS][2]; | 266 | u16 spurchans[AR_EEPROM_MODAL_SPURS][2]; |
266 | u8 max_txtrig_level; | 267 | u8 max_txtrig_level; |