diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-01-15 01:16:48 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-01-15 01:16:48 +0000 |
commit | 0c66d3eef2355c44e7f7e0f2a8dfa2b2b83776c8 (patch) | |
tree | 3225b7592c22b0c825376db0f81b40735ce19fed /package/mac80211/patches/540-short_slot_handling.patch | |
parent | dce797bb74d8fa1cdcfb4fa0bda0fa648e6b4334 (diff) | |
download | mtk-20170518-0c66d3eef2355c44e7f7e0f2a8dfa2b2b83776c8.zip mtk-20170518-0c66d3eef2355c44e7f7e0f2a8dfa2b2b83776c8.tar.gz mtk-20170518-0c66d3eef2355c44e7f7e0f2a8dfa2b2b83776c8.tar.bz2 |
ath9k: fix short slot vs long slot handling, implement support for setting the coverage class
SVN-Revision: 19141
Diffstat (limited to 'package/mac80211/patches/540-short_slot_handling.patch')
-rw-r--r-- | package/mac80211/patches/540-short_slot_handling.patch | 11 |
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 0000000..ed6831f --- /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; |