aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wps_supplicant.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-10-20 10:37:01 (GMT)
committerJouni Malinen <j@w1.fi>2010-10-20 10:37:01 (GMT)
commitef10f4733f2f28cfe0094ae3429485a4a30c57be (patch)
treea66e8e08db38463276d1d1250fa291957caa8149 /wpa_supplicant/wps_supplicant.h
parentcbbf4a1cc3f3341b0ffe0d3caeae4fa2560feb64 (diff)
downloadhostap-ef10f4733f2f28cfe0094ae3429485a4a30c57be.zip
hostap-ef10f4733f2f28cfe0094ae3429485a4a30c57be.tar.gz
hostap-ef10f4733f2f28cfe0094ae3429485a4a30c57be.tar.bz2
WPS ER: Add wps_er_set_config to use local configuration
This command can be used to enroll a network based on a local network configuration block instead of having to (re-)learn the current AP settings with wps_er_learn.
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 ce1776f..b38c091 100644
--- a/wpa_supplicant/wps_supplicant.h
+++ b/wpa_supplicant/wps_supplicant.h
@@ -61,6 +61,8 @@ int wpas_wps_er_add_pin(struct wpa_supplicant *wpa_s, const u8 *addr,
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_set_config(struct wpa_supplicant *wpa_s, const char *uuid,
+ int id);
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);