aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/568-ath9k_remove_enhancedpm.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-23 20:16:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-23 20:16:58 +0000
commit4cbdad0e9d56858de05423d36da2495ea41fdf48 (patch)
tree3c38843928033f69ab8088918870f0f6df062151 /package/mac80211/patches/568-ath9k_remove_enhancedpm.patch
parent80239ff7b0b6774a4192c786b3a85d03a4a1d0b1 (diff)
downloadupstream-4cbdad0e9d56858de05423d36da2495ea41fdf48.tar.gz
upstream-4cbdad0e9d56858de05423d36da2495ea41fdf48.tar.bz2
upstream-4cbdad0e9d56858de05423d36da2495ea41fdf48.zip
ath9k: add a few de-bloating and optimization patches
SVN-Revision: 26281
Diffstat (limited to 'package/mac80211/patches/568-ath9k_remove_enhancedpm.patch')
-rw-r--r--package/mac80211/patches/568-ath9k_remove_enhancedpm.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/mac80211/patches/568-ath9k_remove_enhancedpm.patch b/package/mac80211/patches/568-ath9k_remove_enhancedpm.patch
new file mode 100644
index 0000000000..97921c22fe
--- /dev/null
+++ b/package/mac80211/patches/568-ath9k_remove_enhancedpm.patch
@@ -0,0 +1,21 @@
+--- a/drivers/net/wireless/ath/ath9k/hw.c
++++ b/drivers/net/wireless/ath/ath9k/hw.c
+@@ -1912,8 +1912,6 @@ int ath9k_hw_fill_cap_info(struct ath_hw
+ pCap->rts_aggr_limit = (8 * 1024);
+ }
+
+- pCap->hw_caps |= ATH9K_HW_CAP_ENHANCEDPM;
+-
+ #if defined(CONFIG_RFKILL) || defined(CONFIG_RFKILL_MODULE)
+ ah->rfsilent = ah->eep_ops->get_eeprom(ah, EEP_RF_SILENT);
+ if (ah->rfsilent & EEP_RFSILENT_ENABLED) {
+--- a/drivers/net/wireless/ath/ath9k/hw.h
++++ b/drivers/net/wireless/ath/ath9k/hw.h
+@@ -174,7 +174,6 @@ enum ath9k_hw_caps {
+ ATH9K_HW_CAP_HT = BIT(0),
+ ATH9K_HW_CAP_RFSILENT = BIT(1),
+ ATH9K_HW_CAP_CST = BIT(2),
+- ATH9K_HW_CAP_ENHANCEDPM = BIT(3),
+ ATH9K_HW_CAP_AUTOSLEEP = BIT(4),
+ ATH9K_HW_CAP_4KB_SPLITTRANS = BIT(5),
+ ATH9K_HW_CAP_EDMA = BIT(6),