aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorSunil Dutt <usdutt@codeaurora.org>2018-09-06 17:27:29 (GMT)
committerJouni Malinen <j@w1.fi>2018-10-12 16:59:26 (GMT)
commit91073ccaaa9b3d7e3af750ea9a0d18f097df0d4c (patch)
treedb8c1aa348d8a05393332174618e2e06baea5fe7 /wpa_supplicant/config_ssid.h
parente8581183f98d5fab6ba15b405564152d7161de7d (diff)
downloadhostap-91073ccaaa9b3d7e3af750ea9a0d18f097df0d4c.zip
hostap-91073ccaaa9b3d7e3af750ea9a0d18f097df0d4c.tar.gz
hostap-91073ccaaa9b3d7e3af750ea9a0d18f097df0d4c.tar.bz2
OWE: Attempt more scans for OWE transition SSID if expected BSS not seen
This commit introduces a threshold for OWE transition BSS selection, which signifies the maximum number of selection attempts (scans) done for finding OWE BSS. This aims to do more scan attempts for OWE BSS and eventually select the open BSS if the selection/scan attempts for OWE BSS exceed the configured threshold. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'wpa_supplicant/config_ssid.h')
-rw-r--r--wpa_supplicant/config_ssid.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index 3000c43..d2a52d7 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -927,6 +927,16 @@ struct wpa_ssid {
* 1 = disable transition mode (allow connection only with OWE)
*/
int owe_only;
+
+ /**
+ * owe_transition_bss_select_count - OWE transition BSS select count
+ *
+ * This is an internally used variable (i.e., not used in external
+ * configuration) to track the number of selection attempts done for
+ * OWE BSS in transition mode. This allows fallback to an open BSS if
+ * the selection attempts for OWE BSS exceed the configured threshold.
+ */
+ int owe_transition_bss_select_count;
};
#endif /* CONFIG_SSID_H */