aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_file.c
diff options
context:
space:
mode:
authorKanchanapally, Vidyullatha <vkanchan@qti.qualcomm.com>2017-03-06 11:46:00 (GMT)
committerJouni Malinen <j@w1.fi>2017-03-06 22:34:14 (GMT)
commitaf8bc24da37c340e17417317d7d97f1ea2ef0dc3 (patch)
tree9a5598d82f2e69eef3d3eff4659ba734c92d8890 /wpa_supplicant/config_file.c
parent3ab484928a892d806a2c1349606eed47a8eccd40 (diff)
downloadhostap-af8bc24da37c340e17417317d7d97f1ea2ef0dc3.zip
hostap-af8bc24da37c340e17417317d7d97f1ea2ef0dc3.tar.gz
hostap-af8bc24da37c340e17417317d7d97f1ea2ef0dc3.tar.bz2
MBO: Add support for transition reject reason code
Add support for rejecting a BSS transition request using MBO reject reason codes. A candidate is selected or rejected based on whether it is found acceptable by both wpa_supplicant and the driver. Also accept any candidate meeting a certain threshold if disassoc imminent is set in BTM Request frame. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config_file.c')
-rw-r--r--wpa_supplicant/config_file.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c
index 84a1ee9..160a5da 100644
--- a/wpa_supplicant/config_file.c
+++ b/wpa_supplicant/config_file.c
@@ -1394,6 +1394,10 @@ static void wpa_config_write_global(FILE *f, struct wpa_config *config)
fprintf(f, "non_pref_chan=%s\n", config->non_pref_chan);
if (config->mbo_cell_capa != DEFAULT_MBO_CELL_CAPA)
fprintf(f, "mbo_cell_capa=%u\n", config->mbo_cell_capa);
+ if (config->disassoc_imminent_rssi_threshold !=
+ DEFAULT_DISASSOC_IMMINENT_RSSI_THRESHOLD)
+ fprintf(f, "disassoc_imminent_rssi_threshold=%d\n",
+ config->disassoc_imminent_rssi_threshold);
#endif /* CONFIG_MBO */
if (config->gas_address3)