Following VHT Capabilities are mandatory for HE 6 GHz band capabilities and corresponding configs should be validated for 6 GHz band. * VHT_CAP_MAX_MPDU_LENGTH_MASK * VHT_CAP_MAX_A_MPDU_LENGTH_EXPONENT_MAX * VHT_CAP_RX_ANTENNA_PATTERN * VHT_CAP_TX_ANTENNA_PATTERN Signed-off-by: Rajkumar Manoharan <rmanohar@xxxxxxxxxxxxxx> --- src/ap/hw_features.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/ap/hw_features.c b/src/ap/hw_features.c index f6e69030d767..bd7e1b213ef9 100644 --- a/src/ap/hw_features.c +++ b/src/ap/hw_features.c @@ -671,8 +671,17 @@ int hostapd_check_ht_capab(struct hostapd_iface *iface) { int ret; - if (is_6ghz_freq(iface->freq)) + if (is_6ghz_freq(iface->freq)) { + /* + * VHT capabilities needed for HE 6 GHz Band Capabilities + * needs to be validated against config. + */ +#ifdef CONFIG_IEEE80211AC + if (!ieee80211ac_supported_vht_capab(iface)) + return -1; +#endif return 0; + } if (!iface->conf->ieee80211n) return 0; -- 2.7.4 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap