aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wps_supplicant.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-12-20 20:55:02 (GMT)
committerJouni Malinen <j@w1.fi>2008-12-20 20:55:02 (GMT)
commit24c23d1b3c3c4e04a7039cd721b3cd12f5af98e9 (patch)
treefb584091301bf6d014130626cc56f6e2c4cf3f66 /wpa_supplicant/wps_supplicant.h
parent3c1e276507a3c0c8c489afb3ee1fe9bd8f7c0e31 (diff)
downloadhostap-24c23d1b3c3c4e04a7039cd721b3cd12f5af98e9.zip
hostap-24c23d1b3c3c4e04a7039cd721b3cd12f5af98e9.tar.gz
hostap-24c23d1b3c3c4e04a7039cd721b3cd12f5af98e9.tar.bz2
WPS: Added support for wildcard SSID matching in ap_scan=2 mode
Change association behavior to match with ap_scan=1 when WPS is used in ap_scan=2 mode with wildcard SSID matching. In addition, allow hardcoded BSSID to be used to select AP even if selected registrar attribute is not present.
Diffstat (limited to 'wpa_supplicant/wps_supplicant.h')
-rw-r--r--wpa_supplicant/wps_supplicant.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/wpa_supplicant/wps_supplicant.h b/wpa_supplicant/wps_supplicant.h
index f781dea..248f25f 100644
--- a/wpa_supplicant/wps_supplicant.h
+++ b/wpa_supplicant/wps_supplicant.h
@@ -32,6 +32,7 @@ int wpas_wps_scan_pbc_overlap(struct wpa_supplicant *wpa_s,
struct wpa_scan_res *selected,
struct wpa_ssid *ssid);
void wpas_wps_notify_scan_results(struct wpa_supplicant *wpa_s);
+int wpas_wps_searching(struct wpa_supplicant *wpa_s);
#else /* CONFIG_WPS */
@@ -77,6 +78,11 @@ static inline void wpas_wps_notify_scan_results(struct wpa_supplicant *wpa_s)
{
}
+static inline int wpas_wps_searching(struct wpa_supplicant *wpa_s)
+{
+ return 0;
+}
+
#endif /* CONFIG_WPS */
#endif /* WPS_SUPPLICANT_H */