Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/
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 …]
/external/wpa_supplicant_8/src/p2p/
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 …]
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()
Dp2p.h164 enum p2p_wps_method wps_method; member
1625 enum p2p_wps_method wps_method,
1657 enum p2p_wps_method wps_method,
Dp2p.c244 peer->wps_method = WPS_NOT_READY; in p2p_go_neg_failed()
1624 enum p2p_wps_method wps_method, in p2p_connect() argument
1638 wps_method, persistent_group, pd_before_go_neg, oob_pw_id, in p2p_connect()
1711 dev->wps_method = wps_method; in p2p_connect()
1731 enum p2p_wps_method wps_method, in p2p_authorize() argument
1744 wps_method, persistent_group, oob_pw_id, p2p->allow_6ghz); in p2p_authorize()
1778 dev->wps_method = wps_method; in p2p_authorize()
1905 res.wps_method = peer->wps_method; in p2p_go_complete()
1948 peer->wps_method = WPS_NOT_READY; in p2p_go_complete()
2364 pw_id = p2p_wps_method_pw_id(p2p->go_neg_peer->wps_method); in p2p_build_probe_resp_ies()
[all …]
Dp2p_i.h75 enum p2p_wps_method wps_method; member
1006 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method);
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers_p2p.c633 enum p2p_wps_method wps_method = WPS_NOT_READY; in wpas_dbus_handler_p2p_connect() local
676 wps_method = WPS_PBC; in wpas_dbus_handler_p2p_connect()
678 wps_method = WPS_PIN_DISPLAY; in wpas_dbus_handler_p2p_connect()
680 wps_method = WPS_PIN_DISPLAY; in wpas_dbus_handler_p2p_connect()
682 wps_method = WPS_PIN_KEYPAD; in wpas_dbus_handler_p2p_connect()
694 if (wps_method == WPS_NOT_READY || in wpas_dbus_handler_p2p_connect()
702 if ((!pin || !pin[0]) && wps_method == WPS_PIN_KEYPAD) in wpas_dbus_handler_p2p_connect()
707 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method, in wpas_dbus_handler_p2p_connect()
Ddbus_new.c1761 res->wps_method))) in wpas_dbus_signal_p2p_go_neg_resp()
/external/wpa_supplicant_8/wpa_supplicant/aidl/vendor/
Dp2p_iface.cpp1163 p2p_wps_method wps_method = {}; in connectInternal() local
1166 wps_method = WPS_PBC; in connectInternal()
1169 wps_method = WPS_PIN_DISPLAY; in connectInternal()
1172 wps_method = WPS_PIN_KEYPAD; in connectInternal()
1175 wps_method = WPS_NOT_READY; in connectInternal()
1184 if (wps_method == WPS_NOT_READY) { in connectInternal()
1207 wpa_s, peer_address.data(), pin, wps_method, persistent, auto_join, in connectInternal()
/external/wpa_supplicant_8/wpa_supplicant/
Dp2p_supplicant.c140 const u8 *dev_addr, enum p2p_wps_method wps_method,
2120 MAC2STR(res->peer_device_addr), res->wps_method); in wpas_start_wps_enrollee()
2125 if (res->wps_method == WPS_PBC) { in wpas_start_wps_enrollee()
2128 } else if (res->wps_method == WPS_NFC) { in wpas_start_wps_enrollee()
2351 if (params->wps_method == WPS_PBC) { in p2p_go_configured()
2355 } else if (params->wps_method == WPS_NFC) { in p2p_go_configured()
2978 p2p_wps_method_text(res->wps_method)); in wpas_go_neg_completed()
6148 enum p2p_wps_method wps_method, in wpas_p2p_start_go_neg() argument
6164 return p2p_connect(wpa_s->global->p2p, peer_addr, wps_method, in wpas_p2p_start_go_neg()
6169 wps_method == WPS_NFC ? wpa_s->p2p_oob_dev_pw_id : in wpas_p2p_start_go_neg()
[all …]
Dp2p_supplicant.h36 const char *pin, enum p2p_wps_method wps_method,
Dctrl_iface.c6380 enum p2p_wps_method wps_method; in p2p_ctrl_connect() local
6500 wps_method = WPS_PIN_DISPLAY; in p2p_ctrl_connect()
6502 wps_method = WPS_PBC; in p2p_ctrl_connect()
6504 wps_method = WPS_P2PS; in p2p_ctrl_connect()
6506 wps_method = WPS_NOT_READY; in p2p_ctrl_connect()
6510 wps_method = WPS_PIN_KEYPAD; in p2p_ctrl_connect()
6514 wps_method = WPS_PIN_DISPLAY; in p2p_ctrl_connect()
6541 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method, in p2p_ctrl_connect()
6557 if (wps_method == WPS_PIN_DISPLAY && pin == NULL) { in p2p_ctrl_connect()