5 #ifndef WPS_SUPPLICANT_H
6 #define WPS_SUPPLICANT_H
17 struct wps_new_ap_settings {
27 enum wps_request_type wpas_wps_get_req_type(
struct wpa_ssid *ssid);
28 int wpas_wps_start_pbc(
struct wpa_supplicant *wpa_s,
const u8 *bssid,
30 int wpas_wps_start_pin(
struct wpa_supplicant *wpa_s,
const u8 *bssid,
31 const char *pin,
int p2p_group, u16 dev_pw_id);
34 int wpas_wps_start_reg(
struct wpa_supplicant *wpa_s,
const u8 *bssid,
35 const char *pin,
struct wps_new_ap_settings *settings);
44 int wpas_wps_scan_result_text(
const u8 *ies,
size_t ies_len,
char *pos,
46 int wpas_wps_er_start(
struct wpa_supplicant *wpa_s,
const char *filter);
48 int wpas_wps_er_add_pin(
struct wpa_supplicant *wpa_s,
const u8 *addr,
49 const char *uuid,
const char *pin);
50 int wpas_wps_er_pbc(
struct wpa_supplicant *wpa_s,
const char *uuid);
51 int wpas_wps_er_learn(
struct wpa_supplicant *wpa_s,
const char *uuid,
53 int wpas_wps_er_set_config(
struct wpa_supplicant *wpa_s,
const char *uuid,
55 int wpas_wps_er_config(
struct wpa_supplicant *wpa_s,
const char *uuid,
56 const char *pin,
struct wps_new_ap_settings *settings);
58 int ndef,
const char *uuid);
62 int ndef,
const char *id_str);
64 int wpas_wps_start_nfc(
struct wpa_supplicant *wpa_s,
const u8 *dev_addr,
66 const struct wpabuf *dev_pw, u16 dev_pw_id,
67 int p2p_group,
const u8 *peer_pubkey_hash,
68 const u8 *ssid,
size_t ssid_len,
int freq);
70 const struct wpabuf *data,
int forced_freq);
74 int ndef,
int cr,
const char *uuid);
83 void wpas_wps_notify_assoc(
struct wpa_supplicant *wpa_s,
const u8 *bssid);
101 static inline u8 wpas_wps_get_req_type(
struct wpa_ssid *ssid)
106 static inline int wpas_wps_ssid_bss_match(
struct wpa_supplicant *wpa_s,
113 static inline int wpas_wps_ssid_wildcard_ok(
struct wpa_supplicant *wpa_s,
120 static inline int wpas_wps_scan_pbc_overlap(
struct wpa_supplicant *wpa_s,
127 static inline void wpas_wps_notify_scan_results(
struct wpa_supplicant *wpa_s)
131 static inline int wpas_wps_searching(
struct wpa_supplicant *wpa_s)
136 static inline void wpas_wps_update_ap_info(
struct wpa_supplicant *wpa_s,
141 static inline void wpas_wps_notify_assoc(
struct wpa_supplicant *wpa_s,
Wi-Fi Protected Setup - message definitions.
BSS table.
Definition: bss.h:52
Scan results.
Definition: driver.h:277
Internal data for wpa_supplicant interface.
Definition: wpa_supplicant_i.h:451
Internal P2P module per-group data.
Definition: p2p_group.c:31
Network configuration data.
Definition: config_ssid.h:52