aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-07-07 17:34:33 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-07-07 17:34:33 +0000
commitfef3435b1d8b76d6518b507c6b06dcd4ba2af289 (patch)
tree5393c96f7d31f6f69e33d5584848f5ab9063be32 /package/mac80211
parentf8371185708497da198446499b9c4e2998d04f8a (diff)
downloadmaster-187ad058-fef3435b1d8b76d6518b507c6b06dcd4ba2af289.tar.gz
master-187ad058-fef3435b1d8b76d6518b507c6b06dcd4ba2af289.tar.bz2
master-187ad058-fef3435b1d8b76d6518b507c6b06dcd4ba2af289.zip
ath9k: fix tx gain tables for ar934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32646 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/568-ath9k_fix_ar9340_tx_gain.patch20
1 files changed, 20 insertions, 0 deletions
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
index 0000000000..66eaf427b8
--- /dev/null
+++ b/package/mac80211/patches/568-ath9k_fix_ar9340_tx_gain.patch
@@ -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))