summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/568-ath9k_fix_ar9340_tx_gain.patch
blob: edde8fa36635d8441abe01a2923f976de8fcc0ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- a/drivers/net/wireless/ath/ath9k/ar9003_hw.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_hw.c
@@ -501,7 +501,7 @@ static void ar9003_tx_gain_table_mode1(s
 			5);
 	else if (AR_SREV_9340(ah))
 		INIT_INI_ARRAY(&ah->iniModesTxGain,
-			ar9340Modes_lowest_ob_db_tx_gain_table_1p0,
+			ar9340Modes_high_ob_db_tx_gain_table_1p0,
 			ARRAY_SIZE(ar9340Modes_lowest_ob_db_tx_gain_table_1p0),
 			5);
 	else if (AR_SREV_9485_11(ah))
@@ -540,7 +540,7 @@ static void ar9003_tx_gain_table_mode2(s
 			5);
 	else if (AR_SREV_9340(ah))
 		INIT_INI_ARRAY(&ah->iniModesTxGain,
-			ar9340Modes_lowest_ob_db_tx_gain_table_1p0,
+			ar9340Modes_low_ob_db_tx_gain_table_1p0,
 			ARRAY_SIZE(ar9340Modes_lowest_ob_db_tx_gain_table_1p0),
 			5);
 	else if (AR_SREV_9485_11(ah))
@@ -574,7 +574,7 @@ static void ar9003_tx_gain_table_mode3(s
 			5);
 	else if (AR_SREV_9340(ah))
 		INIT_INI_ARRAY(&ah->iniModesTxGain,
-			ar9340Modes_lowest_ob_db_tx_gain_table_1p0,
+			ar9340Modes_high_power_tx_gain_table_1p0,
 			ARRAY_SIZE(ar9340Modes_lowest_ob_db_tx_gain_table_1p0),
 			5);
 	else if (AR_SREV_9485_11(ah))