Home
last modified time | relevance | path

Searched refs:wps_method (Results 1 – 14 of 14) 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.c101 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method) in p2p_wps_method_pw_id() argument
103 switch (wps_method) { in p2p_wps_method_pw_id()
116 static const char * p2p_wps_method_str(enum p2p_wps_method wps_method) in p2p_wps_method_str() argument
118 switch (wps_method) { in p2p_wps_method_str()
184 p2p_build_wps_ie(p2p, buf, p2p_wps_method_pw_id(peer->wps_method), 0); in p2p_build_go_neg_req()
205 if (dev->wps_method == WPS_PIN_DISPLAY) in p2p_connect_send()
207 else if (dev->wps_method == WPS_PIN_KEYPAD) in p2p_connect_send()
209 else if (dev->wps_method == WPS_PBC) in p2p_connect_send()
328 p2p_wps_method_pw_id(peer ? peer->wps_method : in p2p_build_go_neg_resp()
506 } else if (dev == NULL || dev->wps_method == WPS_NOT_READY) { in p2p_process_go_neg_req()
[all …]
Dp2p_build.c165 if (peer && peer->wps_method != WPS_NOT_READY) { in p2p_buf_add_device_info()
166 if (peer->wps_method == WPS_PBC) in p2p_buf_add_device_info()
168 else if (peer->wps_method == WPS_PIN_DISPLAY || in p2p_buf_add_device_info()
169 peer->wps_method == WPS_PIN_KEYPAD) in p2p_buf_add_device_info()
Dp2p.h112 enum p2p_wps_method wps_method; member
908 enum p2p_wps_method wps_method,
934 enum p2p_wps_method wps_method,
Dp2p.c244 p2p->go_neg_peer->wps_method = WPS_NOT_READY; in p2p_go_neg_failed()
1278 enum p2p_wps_method wps_method, in p2p_connect() argument
1291 wps_method, persistent_group, pd_before_go_neg, force_freq); in p2p_connect()
1368 dev->wps_method = wps_method; in p2p_connect()
1390 enum p2p_wps_method wps_method, in p2p_authorize() argument
1402 wps_method, persistent_group); in p2p_authorize()
1432 dev->wps_method = wps_method; in p2p_authorize()
1543 res.wps_method = peer->wps_method; in p2p_go_complete()
1591 peer->wps_method = WPS_NOT_READY; in p2p_go_complete()
1932 pw_id = p2p_wps_method_pw_id(p2p->go_neg_peer->wps_method); in p2p_build_probe_resp_ies()
[all …]
Dp2p_i.h28 enum p2p_wps_method wps_method; member
657 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method);
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers_p2p.c434 enum p2p_wps_method wps_method = WPS_NOT_READY; in wpas_dbus_handler_p2p_connect() local
476 wps_method = WPS_PBC; in wpas_dbus_handler_p2p_connect()
478 wps_method = WPS_PIN_DISPLAY; in wpas_dbus_handler_p2p_connect()
480 wps_method = WPS_PIN_DISPLAY; in wpas_dbus_handler_p2p_connect()
482 wps_method = WPS_PIN_KEYPAD; in wpas_dbus_handler_p2p_connect()
494 if (!peer_object_path || (wps_method == WPS_NOT_READY) || in wpas_dbus_handler_p2p_connect()
502 if ((!pin || !pin[0]) && (wps_method == WPS_PIN_KEYPAD)) in wpas_dbus_handler_p2p_connect()
505 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method, in wpas_dbus_handler_p2p_connect()
Ddbus_new.c1233 res->wps_method))) in wpas_dbus_signal_p2p_go_neg_resp()
/external/wpa_supplicant_8/wpa_supplicant/
Dp2p_supplicant.c90 const u8 *dev_addr, enum p2p_wps_method wps_method,
806 if (res->wps_method == WPS_PBC) in wpas_start_wps_enrollee()
859 if (params->wps_method == WPS_PBC) in p2p_go_configured()
2969 enum p2p_wps_method wps_method, in wpas_p2p_start_go_neg() argument
2978 return wpa_drv_p2p_connect(wpa_s, peer_addr, wps_method, in wpas_p2p_start_go_neg()
2990 return p2p_connect(wpa_s->global->p2p, peer_addr, wps_method, in wpas_p2p_start_go_neg()
3000 enum p2p_wps_method wps_method, in wpas_p2p_auth_go_neg() argument
3011 return p2p_authorize(wpa_s->global->p2p, peer_addr, wps_method, in wpas_p2p_auth_go_neg()
3399 const u8 *dev_addr, enum p2p_wps_method wps_method, in wpas_p2p_join() argument
3411 wpa_s->pending_join_wps_method = wps_method; in wpas_p2p_join()
[all …]
Dp2p_supplicant.h21 const char *pin, enum p2p_wps_method wps_method,
Ddriver_i.h542 const u8 *peer_addr, int wps_method, in wpa_drv_p2p_connect() argument
551 wps_method, go_intent, in wpa_drv_p2p_connect()
Dctrl_iface.c3104 enum p2p_wps_method wps_method; in p2p_ctrl_connect() local
3167 wps_method = WPS_PIN_DISPLAY; in p2p_ctrl_connect()
3169 wps_method = WPS_PBC; in p2p_ctrl_connect()
3173 wps_method = WPS_PIN_KEYPAD; in p2p_ctrl_connect()
3177 wps_method = WPS_PIN_DISPLAY; in p2p_ctrl_connect()
3185 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method, in p2p_ctrl_connect()
3199 if (wps_method == WPS_PIN_DISPLAY && pin == NULL) { in p2p_ctrl_connect()
/external/wpa_supplicant_8/src/drivers/
Ddriver.h2247 int (*p2p_connect)(void *priv, const u8 *peer_addr, int wps_method,
Ddriver_test.c2856 int wps_method, int go_intent, in wpa_driver_test_p2p_connect() argument
2867 __func__, MAC2STR(peer_addr), wps_method, go_intent, in wpa_driver_test_p2p_connect()
2871 return p2p_connect(drv->p2p, peer_addr, wps_method, go_intent, in wpa_driver_test_p2p_connect()