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>
This commit is contained in:
committed by
John W. Linville
parent
8393722765
commit
b360a88483
@@ -755,6 +755,7 @@ static bool ar9003_hw_init_cal(struct ath_hw *ah,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Do Tx IQ Calibration */
|
/* Do Tx IQ Calibration */
|
||||||
|
if (ah->config.tx_iq_calibration)
|
||||||
ar9003_hw_tx_iq_cal(ah);
|
ar9003_hw_tx_iq_cal(ah);
|
||||||
|
|
||||||
/* Revert chainmasks to their original values before NF cal */
|
/* Revert chainmasks to their original values before NF cal */
|
||||||
|
@@ -385,6 +385,12 @@ static void ath9k_hw_init_config(struct ath_hw *ah)
|
|||||||
|
|
||||||
ah->config.rx_intr_mitigation = true;
|
ah->config.rx_intr_mitigation = true;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Tx IQ Calibration (ah->config.tx_iq_calibration) is only
|
||||||
|
* used by AR9003, but it is showing reliability issues.
|
||||||
|
* It will take a while to fix so this is currently disabled.
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We need this for PCI devices only (Cardbus, PCI, miniPCI)
|
* We need this for PCI devices only (Cardbus, PCI, miniPCI)
|
||||||
* _and_ if on non-uniprocessor systems (Multiprocessor/HT).
|
* _and_ if on non-uniprocessor systems (Multiprocessor/HT).
|
||||||
|
@@ -261,6 +261,7 @@ struct ath9k_ops_config {
|
|||||||
#define AR_BASE_FREQ_5GHZ 4900
|
#define AR_BASE_FREQ_5GHZ 4900
|
||||||
#define AR_SPUR_FEEQ_BOUND_HT40 19
|
#define AR_SPUR_FEEQ_BOUND_HT40 19
|
||||||
#define AR_SPUR_FEEQ_BOUND_HT20 10
|
#define AR_SPUR_FEEQ_BOUND_HT20 10
|
||||||
|
bool tx_iq_calibration; /* Only available for >= AR9003 */
|
||||||
int spurmode;
|
int spurmode;
|
||||||
u16 spurchans[AR_EEPROM_MODAL_SPURS][2];
|
u16 spurchans[AR_EEPROM_MODAL_SPURS][2];
|
||||||
u8 max_txtrig_level;
|
u8 max_txtrig_level;
|
||||||
|
Reference in New Issue
Block a user