aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wps_supplicant.h
diff options
context:
space:
mode:
authorArdong Chen <ardongchen@atheros.com>2010-09-06 17:51:06 (GMT)
committerJouni Malinen <j@w1.fi>2010-09-10 17:30:25 (GMT)
commit2f9929ffccf257eb70813e07990ee1c4536a4767 (patch)
tree5070f99ca783a6b6cc8f16a2f25063842e8f57d3 /wpa_supplicant/wps_supplicant.h
parentfbe702723935c378faa11ed7a1738558185c459d (diff)
downloadhostap-2f9929ffccf257eb70813e07990ee1c4536a4767.zip
hostap-2f9929ffccf257eb70813e07990ee1c4536a4767.tar.gz
hostap-2f9929ffccf257eb70813e07990ee1c4536a4767.tar.bz2
WPS: Allow pending WPS operation to be cancelled
A new ctrl_interface command, WPS_CANCEL, can now be used to cancel a pending or ongoing WPS operation. For now, this is only available with wpa_supplicant (either in station or AP mode). Similar functionality should be added for hostapd, too.
Diffstat (limited to 'wpa_supplicant/wps_supplicant.h')
-rw-r--r--wpa_supplicant/wps_supplicant.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/wps_supplicant.h b/wpa_supplicant/wps_supplicant.h
index 59d37b4..ce1776f 100644
--- a/wpa_supplicant/wps_supplicant.h
+++ b/wpa_supplicant/wps_supplicant.h
@@ -39,6 +39,7 @@ int wpas_wps_start_pbc(struct wpa_supplicant *wpa_s, const u8 *bssid,
int p2p_group);
int wpas_wps_start_pin(struct wpa_supplicant *wpa_s, const u8 *bssid,
const char *pin, int p2p_group, u16 dev_pw_id);
+int wpas_wps_cancel(struct wpa_supplicant *wpa_s);
int wpas_wps_start_oob(struct wpa_supplicant *wpa_s, char *device_type,
char *path, char *method, char *name);
int wpas_wps_start_reg(struct wpa_supplicant *wpa_s, const u8 *bssid,