ath9k: fix tx gain tables for ar934x
authorFelix Fietkau <nbd@openwrt.org>
Sat, 7 Jul 2012 17:34:33 +0000 (17:34 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 7 Jul 2012 17:34:33 +0000 (17:34 +0000)
SVN-Revision: 32646

package/mac80211/patches/568-ath9k_fix_ar9340_tx_gain.patch [new file with mode: 0644]

diff --git a/package/mac80211/patches/568-ath9k_fix_ar9340_tx_gain.patch b/package/mac80211/patches/568-ath9k_fix_ar9340_tx_gain.patch
new file mode 100644 (file)
index 0000000..66eaf42
--- /dev/null
@@ -0,0 +1,20 @@
+--- a/drivers/net/wireless/ath/ath9k/ar9003_hw.c
++++ b/drivers/net/wireless/ath/ath9k/ar9003_hw.c
+@@ -605,7 +605,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))
+@@ -639,7 +639,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))