aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wps_supplicant.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-12-15 18:09:57 (GMT)
committerJouni Malinen <j@w1.fi>2008-12-15 18:09:57 (GMT)
commita524f05eb3cfefea94fe27f039f78a278a4ff5af (patch)
treedb41d94e0d7a45cc6aa70fd9d67965da12c54992 /wpa_supplicant/wps_supplicant.h
parent484957ae6c88cd33946e8677b1306530657b32b6 (diff)
downloadhostap-a524f05eb3cfefea94fe27f039f78a278a4ff5af.zip
hostap-a524f05eb3cfefea94fe27f039f78a278a4ff5af.tar.gz
hostap-a524f05eb3cfefea94fe27f039f78a278a4ff5af.tar.bz2
WPS: Added control interface notification for available WPS APs
Whenever new scan results include WPS AP(s) and the client is not associated, send a notification message to control interface monitors. This makes it easier for GUIs to notify the user about possible WPS availability without having to go through the scan results.
Diffstat (limited to 'wpa_supplicant/wps_supplicant.h')
-rw-r--r--wpa_supplicant/wps_supplicant.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/wpa_supplicant/wps_supplicant.h b/wpa_supplicant/wps_supplicant.h
index bdde6ab..f781dea 100644
--- a/wpa_supplicant/wps_supplicant.h
+++ b/wpa_supplicant/wps_supplicant.h
@@ -31,6 +31,7 @@ int wpas_wps_ssid_wildcard_ok(struct wpa_ssid *ssid, struct wpa_scan_res *bss);
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);
#else /* CONFIG_WPS */
@@ -72,6 +73,10 @@ static inline int wpas_wps_scan_pbc_overlap(struct wpa_supplicant *wpa_s,
return 0;
}
+static inline void wpas_wps_notify_scan_results(struct wpa_supplicant *wpa_s)
+{
+}
+
#endif /* CONFIG_WPS */
#endif /* WPS_SUPPLICANT_H */