aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
commite54f80b979f00b1acfb58e2c6d07f87c1ec1bbae (patch)
tree1a44400b98a56caeb0c1b0ceb6af821cdd0cd899 /package
parent3d69d98308bf0ab28c5772ee1e8b6999bdad8eba (diff)
downloadupstream-e54f80b979f00b1acfb58e2c6d07f87c1ec1bbae.tar.gz
upstream-e54f80b979f00b1acfb58e2c6d07f87c1ec1bbae.tar.bz2
upstream-e54f80b979f00b1acfb58e2c6d07f87c1ec1bbae.zip
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')
-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)