aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ap.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/ap.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/ap.h')
-rw-r--r--wpa_supplicant/ap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/ap.h b/wpa_supplicant/ap.h
index b162d14..30eeca9 100644
--- a/wpa_supplicant/ap.h
+++ b/wpa_supplicant/ap.h
@@ -24,6 +24,7 @@ void wpa_supplicant_ap_rx_eapol(struct wpa_supplicant *wpa_s,
int wpa_supplicant_ap_wps_pbc(struct wpa_supplicant *wpa_s, const u8 *bssid);
int wpa_supplicant_ap_wps_pin(struct wpa_supplicant *wpa_s, const u8 *bssid,
const char *pin, char *buf, size_t buflen);
+int wpa_supplicant_ap_wps_cancel(struct wpa_supplicant *wpa_s);
int ap_ctrl_iface_sta_first(struct wpa_supplicant *wpa_s,
char *buf, size_t buflen);
int ap_ctrl_iface_sta(struct wpa_supplicant *wpa_s, const char *txtaddr,