aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wps_supplicant.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-05-27 12:23:55 (GMT)
committerJouni Malinen <j@w1.fi>2010-05-27 12:23:55 (GMT)
commit08486685130d73003c9cfbafad60f8056692520c (patch)
treedac4ac9628fecc8b45adf7f62006c283d8433acd /wpa_supplicant/wps_supplicant.h
parent826fe5fec39475cf12969ebe9e1bfe2aceb97b5e (diff)
downloadhostap-08486685130d73003c9cfbafad60f8056692520c.zip
hostap-08486685130d73003c9cfbafad60f8056692520c.tar.gz
hostap-08486685130d73003c9cfbafad60f8056692520c.tar.bz2
WPS ER: Allow AP filtering based on IP address
wps_er_start command now takes an optional parameter that can be used to configure a filter to only allow UPnP SSDP messages from the specified IP address. In practice, this limits the WPS ER operations to a single AP and filters out all other devices in the network.
Diffstat (limited to 'wpa_supplicant/wps_supplicant.h')
-rw-r--r--wpa_supplicant/wps_supplicant.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/wps_supplicant.h b/wpa_supplicant/wps_supplicant.h
index ba2fb16..ab45c0f 100644
--- a/wpa_supplicant/wps_supplicant.h
+++ b/wpa_supplicant/wps_supplicant.h
@@ -52,7 +52,7 @@ void wpas_wps_notify_scan_results(struct wpa_supplicant *wpa_s);
int wpas_wps_searching(struct wpa_supplicant *wpa_s);
int wpas_wps_scan_result_text(const u8 *ies, size_t ies_len, char *pos,
char *end);
-int wpas_wps_er_start(struct wpa_supplicant *wpa_s);
+int wpas_wps_er_start(struct wpa_supplicant *wpa_s, const char *filter);
int wpas_wps_er_stop(struct wpa_supplicant *wpa_s);
int wpas_wps_er_add_pin(struct wpa_supplicant *wpa_s, const char *uuid,
const char *pin);