summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/540-short_slot_handling.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-01-15 01:16:48 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-01-15 01:16:48 +0000
commit128fd665e55e2f136db6bfdaaa68ae7481cb877e (patch)
tree293b0a07abd3136c142447ed1b677a9facd6545c /package/mac80211/patches/540-short_slot_handling.patch
parent67599df0cbc74955ee3ad8443b800b0514934350 (diff)
ath9k: fix short slot vs long slot handling, implement support for setting the coverage class
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19141 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/540-short_slot_handling.patch')
-rw-r--r--package/mac80211/patches/540-short_slot_handling.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/540-short_slot_handling.patch b/package/mac80211/patches/540-short_slot_handling.patch
new file mode 100644
index 000000000..ed6831fbe
--- /dev/null
+++ b/package/mac80211/patches/540-short_slot_handling.patch
@@ -0,0 +1,11 @@
+--- a/net/mac80211/mlme.c
++++ b/net/mac80211/mlme.c
+@@ -670,6 +670,8 @@ static u32 ieee80211_handle_bss_capabili
+ }
+
+ use_short_slot = !!(capab & WLAN_CAPABILITY_SHORT_SLOT_TIME);
++ if (sdata->local->hw.conf.channel->band == IEEE80211_BAND_5GHZ)
++ use_short_slot = true;
+
+ if (use_protection != bss_conf->use_cts_prot) {
+ bss_conf->use_cts_prot = use_protection;