aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ap.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-04-21 13:45:16 (GMT)
committerJouni Malinen <j@w1.fi>2009-04-21 13:45:16 (GMT)
commit3ec97afe571f159ea95213262c1c6b89965827d4 (patch)
tree88828514155a3f5052505716d8bdcdb67796f6aa /wpa_supplicant/ap.h
parenta8d6ffa48f52648f344a06976303410bc7256e0f (diff)
downloadhostap-3ec97afe571f159ea95213262c1c6b89965827d4.zip
hostap-3ec97afe571f159ea95213262c1c6b89965827d4.tar.gz
hostap-3ec97afe571f159ea95213262c1c6b89965827d4.tar.bz2
wpa_supplicant AP: Add preliminary support for WPS Internal Registrar
When in AP mode, wpa_supplicant is now enabling WPS (only Internal Registrar). wpa_cli wps_pbc and wps_pin commands can be used to initiate WPS negotiation similarly to how this is done in station mode (though, the BSSID parameter is ignored).
Diffstat (limited to 'wpa_supplicant/ap.h')
-rw-r--r--wpa_supplicant/ap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/ap.h b/wpa_supplicant/ap.h
index 782c53a..935dba1 100644
--- a/wpa_supplicant/ap.h
+++ b/wpa_supplicant/ap.h
@@ -21,5 +21,8 @@ int wpa_supplicant_create_ap(struct wpa_supplicant *wpa_s,
void wpa_supplicant_ap_deinit(struct wpa_supplicant *wpa_s);
void wpa_supplicant_ap_rx_eapol(struct wpa_supplicant *wpa_s,
const u8 *src_addr, const u8 *buf, size_t len);
+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);
#endif /* AP_H */