Home
last modified time | relevance | path

Searched refs:wps_method (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/wpa/wpa_supplicant/examples/p2p/
H A Dp2p_connect.py63 global wps_method
79 pin,wps_method,go_intent): argument
83 self.wps_method = wps_method
152 self.p2p_connect_arguements = {'wps_method':self.wps_method,
156 if (self.wps_method == 'display'):
170 elif (self.wps_method == 'keypad'):
187 elif (self.wps_method == 'pin'):
192 elif (self.wps_method == 'pbc'):
215 if (self.wps_method == 'pin' and \
224 wps_method = None variable
[all …]
/freebsd/contrib/wpa/src/p2p/
H A Dp2p_go_neg.c100 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method) in p2p_wps_method_pw_id() argument
102 switch (wps_method) { in p2p_wps_method_pw_id()
119 static const char * p2p_wps_method_str(enum p2p_wps_method wps_method) in p2p_wps_method_str() argument
121 switch (wps_method) { in p2p_wps_method_str()
216 pw_id = p2p_wps_method_pw_id(peer->wps_method); in p2p_build_go_neg_req()
249 if (dev->wps_method == WPS_PIN_DISPLAY) in p2p_connect_send()
251 else if (dev->wps_method == WPS_PIN_KEYPAD) in p2p_connect_send()
253 else if (dev->wps_method == WPS_PBC) in p2p_connect_send()
255 else if (dev->wps_method == WPS_P2PS) in p2p_connect_send()
408 pw_id = p2p_wps_method_pw_id(peer ? peer->wps_method : WPS_NOT_READY); in p2p_build_go_neg_resp()
[all …]
H A Dp2p_build.c221 if (peer && peer->wps_method != WPS_NOT_READY) { in p2p_buf_add_device_info()
222 if (peer->wps_method == WPS_PBC) in p2p_buf_add_device_info()
224 else if (peer->wps_method == WPS_P2PS) in p2p_buf_add_device_info()
226 else if (peer->wps_method == WPS_PIN_DISPLAY || in p2p_buf_add_device_info()
227 peer->wps_method == WPS_PIN_KEYPAD) in p2p_buf_add_device_info()
H A Dp2p.h164 enum p2p_wps_method wps_method; member
1636 enum p2p_wps_method wps_method,
1668 enum p2p_wps_method wps_method,
H A Dp2p.c243 peer->wps_method = WPS_NOT_READY; in p2p_go_neg_failed()
1645 enum p2p_wps_method wps_method, in p2p_connect() argument
1659 wps_method, persistent_group, pd_before_go_neg, oob_pw_id, in p2p_connect()
1732 dev->wps_method = wps_method; in p2p_connect()
1752 enum p2p_wps_method wps_method, in p2p_authorize() argument
1765 wps_method, persistent_group, oob_pw_id, p2p->allow_6ghz); in p2p_authorize()
1799 dev->wps_method = wps_method; in p2p_authorize()
1922 res.wps_method = peer->wps_method; in p2p_go_complete()
1965 peer->wps_method = WPS_NOT_READY; in p2p_go_complete()
2382 pw_id = p2p_wps_method_pw_id(p2p->go_neg_peer->wps_method); in p2p_build_probe_resp_ies()
[all …]
H A Dp2p_i.h74 enum p2p_wps_method wps_method; member
1014 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method);
/freebsd/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_new_handlers_p2p.c635 enum p2p_wps_method wps_method = WPS_NOT_READY; in wpas_dbus_handler_p2p_connect() local
681 wps_method = WPS_PBC; in wpas_dbus_handler_p2p_connect()
683 wps_method = WPS_PIN_DISPLAY; in wpas_dbus_handler_p2p_connect()
685 wps_method = WPS_PIN_DISPLAY; in wpas_dbus_handler_p2p_connect()
687 wps_method = WPS_PIN_KEYPAD; in wpas_dbus_handler_p2p_connect()
699 if (wps_method == WPS_NOT_READY || in wpas_dbus_handler_p2p_connect()
707 if ((!pin || !pin[0]) && wps_method == WPS_PIN_KEYPAD) in wpas_dbus_handler_p2p_connect()
712 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method, in wpas_dbus_handler_p2p_connect()
H A Ddbus_new.c1784 res->wps_method))) in wpas_dbus_signal_p2p_go_neg_resp()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dp2p_supplicant.c139 const u8 *dev_addr, enum p2p_wps_method wps_method,
2131 MAC2STR(res->peer_device_addr), res->wps_method); in wpas_start_wps_enrollee()
2136 if (res->wps_method == WPS_PBC) { in wpas_start_wps_enrollee()
2139 } else if (res->wps_method == WPS_NFC) { in wpas_start_wps_enrollee()
2362 if (params->wps_method == WPS_PBC) { in p2p_go_configured()
2366 } else if (params->wps_method == WPS_NFC) { in p2p_go_configured()
3002 p2p_wps_method_text(res->wps_method)); in wpas_go_neg_completed()
6235 enum p2p_wps_method wps_method, in wpas_p2p_start_go_neg() argument
6251 return p2p_connect(wpa_s->global->p2p, peer_addr, wps_method, in wpas_p2p_start_go_neg()
6256 wps_method == WPS_NFC ? wpa_s->p2p_oob_dev_pw_id : in wpas_p2p_start_go_neg()
[all …]
H A Dp2p_supplicant.h36 const char *pin, enum p2p_wps_method wps_method,
H A Dctrl_iface.c6470 enum p2p_wps_method wps_method; in p2p_ctrl_connect() local
6590 wps_method = WPS_PIN_DISPLAY; in p2p_ctrl_connect()
6592 wps_method = WPS_PBC; in p2p_ctrl_connect()
6594 wps_method = WPS_P2PS; in p2p_ctrl_connect()
6596 wps_method = WPS_NOT_READY; in p2p_ctrl_connect()
6600 wps_method = WPS_PIN_KEYPAD; in p2p_ctrl_connect()
6604 wps_method = WPS_PIN_DISPLAY; in p2p_ctrl_connect()
6631 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method, in p2p_ctrl_connect()
6647 if (wps_method == WPS_PIN_DISPLAY && pin == NULL) { in p2p_ctrl_connect()