ath9k_hw: Remove AR9485 1.0 macro
PATCH 1/2 ath9k_hw: Remove AR9485 1.0 macro
From: Sujith Manoharan <[email protected]>
Signed-off-by Sujith Manoharan <[email protected]>
--- drivers/net/wireless/ath/ath9k/reg.h | 3 --- 1 file changed, 3 deletions(-)
drivers/net/wireless/ath/ath9k/reg.h +0 -3
@@ -884,9 +884,6 @@#define AR_SREV_9485 (_ah) \ (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9485)) -#define AR_SREV_9485_10 (_ah) \ - (AR_SREV_9485(_ah) && \ - ((_ah)->hw_version.macRev == AR_SREV_REVISION_9485_10))#define AR_SREV_9485_11 (_ah) \ (AR_SREV_9485(_ah) && \ ((_ah)->hw_version.macRev == AR_SREV_REVISION_9485_11))
Signature · 1 line
1.8.0.2
PATCH 2/2 ath9k_hw: Fix RX gain initvals for AR9485
From: Sujith Manoharan <[email protected]>
Populate iniModesRxGain with the correct initvals
array for AR9485 v1.1
Signed-off-by Sujith Manoharan <[email protected]>
--- drivers/net/wireless/ath/ath9k/ar9003_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath9k/ar9003_hw.c +1 -1
@@ -544,7 +544,7 @@ static void ar9003_rx_gain_table_mode0(struct ath_hw *ah) ar9340Common_rx_gain_table_1p0); else if (AR_SREV_9485_11(ah)) INIT_INI_ARRAY(&ah->iniModesRxGain, - ar9485Common_wo_xlna_rx_gain_1_1); + ar9485_common_rx_gain_1_1); else if (AR_SREV_9550(ah)) {INIT_INI_ARRAY (&ah->iniModesRxGain, ar955x_1p0_common_rx_gain_table);
Signature · 1 line
1.8.0.2