path: root/wpa_supplicant/wps_supplicant.h
diff options
authorJouni Malinen <j@w1.fi>2012-06-27 15:56:41 (GMT)
committerJouni Malinen <j@w1.fi>2012-06-27 18:22:12 (GMT)
commit3f2c8ba6d39d5c5184a8fdd121998dd0d7629f1f (patch)
treee63a9ec4c9a7a18b0de561fb48befbc5975e67a1 /wpa_supplicant/wps_supplicant.h
parent6b5a0c9466e42847d19d812a6f2854c099d78d27 (diff)
WPS: Add new mechanism for NFC config method using password token
Instead of requiring low-level access to an NFC device and synchronous operations, the new WPS_NFC_TOKEN and WPS_NFC ctrl_iface commands can be used to build a NFC password token and initiate WPS protocol run using that token (or pre-configured values) as separate commands. The WPS_NFC_TOKEN output can be written to a NFC tag using an external program, i.e., wpa_supplicant does not need to have low-level code for NFC operations for this. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/wps_supplicant.h')
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/wps_supplicant.h b/wpa_supplicant/wps_supplicant.h
index a5472a0..6ce0e7b 100644
--- a/wpa_supplicant/wps_supplicant.h
+++ b/wpa_supplicant/wps_supplicant.h
@@ -62,6 +62,8 @@ int wpas_wps_er_config(struct wpa_supplicant *wpa_s, const char *uuid,
int wpas_wps_terminate_pending(struct wpa_supplicant *wpa_s);
int wpas_wps_in_progress(struct wpa_supplicant *wpa_s);
void wpas_wps_update_config(struct wpa_supplicant *wpa_s);
+struct wpabuf * wpas_wps_nfc_token(struct wpa_supplicant *wpa_s, int ndef);
+int wpas_wps_start_nfc(struct wpa_supplicant *wpa_s, const u8 *bssid);
#else /* CONFIG_WPS */