aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/main.c
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2012-12-12 19:56:20 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-01-03 07:01:14 -0500
commitbc0784d951470ca6597239f1bae6e59caf49fb10 (patch)
treec87ecf36682ffff4860279b1f2ebf197ec1bf1e3 /net/mac80211/main.c
parent694c61863286e963e90c75e701a0f79039da865d (diff)
mac80211: Allow disabling SGI-20
This allows user-space (wpa_supplicant) to disable short guard interval (SGI) for 20Mhz. The SGI-40 disable option is already handled. Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r--net/mac80211/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index 1b087fff93e7..0c0d4cabd76c 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -537,6 +537,7 @@ static const struct ieee80211_ht_cap mac80211_ht_capa_mod_mask = {
537 537
538 .cap_info = cpu_to_le16(IEEE80211_HT_CAP_SUP_WIDTH_20_40 | 538 .cap_info = cpu_to_le16(IEEE80211_HT_CAP_SUP_WIDTH_20_40 |
539 IEEE80211_HT_CAP_MAX_AMSDU | 539 IEEE80211_HT_CAP_MAX_AMSDU |
540 IEEE80211_HT_CAP_SGI_20 |
540 IEEE80211_HT_CAP_SGI_40), 541 IEEE80211_HT_CAP_SGI_40),
541 .mcs = { 542 .mcs = {
542 .rx_mask = { 0xff, 0xff, 0xff, 0xff, 0xff, 543 .rx_mask = { 0xff, 0xff, 0xff, 0xff, 0xff,