summaryrefslogtreecommitdiffstats
path: root/package/mac80211
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-12-03 18:35:26 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-12-03 18:35:26 +0000
commitc03485355077c60113e9a647569742bb93e4e71d (patch)
tree1a44400b98a56caeb0c1b0ceb6af821cdd0cd899 /package/mac80211
parentca442b046021168a50d0d3f7cdba84ad5d57af38 (diff)
ath9k: disable interrupt mitigation - it hurts performance on embedded systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18626 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 000000000..916ffcbba
--- /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)