aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-12-03 18:35:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-12-03 18:35:26 +0000
commit9e6c05a20de983a8f983f526ed716f1e5c6e16ab (patch)
treec4435a3782bbc27fc9366428a367e1e1e3dbaa0b /package/mac80211
parentf2adc6e3312db460ec6675f0dd37cc1686faa7d2 (diff)
downloadupstream-9e6c05a20de983a8f983f526ed716f1e5c6e16ab.tar.gz
upstream-9e6c05a20de983a8f983f526ed716f1e5c6e16ab.tar.bz2
upstream-9e6c05a20de983a8f983f526ed716f1e5c6e16ab.zip
ath9k: disable interrupt mitigation - it hurts performance on embedded systems
SVN-Revision: 18626
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/560-disable_interrupt_mitigation.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/560-disable_interrupt_mitigation.patch b/package/mac80211/patches/560-disable_interrupt_mitigation.patch
new file mode 100644
index 0000000000..916ffcbba9
--- /dev/null
+++ b/package/mac80211/patches/560-disable_interrupt_mitigation.patch
@@ -0,0 +1,11 @@
+--- a/drivers/net/wireless/ath/ath9k/hw.c
++++ b/drivers/net/wireless/ath/ath9k/hw.c
+@@ -395,7 +395,7 @@ static void ath9k_hw_init_config(struct
+ ah->config.spurchans[i][1] = AR_NO_SPUR;
+ }
+
+- ah->config.intr_mitigation = true;
++ ah->config.intr_mitigation = false;
+
+ /*
+ * We need this for PCI devices only (Cardbus, PCI, miniPCI)