RNR: Do not allow FILS Discovery and unsolicited Probe Response simultaneously
Reduced neighbor report has a field to indicate whether unsolicited Probe Response transmission is active. Add a check to return failure if both FILS discovery and unsolicited Probe Response are enabled at the same time to ensure that RNR includes valid data. Signed-off-by: Aloka Dixit <alokad@codeaurora.org>
This commit is contained in:
parent
15f099ec70
commit
b16b88acdb
1 changed files with 9 additions and 0 deletions
|
@ -1423,6 +1423,15 @@ static int hostapd_config_check_bss(struct hostapd_bss_config *bss,
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_SAE_PK */
|
#endif /* CONFIG_SAE_PK */
|
||||||
|
|
||||||
|
#ifdef CONFIG_FILS
|
||||||
|
if (full_config && bss->fils_discovery_min_int &&
|
||||||
|
bss->unsol_bcast_probe_resp_interval) {
|
||||||
|
wpa_printf(MSG_ERROR,
|
||||||
|
"Cannot enable both FILS discovery and unsolicited broadcast Probe Response at the same time");
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
#endif /* CONFIG_FILS */
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue