ath9k: fix tx gain tables for ar934x
[openwrt/svn-archive/archive.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 @@ -605,7 +605,7 @@ static void ar9003_tx_gain_table_mode2(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_low_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 @@ -639,7 +639,7 @@ static void ar9003_tx_gain_table_mode3(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_high_power_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))