diff options
author | Ben Greear <greearb@candelatech.com> | 2014-10-24 22:12:08 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-10-29 20:42:52 +0300 |
commit | e49786dbebc91658c86fb2be746968221147ffc4 (patch) | |
tree | d9e0eb1dc65ba1a63033c01eb740f02ce8739c83 /drivers/net/wireless/mac80211_hwsim.c | |
parent | fc1f48ffd5793e0a35c3b02375c2e2923e0f2bf3 (diff) | |
download | linux-e49786dbebc91658c86fb2be746968221147ffc4.tar.xz |
mac80211-hwsim: support SGI-20
This lets hostapd start if you have SGI-20 configured
as one of your HT capabilities.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index f808706d9ee3..06ca3a92fc7e 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c @@ -2178,6 +2178,7 @@ static int mac80211_hwsim_create_radio(int channels, const char *reg_alpha2, sband->ht_cap.ht_supported = true; sband->ht_cap.cap = IEEE80211_HT_CAP_SUP_WIDTH_20_40 | IEEE80211_HT_CAP_GRN_FLD | + IEEE80211_HT_CAP_SGI_20 | IEEE80211_HT_CAP_SGI_40 | IEEE80211_HT_CAP_DSSSCCK40; sband->ht_cap.ampdu_factor = 0x3; |