aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/520-ath9k_slottime_init.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-12-11 21:29:48 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-12-11 21:29:48 +0000
commit15aa1ee69287c12a559a92832a020578ae06b4ca (patch)
tree6e38ba9f41449de4c393958621fa8e6ddb8dbd2c /package/mac80211/patches/520-ath9k_slottime_init.patch
parent1c7a54d21e7cfa89883afd60c788e094b8705e64 (diff)
downloadupstream-15aa1ee69287c12a559a92832a020578ae06b4ca.tar.gz
upstream-15aa1ee69287c12a559a92832a020578ae06b4ca.tar.bz2
upstream-15aa1ee69287c12a559a92832a020578ae06b4ca.zip
ath9k: do not adjust the slot time setting for long distance, it seems to cause long latencies and low throughput
SVN-Revision: 24498
Diffstat (limited to 'package/mac80211/patches/520-ath9k_slottime_init.patch')
-rw-r--r--package/mac80211/patches/520-ath9k_slottime_init.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/520-ath9k_slottime_init.patch b/package/mac80211/patches/520-ath9k_slottime_init.patch
new file mode 100644
index 0000000000..1eb83583be
--- /dev/null
+++ b/package/mac80211/patches/520-ath9k_slottime_init.patch
@@ -0,0 +1,11 @@
+--- a/drivers/net/wireless/ath/ath9k/hw.c
++++ b/drivers/net/wireless/ath/ath9k/hw.c
+@@ -417,7 +417,7 @@ static void ath9k_hw_init_defaults(struc
+ AR_STA_ID1_MCAST_KSRCH;
+ ah->beacon_interval = 100;
+ ah->enable_32kHz_clock = DONT_USE_32KHZ;
+- ah->slottime = (u32) -1;
++ ah->slottime = 9;
+ ah->globaltxtimeout = (u32) -1;
+ ah->power_mode = ATH9K_PM_UNDEFINED;
+ }