From: John Crispin Date: Mon, 20 May 2019 07:55:09 +0000 (+0200) Subject: HE: Disable HE on channel 14 X-Git-Tag: hostap_2_9~237 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b18d2b24e1bedbbe137f8cbb6b88e3d6e9f82d4;p=thirdparty%2Fhostap.git HE: Disable HE on channel 14 Signed-off-by: Shashidhar Lakkavalli Signed-off-by: John Crispin --- diff --git a/src/ap/hw_features.c b/src/ap/hw_features.c index dd092bbb1..89c3c5f72 100644 --- a/src/ap/hw_features.c +++ b/src/ap/hw_features.c @@ -863,12 +863,14 @@ int hostapd_select_hw_mode(struct hostapd_iface *iface) return -1; if ((iface->conf->hw_mode == HOSTAPD_MODE_IEEE80211G || - iface->conf->ieee80211n || iface->conf->ieee80211ac) && + iface->conf->ieee80211n || iface->conf->ieee80211ac || + iface->conf->ieee80211ax) && iface->conf->channel == 14) { - wpa_printf(MSG_INFO, "Disable OFDM/HT/VHT on channel 14"); + wpa_printf(MSG_INFO, "Disable OFDM/HT/VHT/HE on channel 14"); iface->conf->hw_mode = HOSTAPD_MODE_IEEE80211B; iface->conf->ieee80211n = 0; iface->conf->ieee80211ac = 0; + iface->conf->ieee80211ax = 0; } iface->current_mode = NULL;