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