aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnkita Bajaj <bankita@codeaurora.org>2019-11-27 06:55:27 (GMT)
committerJouni Malinen <j@w1.fi>2019-12-05 15:12:27 (GMT)
commitee0030e814088adee3b72a2dbf7bc30014eff06c (patch)
tree6856b842f184a6dadae02b602a8e2077d01c8f2d
parent4a667b01e6f537cc8976996ac774040d28d7b908 (diff)
downloadhostap-ee0030e814088adee3b72a2dbf7bc30014eff06c.zip
hostap-ee0030e814088adee3b72a2dbf7bc30014eff06c.tar.gz
hostap-ee0030e814088adee3b72a2dbf7bc30014eff06c.tar.bz2
6 GHz: Do not check for HT capability on 6 GHz channels
HT capability check is not required when starting AP on 6 GHz band as only HE operation mode is allowed in the 6 GHz band. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
-rw-r--r--src/ap/hw_features.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ap/hw_features.c b/src/ap/hw_features.c
index 2fefaf8..8b1ed70 100644
--- a/src/ap/hw_features.c
+++ b/src/ap/hw_features.c
@@ -670,6 +670,9 @@ int hostapd_check_ht_capab(struct hostapd_iface *iface)
{
#ifdef CONFIG_IEEE80211N
int ret;
+
+ if (is_6ghz_freq(iface->freq))
+ return 0;
if (!iface->conf->ieee80211n)
return 0;