aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ap.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2013-02-15 09:45:29 (GMT)
committerJouni Malinen <j@w1.fi>2013-02-15 09:47:52 (GMT)
commitbbf41865c90c2e16510712fa32290729c194422d (patch)
tree499cebbd8000a7ac666d27382ee3bf0be45a23e4 /wpa_supplicant/ap.h
parent23ffcaf172f2b601abd423ff2e9cd9d78773ce92 (diff)
downloadhostap-bbf41865c90c2e16510712fa32290729c194422d.zip
hostap-bbf41865c90c2e16510712fa32290729c194422d.tar.gz
hostap-bbf41865c90c2e16510712fa32290729c194422d.tar.bz2
WPS: Add support for config token generation with wpa_supplicant
When wpa_supplicant is controlling an AP mode interface, it can generate the NFC configuration token similarly to the way this is done in hostapd. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/ap.h')
-rw-r--r--wpa_supplicant/ap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/ap.h b/wpa_supplicant/ap.h
index 536064f..a997937 100644
--- a/wpa_supplicant/ap.h
+++ b/wpa_supplicant/ap.h
@@ -52,5 +52,7 @@ int wpa_supplicant_ap_mac_addr_filter(struct wpa_supplicant *wpa_s,
void wpa_supplicant_ap_pwd_auth_fail(struct wpa_supplicant *wpa_s);
void wpas_ap_ch_switch(struct wpa_supplicant *wpa_s, int freq, int ht,
int offset);
+struct wpabuf * wpas_ap_wps_nfc_config_token(struct wpa_supplicant *wpa_s,
+ int ndef);
#endif /* AP_H */