From: Vamsi Krishna Date: Fri, 13 Dec 2019 09:01:00 +0000 (+0530) Subject: Do not enable HT/VHT when operating in 6 GHz band X-Git-Tag: hostap_2_10~2147 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0bfc04b8d0f8e3b5c6638a23efcbe8aa9614c192;p=thirdparty%2Fhostap.git Do not enable HT/VHT when operating in 6 GHz band Only HE mode is allowed in the 6 GHz band hence do not enable HT/VHT even if they are configured by the user. Signed-off-by: Jouni Malinen --- diff --git a/src/common/hw_features_common.c b/src/common/hw_features_common.c index 4da58c421..27a138f9a 100644 --- a/src/common/hw_features_common.c +++ b/src/common/hw_features_common.c @@ -451,6 +451,8 @@ int hostapd_set_freq_params(struct hostapd_freq_params *data, data->bandwidth = (1 << (u8) bw) * 20; data->center_freq1 = freq1; data->center_freq2 = freq2; + data->ht_enabled = 0; + data->vht_enabled = 0; } return 0;