aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wps_supplicant.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-05-27 21:01:48 (GMT)
committerJouni Malinen <j@w1.fi>2010-05-27 21:01:48 (GMT)
commit7d6640a62cbb63a95bce60f4bae493dc40ca21d1 (patch)
tree1387427892f6ab11999d1b0be10a24547b07d623 /wpa_supplicant/wps_supplicant.h
parent3085b8052ebe96957187e6103a0c0032391c7666 (diff)
downloadhostap-7d6640a62cbb63a95bce60f4bae493dc40ca21d1.zip
hostap-7d6640a62cbb63a95bce60f4bae493dc40ca21d1.tar.gz
hostap-7d6640a62cbb63a95bce60f4bae493dc40ca21d1.tar.bz2
WPS ER: Add command for configuring an AP
wps_er_config can now be used to configure an AP. It is similar to wps_er_learn, but instead of only learning the current AP settings, it continues to send M8 with the new settings for the AP.
Diffstat (limited to 'wpa_supplicant/wps_supplicant.h')
-rw-r--r--wpa_supplicant/wps_supplicant.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/wps_supplicant.h b/wpa_supplicant/wps_supplicant.h
index ab45c0f..701bcb5 100644
--- a/wpa_supplicant/wps_supplicant.h
+++ b/wpa_supplicant/wps_supplicant.h
@@ -59,6 +59,8 @@ int wpas_wps_er_add_pin(struct wpa_supplicant *wpa_s, const char *uuid,
int wpas_wps_er_pbc(struct wpa_supplicant *wpa_s, const char *uuid);
int wpas_wps_er_learn(struct wpa_supplicant *wpa_s, const char *uuid,
const char *pin);
+int wpas_wps_er_config(struct wpa_supplicant *wpa_s, const char *uuid,
+ const char *pin, struct wps_new_ap_settings *settings);
int wpas_wps_terminate_pending(struct wpa_supplicant *wpa_s);
#else /* CONFIG_WPS */