Do not allow HT and VHT overrides in 6 GHz band and disable both. Signed-off-by: Rajkumar Manoharan <rmanohar@xxxxxxxxxxxxxx> --- wpa_supplicant/wpa_supplicant.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c index d3e8a05806a8..c92b68ede841 100644 --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c @@ -5195,6 +5195,11 @@ void wpa_supplicant_apply_ht_overrides( if (!ssid) return; + if (is_6ghz_freq(params->freq.freq)) { + params->disable_ht = 1; + return; + } + params->disable_ht = ssid->disable_ht; if (!params->htcaps || !params->htcaps_mask) return; @@ -5233,6 +5238,11 @@ void wpa_supplicant_apply_vht_overrides( if (!ssid) return; + if (is_6ghz_freq(params->freq.freq)) { + params->disable_vht = 1; + return; + } + params->disable_vht = ssid->disable_vht; vhtcaps = (void *) params->vhtcaps; -- 2.7.4 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap