aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
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.h
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.h')
-rw-r--r--wpa_supplicant/config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index 2f2bb01..3f84b0e 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -41,6 +41,7 @@
#define DEFAULT_P2P_GO_CTWINDOW 0
#define DEFAULT_WPA_RSC_RELAXATION 1
#define DEFAULT_MBO_CELL_CAPA MBO_CELL_CAPA_NOT_SUPPORTED
+#define DEFAULT_DISASSOC_IMMINENT_RSSI_THRESHOLD -75
#include "config_ssid.h"
#include "wps/wps.h"
@@ -1291,6 +1292,12 @@ struct wpa_config {
* mbo_cell_capa - Cellular capabilities for MBO
*/
enum mbo_cellular_capa mbo_cell_capa;
+
+ /**
+ * disassoc_imminent_rssi_threshold - RSSI threshold of candidate AP
+ * when disassociation imminent is set.
+ */
+ int disassoc_imminent_rssi_threshold;
#endif /* CONFIG_MBO */
/**