Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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 …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/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 …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p_go_neg.c99 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method) in p2p_wps_method_pw_id() argument
101 switch (wps_method) { in p2p_wps_method_pw_id()
118 static const char * p2p_wps_method_str(enum p2p_wps_method wps_method) in p2p_wps_method_str() argument
120 switch (wps_method) { in p2p_wps_method_str()
192 pw_id = p2p_wps_method_pw_id(peer->wps_method); in p2p_build_go_neg_req()
222 if (dev->wps_method == WPS_PIN_DISPLAY) in p2p_connect_send()
224 else if (dev->wps_method == WPS_PIN_KEYPAD) in p2p_connect_send()
226 else if (dev->wps_method == WPS_PBC) in p2p_connect_send()
228 else if (dev->wps_method == WPS_P2PS) in p2p_connect_send()
351 pw_id = p2p_wps_method_pw_id(peer ? peer->wps_method : WPS_NOT_READY); in p2p_build_go_neg_resp()
[all …]
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()
Dp2p.h149 enum p2p_wps_method wps_method; member
1311 enum p2p_wps_method wps_method,
1339 enum p2p_wps_method wps_method,
Dp2p.c239 peer->wps_method = WPS_NOT_READY; in p2p_go_neg_failed()
1550 enum p2p_wps_method wps_method, in p2p_connect() argument
1563 wps_method, persistent_group, pd_before_go_neg, oob_pw_id); in p2p_connect()
1635 dev->wps_method = wps_method; in p2p_connect()
1651 enum p2p_wps_method wps_method, in p2p_authorize() argument
1663 wps_method, persistent_group, oob_pw_id); in p2p_authorize()
1693 dev->wps_method = wps_method; in p2p_authorize()
1797 res.wps_method = peer->wps_method; in p2p_go_complete()
1839 peer->wps_method = WPS_NOT_READY; in p2p_go_complete()
2204 pw_id = p2p_wps_method_pw_id(p2p->go_neg_peer->wps_method); in p2p_build_probe_resp_ies()
[all …]
Dp2p_i.h46 enum p2p_wps_method wps_method; member
814 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
Dp2p_go_neg.c99 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method) in p2p_wps_method_pw_id() argument
101 switch (wps_method) { in p2p_wps_method_pw_id()
118 static const char * p2p_wps_method_str(enum p2p_wps_method wps_method) in p2p_wps_method_str() argument
120 switch (wps_method) { in p2p_wps_method_str()
192 pw_id = p2p_wps_method_pw_id(peer->wps_method); in p2p_build_go_neg_req()
222 if (dev->wps_method == WPS_PIN_DISPLAY) in p2p_connect_send()
224 else if (dev->wps_method == WPS_PIN_KEYPAD) in p2p_connect_send()
226 else if (dev->wps_method == WPS_PBC) in p2p_connect_send()
228 else if (dev->wps_method == WPS_P2PS) in p2p_connect_send()
351 pw_id = p2p_wps_method_pw_id(peer ? peer->wps_method : WPS_NOT_READY); in p2p_build_go_neg_resp()
[all …]
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()
Dp2p.h151 enum p2p_wps_method wps_method; member
1322 enum p2p_wps_method wps_method,
1350 enum p2p_wps_method wps_method,
Dp2p.c239 peer->wps_method = WPS_NOT_READY; in p2p_go_neg_failed()
1569 enum p2p_wps_method wps_method, in p2p_connect() argument
1582 wps_method, persistent_group, pd_before_go_neg, oob_pw_id, in p2p_connect()
1655 dev->wps_method = wps_method; in p2p_connect()
1671 enum p2p_wps_method wps_method, in p2p_authorize() argument
1683 wps_method, persistent_group, oob_pw_id, p2p->allow_6ghz); in p2p_authorize()
1713 dev->wps_method = wps_method; in p2p_authorize()
1817 res.wps_method = peer->wps_method; in p2p_go_complete()
1859 peer->wps_method = WPS_NOT_READY; in p2p_go_complete()
2224 pw_id = p2p_wps_method_pw_id(p2p->go_neg_peer->wps_method); in p2p_build_probe_resp_ies()
[all …]
Dp2p_i.h46 enum p2p_wps_method wps_method; member
820 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method);
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/
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()
Ddbus_new.c1610 res->wps_method))) in wpas_dbus_signal_p2p_go_neg_resp()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/
Ddbus_new_handlers_p2p.c580 enum p2p_wps_method wps_method = WPS_NOT_READY; in wpas_dbus_handler_p2p_connect() local
623 wps_method = WPS_PBC; in wpas_dbus_handler_p2p_connect()
625 wps_method = WPS_PIN_DISPLAY; in wpas_dbus_handler_p2p_connect()
627 wps_method = WPS_PIN_DISPLAY; in wpas_dbus_handler_p2p_connect()
629 wps_method = WPS_PIN_KEYPAD; in wpas_dbus_handler_p2p_connect()
641 if (wps_method == WPS_NOT_READY || in wpas_dbus_handler_p2p_connect()
649 if ((!pin || !pin[0]) && wps_method == WPS_PIN_KEYPAD) in wpas_dbus_handler_p2p_connect()
654 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method, in wpas_dbus_handler_p2p_connect()
Ddbus_new.c1703 res->wps_method))) in wpas_dbus_signal_p2p_go_neg_resp()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dp2p_supplicant.c138 const u8 *dev_addr, enum p2p_wps_method wps_method,
1660 MAC2STR(res->peer_device_addr), res->wps_method); in wpas_start_wps_enrollee()
1665 if (res->wps_method == WPS_PBC) { in wpas_start_wps_enrollee()
1668 } else if (res->wps_method == WPS_NFC) { in wpas_start_wps_enrollee()
1869 if (params->wps_method == WPS_PBC) { in p2p_go_configured()
1873 } else if (params->wps_method == WPS_NFC) { in p2p_go_configured()
2291 p2p_wps_method_text(res->wps_method)); in wpas_go_neg_completed()
4745 enum p2p_wps_method wps_method, in wpas_p2p_start_go_neg() argument
4760 return p2p_connect(wpa_s->global->p2p, peer_addr, wps_method, in wpas_p2p_start_go_neg()
4765 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.c5683 enum p2p_wps_method wps_method; in p2p_ctrl_connect() local
5788 wps_method = WPS_PIN_DISPLAY; in p2p_ctrl_connect()
5790 wps_method = WPS_PBC; in p2p_ctrl_connect()
5792 wps_method = WPS_P2PS; in p2p_ctrl_connect()
5796 wps_method = WPS_PIN_KEYPAD; in p2p_ctrl_connect()
5800 wps_method = WPS_PIN_DISPLAY; in p2p_ctrl_connect()
5808 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method, in p2p_ctrl_connect()
5823 if (wps_method == WPS_PIN_DISPLAY && pin == NULL) { in p2p_ctrl_connect()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dp2p_supplicant.c138 const u8 *dev_addr, enum p2p_wps_method wps_method,
1718 MAC2STR(res->peer_device_addr), res->wps_method); in wpas_start_wps_enrollee()
1723 if (res->wps_method == WPS_PBC) { in wpas_start_wps_enrollee()
1726 } else if (res->wps_method == WPS_NFC) { in wpas_start_wps_enrollee()
1927 if (params->wps_method == WPS_PBC) { in p2p_go_configured()
1931 } else if (params->wps_method == WPS_NFC) { in p2p_go_configured()
2458 p2p_wps_method_text(res->wps_method)); in wpas_go_neg_completed()
5096 enum p2p_wps_method wps_method, in wpas_p2p_start_go_neg() argument
5111 return p2p_connect(wpa_s->global->p2p, peer_addr, wps_method, in wpas_p2p_start_go_neg()
5116 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.c6059 enum p2p_wps_method wps_method; in p2p_ctrl_connect() local
6171 wps_method = WPS_PIN_DISPLAY; in p2p_ctrl_connect()
6173 wps_method = WPS_PBC; in p2p_ctrl_connect()
6175 wps_method = WPS_P2PS; in p2p_ctrl_connect()
6179 wps_method = WPS_PIN_KEYPAD; in p2p_ctrl_connect()
6183 wps_method = WPS_PIN_DISPLAY; in p2p_ctrl_connect()
6191 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method, in p2p_ctrl_connect()
6206 if (wps_method == WPS_PIN_DISPLAY && pin == NULL) { in p2p_ctrl_connect()