Skip to contentSkip to conversation

mac80211-hwsim: support SGI-20

PATCH Applied [email protected] 2 participants 2 messages Oct 24, 2014 – Oct 29, 2014 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mac80211-hwsim: support SGI-20

From: Ben Greear <[email protected]>

This lets hostapd start if you have SGI-20 configured as one of your HT capabilities.

---
 drivers/net/wireless/mac80211_hwsim.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/wireless/mac80211_hwsim.c +1 -0
index 19ecf29..8ad82b0 100644
@@ -2168,6 +2168,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;
Signature · 1 line
1.7.11.7