Home
last modified time | relevance | path

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

/netbsd/external/bsd/wpa/dist/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
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
253 wps_method = value variable
[all …]
/netbsd/external/bsd/wpa/dist/src/p2p/
H A Dp2p_go_neg.c101 switch (wps_method) { in p2p_wps_method_pw_id()
120 switch (wps_method) { in p2p_wps_method_str()
226 else if (dev->wps_method == WPS_PBC) in p2p_connect_send()
228 else if (dev->wps_method == WPS_P2PS) in p2p_connect_send()
945 if (dev->wps_method != WPS_PBC) { in p2p_process_go_neg_req()
954 if (dev->wps_method != WPS_P2PS) { in p2p_process_go_neg_req()
969 dev->wps_method)); in p2p_process_go_neg_req()
980 dev->wps_method = WPS_NFC; in p2p_process_go_neg_req()
1325 if (dev->wps_method != WPS_PBC) { in p2p_process_go_neg_resp()
1334 if (dev->wps_method != WPS_P2PS) { in p2p_process_go_neg_resp()
[all …]
H A Dp2p_build.c202 if (peer && peer->wps_method != WPS_NOT_READY) { in p2p_buf_add_device_info()
203 if (peer->wps_method == WPS_PBC) in p2p_buf_add_device_info()
205 else if (peer->wps_method == WPS_P2PS) in p2p_buf_add_device_info()
207 else if (peer->wps_method == WPS_PIN_DISPLAY || in p2p_buf_add_device_info()
208 peer->wps_method == WPS_PIN_KEYPAD) in p2p_buf_add_device_info()
H A Dp2p.c239 peer->wps_method = WPS_NOT_READY; in p2p_go_neg_failed()
1548 enum p2p_wps_method wps_method, in p2p_connect() argument
1561 wps_method, persistent_group, pd_before_go_neg, oob_pw_id); in p2p_connect()
1633 dev->wps_method = wps_method; in p2p_connect()
1649 enum p2p_wps_method wps_method, in p2p_authorize() argument
1661 wps_method, persistent_group, oob_pw_id); in p2p_authorize()
1691 dev->wps_method = wps_method; in p2p_authorize()
1795 res.wps_method = peer->wps_method; in p2p_go_complete()
1837 peer->wps_method = WPS_NOT_READY; in p2p_go_complete()
3048 dev->wps_method = WPS_NOT_READY; in p2p_unauthorize()
[all …]
H A Dp2p.h149 enum p2p_wps_method wps_method; member
1311 enum p2p_wps_method wps_method,
1339 enum p2p_wps_method wps_method,
H A Dp2p_i.h46 enum p2p_wps_method wps_method; member
814 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method);
/netbsd/external/bsd/wpa/dist/wpa_supplicant/dbus/
H A Ddbus_new_handlers_p2p.c532 enum p2p_wps_method wps_method = WPS_NOT_READY; in wpas_dbus_handler_p2p_connect() local
575 wps_method = WPS_PBC; in wpas_dbus_handler_p2p_connect()
577 wps_method = WPS_PIN_DISPLAY; in wpas_dbus_handler_p2p_connect()
579 wps_method = WPS_PIN_DISPLAY; in wpas_dbus_handler_p2p_connect()
581 wps_method = WPS_PIN_KEYPAD; in wpas_dbus_handler_p2p_connect()
593 if (wps_method == WPS_NOT_READY || in wpas_dbus_handler_p2p_connect()
601 if ((!pin || !pin[0]) && wps_method == WPS_PIN_KEYPAD) in wpas_dbus_handler_p2p_connect()
606 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method, in wpas_dbus_handler_p2p_connect()
H A Ddbus_new.c1610 res->wps_method))) in wpas_dbus_signal_p2p_go_neg_resp()
/netbsd/external/bsd/wpa/dist/wpa_supplicant/
H A Dp2p_supplicant.c1659 if (res->wps_method == WPS_PBC) { in wpas_start_wps_enrollee()
1662 } else if (res->wps_method == WPS_NFC) { in wpas_start_wps_enrollee()
1863 if (params->wps_method == WPS_PBC) { in p2p_go_configured()
1867 } else if (params->wps_method == WPS_NFC) { in p2p_go_configured()
2282 p2p_wps_method_text(res->wps_method)); in wpas_go_neg_completed()
4732 enum p2p_wps_method wps_method, in wpas_p2p_start_go_neg() argument
4759 enum p2p_wps_method wps_method, in wpas_p2p_auth_go_neg() argument
5217 wpa_s->pending_join_wps_method = wps_method; in wpas_p2p_join()
5527 wpa_s->p2p_wps_method = wps_method; in wpas_p2p_connect()
5542 else if (wps_method == WPS_PIN_DISPLAY) { in wpas_p2p_connect()
[all …]
H A Dp2p_supplicant.h36 const char *pin, enum p2p_wps_method wps_method,
H A Dctrl_iface.c5621 enum p2p_wps_method wps_method; in p2p_ctrl_connect() local
5726 wps_method = WPS_PIN_DISPLAY; in p2p_ctrl_connect()
5728 wps_method = WPS_PBC; in p2p_ctrl_connect()
5730 wps_method = WPS_P2PS; in p2p_ctrl_connect()
5734 wps_method = WPS_PIN_KEYPAD; in p2p_ctrl_connect()
5738 wps_method = WPS_PIN_DISPLAY; in p2p_ctrl_connect()
5746 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method, in p2p_ctrl_connect()
5761 if (wps_method == WPS_PIN_DISPLAY && pin == NULL) { in p2p_ctrl_connect()