FILS: Make HE a requirement for FILS discovery
FILS discovery frame generation currently assumes HE support for calculating the number of spatial streams. Add a check to reject the configuration if the feature is enabled without enabling HE. Signed-off-by: Aloka Dixit <quic_alokad@quicinc.com>
This commit is contained in:
parent
4e86692ff1
commit
ecae45ff66
2 changed files with 9 additions and 0 deletions
|
@ -2120,6 +2120,8 @@ own_ip_addr=127.0.0.1
|
|||
# If fils_discovery_max_interval is non-zero, the AP enables FILS Discovery
|
||||
# frame transmission. These values use TUs as the unit and have allowed range
|
||||
# of 0-10000. fils_discovery_min_interval defaults to 20.
|
||||
# This feature is currently supported only when ieee80211ax is enabled for
|
||||
# the radio and disable_11ax is not set for the BSS.
|
||||
#fils_discovery_min_interval=20
|
||||
#fils_discovery_max_interval=0
|
||||
|
||||
|
|
|
@ -1444,6 +1444,13 @@ static int hostapd_config_check_bss(struct hostapd_bss_config *bss,
|
|||
#endif /* CONFIG_SAE_PK */
|
||||
|
||||
#ifdef CONFIG_FILS
|
||||
if (full_config && bss->fils_discovery_max_int &&
|
||||
(!conf->ieee80211ax || bss->disable_11ax)) {
|
||||
wpa_printf(MSG_ERROR,
|
||||
"Currently IEEE 802.11ax support is mandatory to enable FILS discovery transmission.");
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (full_config && bss->fils_discovery_max_int &&
|
||||
bss->unsol_bcast_probe_resp_interval) {
|
||||
wpa_printf(MSG_ERROR,
|
||||
|
|
Loading…
Reference in a new issue