summaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/561-ath9k_remove_gain_tables.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-05-25 22:39:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-05-25 22:39:58 +0000
commit48855aab6c02fbe9c2a99d65ff4fe0ca1a1e7e51 (patch)
tree103d73b86e1ad8300289310048ff1963809f7d6d /package/kernel/mac80211/patches/561-ath9k_remove_gain_tables.patch
parent56702140b6ab8af28487f7b55dae611a8e15dcb1 (diff)
downloadmaster-31e0f0ae-48855aab6c02fbe9c2a99d65ff4fe0ca1a1e7e51.tar.gz
master-31e0f0ae-48855aab6c02fbe9c2a99d65ff4fe0ca1a1e7e51.tar.bz2
master-31e0f0ae-48855aab6c02fbe9c2a99d65ff4fe0ca1a1e7e51.zip
ath9k: make support for PC-OEM cards optional, reduces module size
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40859
Diffstat (limited to 'package/kernel/mac80211/patches/561-ath9k_remove_gain_tables.patch')
-rw-r--r--package/kernel/mac80211/patches/561-ath9k_remove_gain_tables.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/561-ath9k_remove_gain_tables.patch b/package/kernel/mac80211/patches/561-ath9k_remove_gain_tables.patch
new file mode 100644
index 0000000000..852eae32b7
--- /dev/null
+++ b/package/kernel/mac80211/patches/561-ath9k_remove_gain_tables.patch
@@ -0,0 +1,12 @@
+--- a/drivers/net/wireless/ath/ath9k/ar9003_hw.c
++++ b/drivers/net/wireless/ath/ath9k/ar9003_hw.c
+@@ -663,9 +663,6 @@ static void ar9003_tx_gain_table_mode5(s
+ if (AR_SREV_9485_11_OR_LATER(ah))
+ INIT_INI_ARRAY(&ah->iniModesTxGain,
+ ar9485Modes_green_ob_db_tx_gain_1_1);
+- else if (AR_SREV_9340(ah))
+- INIT_INI_ARRAY(&ah->iniModesTxGain,
+- ar9340Modes_ub124_tx_gain_table_1p0);
+ else if (AR_SREV_9580(ah))
+ INIT_INI_ARRAY(&ah->iniModesTxGain,
+ ar9580_1p0_type5_tx_gain_table);