Home
last modified time | relevance | path

Searched refs:wps_method (Results 1 – 11 of 11) 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.c98 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method) in p2p_wps_method_pw_id() argument
100 switch (wps_method) { in p2p_wps_method_pw_id()
115 static const char * p2p_wps_method_str(enum p2p_wps_method wps_method) in p2p_wps_method_str() argument
117 switch (wps_method) { in p2p_wps_method_str()
184 pw_id = p2p_wps_method_pw_id(peer->wps_method); in p2p_build_go_neg_req()
214 if (dev->wps_method == WPS_PIN_DISPLAY) in p2p_connect_send()
216 else if (dev->wps_method == WPS_PIN_KEYPAD) in p2p_connect_send()
218 else if (dev->wps_method == WPS_PBC) in p2p_connect_send()
335 pw_id = p2p_wps_method_pw_id(peer ? peer->wps_method : WPS_NOT_READY); in p2p_build_go_neg_resp()
652 (dev->wps_method == WPS_NOT_READY && in p2p_process_go_neg_req()
[all …]
Dp2p_build.c163 if (peer && peer->wps_method != WPS_NOT_READY) { in p2p_buf_add_device_info()
164 if (peer->wps_method == WPS_PBC) in p2p_buf_add_device_info()
166 else if (peer->wps_method == WPS_PIN_DISPLAY || in p2p_buf_add_device_info()
167 peer->wps_method == WPS_PIN_KEYPAD) in p2p_buf_add_device_info()
Dp2p.h122 enum p2p_wps_method wps_method; member
1008 enum p2p_wps_method wps_method,
1036 enum p2p_wps_method wps_method,
Dp2p.c222 p2p->go_neg_peer->wps_method = WPS_NOT_READY; in p2p_go_neg_failed()
1374 enum p2p_wps_method wps_method, in p2p_connect() argument
1387 wps_method, persistent_group, pd_before_go_neg, oob_pw_id); in p2p_connect()
1470 dev->wps_method = wps_method; in p2p_connect()
1487 enum p2p_wps_method wps_method, in p2p_authorize() argument
1499 wps_method, persistent_group, oob_pw_id); in p2p_authorize()
1529 dev->wps_method = wps_method; in p2p_authorize()
1628 res.wps_method = peer->wps_method; in p2p_go_complete()
1681 peer->wps_method = WPS_NOT_READY; in p2p_go_complete()
2013 pw_id = p2p_wps_method_pw_id(p2p->go_neg_peer->wps_method); in p2p_build_probe_resp_ies()
[all …]
Dp2p_i.h33 enum p2p_wps_method wps_method; member
719 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method);
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers_p2p.c435 enum p2p_wps_method wps_method = WPS_NOT_READY; in wpas_dbus_handler_p2p_connect() local
477 wps_method = WPS_PBC; in wpas_dbus_handler_p2p_connect()
479 wps_method = WPS_PIN_DISPLAY; in wpas_dbus_handler_p2p_connect()
481 wps_method = WPS_PIN_DISPLAY; in wpas_dbus_handler_p2p_connect()
483 wps_method = WPS_PIN_KEYPAD; in wpas_dbus_handler_p2p_connect()
495 if (!peer_object_path || (wps_method == WPS_NOT_READY) || in wpas_dbus_handler_p2p_connect()
503 if ((!pin || !pin[0]) && (wps_method == WPS_PIN_KEYPAD)) in wpas_dbus_handler_p2p_connect()
506 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method, in wpas_dbus_handler_p2p_connect()
Ddbus_new.c1375 res->wps_method))) in wpas_dbus_signal_p2p_go_neg_resp()
/external/wpa_supplicant_8/wpa_supplicant/
Dp2p_supplicant.c110 const u8 *dev_addr, enum p2p_wps_method wps_method,
1162 MAC2STR(res->peer_device_addr), res->wps_method); in wpas_start_wps_enrollee()
1167 if (res->wps_method == WPS_PBC) { in wpas_start_wps_enrollee()
1170 } else if (res->wps_method == WPS_NFC) { in wpas_start_wps_enrollee()
1285 if (params->wps_method == WPS_PBC) { in p2p_go_configured()
1289 } else if (params->wps_method == WPS_NFC) { in p2p_go_configured()
1624 p2p_wps_method_text(res->wps_method)); in wpas_go_neg_completed()
4135 enum p2p_wps_method wps_method, in wpas_p2p_start_go_neg() argument
4150 return p2p_connect(wpa_s->global->p2p, peer_addr, wps_method, in wpas_p2p_start_go_neg()
4155 wps_method == WPS_NFC ? wpa_s->p2p_oob_dev_pw_id : in wpas_p2p_start_go_neg()
[all …]
Dp2p_supplicant.h25 const char *pin, enum p2p_wps_method wps_method,
Dctrl_iface.c4046 enum p2p_wps_method wps_method; in p2p_ctrl_connect() local
4111 wps_method = WPS_PIN_DISPLAY; in p2p_ctrl_connect()
4113 wps_method = WPS_PBC; in p2p_ctrl_connect()
4117 wps_method = WPS_PIN_KEYPAD; in p2p_ctrl_connect()
4121 wps_method = WPS_PIN_DISPLAY; in p2p_ctrl_connect()
4129 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method, in p2p_ctrl_connect()
4143 if (wps_method == WPS_PIN_DISPLAY && pin == NULL) { in p2p_ctrl_connect()