/freebsd/contrib/wpa/wpa_supplicant/examples/p2p/ |
H A D | p2p_connect.py | 63 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 D | p2p_go_neg.c | 100 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() 209 pw_id = p2p_wps_method_pw_id(peer->wps_method); in p2p_build_go_neg_req() 239 if (dev->wps_method == WPS_PIN_DISPLAY) in p2p_connect_send() 241 else if (dev->wps_method == WPS_PIN_KEYPAD) in p2p_connect_send() 243 else if (dev->wps_method == WPS_PBC) in p2p_connect_send() 245 else if (dev->wps_method == WPS_P2PS) in p2p_connect_send() 388 pw_id = p2p_wps_method_pw_id(peer ? peer->wps_method : WPS_NOT_READY); in p2p_build_go_neg_resp() [all …]
|
H A D | p2p_build.c | 208 if (peer && peer->wps_method != WPS_NOT_READY) { in p2p_buf_add_device_info() 209 if (peer->wps_method == WPS_PBC) in p2p_buf_add_device_info() 211 else if (peer->wps_method == WPS_P2PS) in p2p_buf_add_device_info() 213 else if (peer->wps_method == WPS_PIN_DISPLAY || in p2p_buf_add_device_info() 214 peer->wps_method == WPS_PIN_KEYPAD) in p2p_buf_add_device_info()
|
H A D | p2p.h | 153 enum p2p_wps_method wps_method; member 1325 enum p2p_wps_method wps_method, 1353 enum p2p_wps_method wps_method,
|
H A D | p2p.c | 239 peer->wps_method = WPS_NOT_READY; in p2p_go_neg_failed() 1598 enum p2p_wps_method wps_method, in p2p_connect() argument 1611 wps_method, persistent_group, pd_before_go_neg, oob_pw_id, in p2p_connect() 1684 dev->wps_method = wps_method; in p2p_connect() 1700 enum p2p_wps_method wps_method, in p2p_authorize() argument 1712 wps_method, persistent_group, oob_pw_id, p2p->allow_6ghz); in p2p_authorize() 1742 dev->wps_method = wps_method; in p2p_authorize() 1847 res.wps_method = peer->wps_method; in p2p_go_complete() 1890 peer->wps_method = WPS_NOT_READY; in p2p_go_complete() 2258 pw_id = p2p_wps_method_pw_id(p2p->go_neg_peer->wps_method); in p2p_build_probe_resp_ies() [all …]
|
H A D | p2p_i.h | 47 enum p2p_wps_method wps_method; member 822 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method);
|
/freebsd/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus_new_handlers_p2p.c | 632 enum p2p_wps_method wps_method = WPS_NOT_READY; in wpas_dbus_handler_p2p_connect() local 675 wps_method = WPS_PBC; in wpas_dbus_handler_p2p_connect() 677 wps_method = WPS_PIN_DISPLAY; in wpas_dbus_handler_p2p_connect() 679 wps_method = WPS_PIN_DISPLAY; in wpas_dbus_handler_p2p_connect() 681 wps_method = WPS_PIN_KEYPAD; in wpas_dbus_handler_p2p_connect() 693 if (wps_method == WPS_NOT_READY || in wpas_dbus_handler_p2p_connect() 701 if ((!pin || !pin[0]) && wps_method == WPS_PIN_KEYPAD) in wpas_dbus_handler_p2p_connect() 706 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method, in wpas_dbus_handler_p2p_connect()
|
H A D | dbus_new.c | 1761 res->wps_method))) in wpas_dbus_signal_p2p_go_neg_resp()
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | p2p_supplicant.c | 135 const u8 *dev_addr, enum p2p_wps_method wps_method, 1740 MAC2STR(res->peer_device_addr), res->wps_method); in wpas_start_wps_enrollee() 1745 if (res->wps_method == WPS_PBC) { in wpas_start_wps_enrollee() 1748 } else if (res->wps_method == WPS_NFC) { in wpas_start_wps_enrollee() 1949 if (params->wps_method == WPS_PBC) { in p2p_go_configured() 1953 } else if (params->wps_method == WPS_NFC) { in p2p_go_configured() 2490 p2p_wps_method_text(res->wps_method)); in wpas_go_neg_completed() 5193 enum p2p_wps_method wps_method, in wpas_p2p_start_go_neg() argument 5208 return p2p_connect(wpa_s->global->p2p, peer_addr, wps_method, in wpas_p2p_start_go_neg() 5213 wps_method == WPS_NFC ? wpa_s->p2p_oob_dev_pw_id : in wpas_p2p_start_go_neg() [all …]
|
H A D | p2p_supplicant.h | 36 const char *pin, enum p2p_wps_method wps_method,
|
H A D | ctrl_iface.c | 6363 enum p2p_wps_method wps_method; in p2p_ctrl_connect() local 6475 wps_method = WPS_PIN_DISPLAY; in p2p_ctrl_connect() 6477 wps_method = WPS_PBC; in p2p_ctrl_connect() 6479 wps_method = WPS_P2PS; in p2p_ctrl_connect() 6483 wps_method = WPS_PIN_KEYPAD; in p2p_ctrl_connect() 6487 wps_method = WPS_PIN_DISPLAY; in p2p_ctrl_connect() 6495 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method, in p2p_ctrl_connect() 6510 if (wps_method == WPS_PIN_DISPLAY && pin == NULL) { in p2p_ctrl_connect()
|