aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ap.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-11-17 14:46:55 (GMT)
committerJouni Malinen <j@w1.fi>2010-11-17 14:46:55 (GMT)
commit70d84f11febaefe0bbd3b24ecb88101b1789e37d (patch)
treecc472cbacbdbd7ad792acf35b6387c6a96e5c668 /wpa_supplicant/ap.h
parentbb79dc720b3c439ad9748b235061850c63d07fec (diff)
downloadhostap-70d84f11febaefe0bbd3b24ecb88101b1789e37d.zip
hostap-70d84f11febaefe0bbd3b24ecb88101b1789e37d.tar.gz
hostap-70d84f11febaefe0bbd3b24ecb88101b1789e37d.tar.bz2
WPS: Add wps_ap_pin ctrl_iface command for wpa_supplicant AP mode
This can be used to control the AP PIN in wpa_supplicant AP mode in the same way as the identical command in hostapd ctrl_iface.
Diffstat (limited to 'wpa_supplicant/ap.h')
-rw-r--r--wpa_supplicant/ap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/wpa_supplicant/ap.h b/wpa_supplicant/ap.h
index 30eeca9..d3bab24 100644
--- a/wpa_supplicant/ap.h
+++ b/wpa_supplicant/ap.h
@@ -25,6 +25,11 @@ 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);
+void wpas_wps_ap_pin_disable(struct wpa_supplicant *wpa_s);
+const char * wpas_wps_ap_pin_random(struct wpa_supplicant *wpa_s, int timeout);
+const char * wpas_wps_ap_pin_get(struct wpa_supplicant *wpa_s);
+int wpas_wps_ap_pin_set(struct wpa_supplicant *wpa_s, const char *pin,
+ int timeout);
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,
@@ -41,5 +46,6 @@ void ap_mgmt_tx_cb(void *ctx, const u8 *buf, size_t len, u16 stype, int ok);
int wpa_supplicant_ap_update_beacon(struct wpa_supplicant *wpa_s);
int wpa_supplicant_ap_mac_addr_filter(struct wpa_supplicant *wpa_s,
const u8 *addr);
+void wpa_supplicant_ap_pwd_auth_fail(struct wpa_supplicant *wpa_s);
#endif /* AP_H */