Skip to contentSkip to conversation

ath9k_hw: add low power tx gain table for AR953x

PATCH Applied Felix Fietkau 2 participants 2 messages Jan 18, 2016 – Jan 28, 2016 Qualcomm Atheros ATH9K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath9k_hw: add low power tx gain table for AR953x

Used in some newer TP-Link AR9533 devices.

---
 drivers/net/wireless/ath/ath9k/ar9003_hw.c       |  3 ++
 drivers/net/wireless/ath/ath9k/ar953x_initvals.h | 65 ++++++++++++++++++++++++
 2 files changed, 68 insertions(+)
drivers/net/wireless/ath/ath9k/ar9003_hw.c +3 -0
index 8b238c1..2fe12b0 100644
@@ -698,6 +698,9 @@ static void ar9003_tx_gain_table_mode2(struct ath_hw *ah)
 	else if (AR_SREV_9340(ah))
 		INIT_INI_ARRAY(&ah->iniModesTxGain,
 			ar9340Modes_low_ob_db_tx_gain_table_1p0);
+	else if (AR_SREV_9531_11(ah))
+		INIT_INI_ARRAY(&ah->iniModesTxGain,
+			       qca953x_1p1_modes_no_xpa_low_power_tx_gain_table);
 	else if (AR_SREV_9485_11_OR_LATER(ah))
 		INIT_INI_ARRAY(&ah->iniModesTxGain,
 			ar9485Modes_low_ob_db_tx_gain_1_1);
drivers/net/wireless/ath/ath9k/ar953x_initvals.h +65 -0

71 lines not on this page · raw message

Signature · 1 line
2.2.2