aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wps_supplicant.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-11-29 18:59:45 (GMT)
committerJouni Malinen <j@w1.fi>2008-11-29 18:59:45 (GMT)
commitfcc60db4eb5a8ea4e482b1785fd069b8553fd760 (patch)
tree17fd73b230e7215e1c75b5293c918be9b6c4239b /wpa_supplicant/wps_supplicant.h
parente237a6b0d78db62c6b222dca07a008fe21c17f1f (diff)
downloadhostap-fcc60db4eb5a8ea4e482b1785fd069b8553fd760.zip
hostap-fcc60db4eb5a8ea4e482b1785fd069b8553fd760.tar.gz
hostap-fcc60db4eb5a8ea4e482b1785fd069b8553fd760.tar.bz2
WPS: Added wpa_supplicant ctrl_iface commands to start WPS processing
New control interface commands WPS_PBC, WPS_PIN, and WPS_REG can be used to start WPS processing. These add and select the WPS network block into the configuration temporarily, i.e., there is no need to add the WPS network block manually anymore.
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 73e7258..1e393e3 100644
--- a/wpa_supplicant/wps_supplicant.h
+++ b/wpa_supplicant/wps_supplicant.h
@@ -21,6 +21,11 @@ int wpas_wps_init(struct wpa_supplicant *wpa_s);
void wpas_wps_deinit(struct wpa_supplicant *wpa_s);
int wpas_wps_eapol_cb(struct wpa_supplicant *wpa_s);
u8 wpas_wps_get_req_type(struct wpa_ssid *ssid);
+int wpas_wps_start_pbc(struct wpa_supplicant *wpa_s, const u8 *bssid);
+int wpas_wps_start_pin(struct wpa_supplicant *wpa_s, const u8 *bssid,
+ const char *pin);
+int wpas_wps_start_reg(struct wpa_supplicant *wpa_s, const u8 *bssid,
+ const char *pin);
#else /* CONFIG_WPS */