/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/examples/p2p/ |
H A D | p2p_connect.py | 17 print(" %s -i <interface_name> -m <wps_method> \ " \ 63 global wps_method 79 pin,wps_method,go_intent): 83 self.wps_method = wps_method 152 self.p2p_connect_arguements = {'wps_method':self.wps_method, 156 if (self.wps_method == 'display'): 160 print("Error:\n Pin required for wps_method=display") 170 elif (self.wps_method 224 wps_method = None global() variable in P2P_Connect [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/examples/p2p/ |
H A D | p2p_connect.py | 17 print(" %s -i <interface_name> -m <wps_method> \ " \ 63 global wps_method 79 pin,wps_method,go_intent): 83 self.wps_method = wps_method 152 self.p2p_connect_arguements = {'wps_method':self.wps_method, 156 if (self.wps_method == 'display'): 160 print("Error:\n Pin required for wps_method=display") 170 elif (self.wps_method 224 wps_method = None global() variable in P2P_Connect [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
H A D | p2p_go_neg.c | 99 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 in p2p_build_go_neg_resp() [all...] |
H A D | p2p_build.c | 202 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()
|
H A D | p2p.h | 147 * wps_method - WPS method to be used during provisioning 149 enum p2p_wps_method wps_method; member 1293 * @wps_method: WPS method to be used in provisioning 1311 enum p2p_wps_method wps_method, 1321 * @wps_method: WPS method to be used in provisioning 1339 enum p2p_wps_method wps_method,
|
H A D | p2p.c | 239 peer->wps_method = WPS_NOT_READY; in p2p_go_neg_failed() 1550 enum p2p_wps_method wps_method, in p2p_connect() 1560 " wps_method=%d persistent_group=%d pd_before_go_neg=%d " in p2p_connect() 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() 1661 " wps_method=%d persistent_group=%d oob_pw_id=%u", in p2p_authorize() 1663 wps_method, persistent_group, oob_pw_id); in p2p_authorize() 1693 dev->wps_method in p2p_authorize() 1549 p2p_connect(struct p2p_data *p2p, const u8 *peer_addr, enum p2p_wps_method wps_method, int go_intent, const u8 *own_interface_addr, unsigned int force_freq, int persistent_group, const u8 *force_ssid, size_t force_ssid_len, int pd_before_go_neg, unsigned int pref_freq, u16 oob_pw_id) p2p_connect() argument 1650 p2p_authorize(struct p2p_data *p2p, const u8 *peer_addr, enum p2p_wps_method wps_method, int go_intent, const u8 *own_interface_addr, unsigned int force_freq, int persistent_group, const u8 *force_ssid, size_t force_ssid_len, unsigned int pref_freq, u16 oob_pw_id) p2p_authorize() argument [all...] |
H A D | p2p_i.h | 46 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/ |
H A D | p2p_go_neg.c | 109 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method) in p2p_wps_method_pw_id() argument 111 switch (wps_method) { in p2p_wps_method_pw_id() 128 static const char * p2p_wps_method_str(enum p2p_wps_method wps_method) in p2p_wps_method_str() argument 130 switch (wps_method) { in p2p_wps_method_str() 202 pw_id = p2p_wps_method_pw_id(peer->wps_method); in p2p_build_go_neg_req() 232 if (dev->wps_method == WPS_PIN_DISPLAY) in p2p_connect_send() 234 else if (dev->wps_method == WPS_PIN_KEYPAD) in p2p_connect_send() 236 else if (dev->wps_method == WPS_PBC) in p2p_connect_send() 238 else if (dev->wps_method == WPS_P2PS) in p2p_connect_send() 361 pw_id = p2p_wps_method_pw_id(peer ? peer->wps_method in p2p_build_go_neg_resp() [all...] |
H A D | p2p_build.c | 202 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()
|
H A D | p2p.h | 149 * wps_method - WPS method to be used during provisioning 151 enum p2p_wps_method wps_method; member 1320 * @wps_method: WPS method to be used in provisioning 1338 enum p2p_wps_method wps_method, 1348 * @wps_method: WPS method to be used in provisioning 1366 enum p2p_wps_method wps_method,
|
H A D | p2p.c | 289 peer->wps_method = WPS_NOT_READY; in p2p_go_neg_failed() 1672 enum p2p_wps_method wps_method, 1682 " wps_method=%d persistent_group=%d pd_before_go_neg=%d " 1685 wps_method, persistent_group, pd_before_go_neg, oob_pw_id, 1758 dev->wps_method = wps_method; 1774 enum p2p_wps_method wps_method, 1784 " wps_method=%d persistent_group=%d oob_pw_id=%u allow_6ghz=%d", 1786 wps_method, persistent_group, oob_pw_id, p2p->allow_6ghz); 1816 dev->wps_method 1671 p2p_connect(struct p2p_data *p2p, const u8 *peer_addr, enum p2p_wps_method wps_method, int go_intent, const u8 *own_interface_addr, unsigned int force_freq, int persistent_group, const u8 *force_ssid, size_t force_ssid_len, int pd_before_go_neg, unsigned int pref_freq, u16 oob_pw_id) global() argument 1773 p2p_authorize(struct p2p_data *p2p, const u8 *peer_addr, enum p2p_wps_method wps_method, int go_intent, const u8 *own_interface_addr, unsigned int force_freq, int persistent_group, const u8 *force_ssid, size_t force_ssid_len, unsigned int pref_freq, u16 oob_pw_id) global() argument [all...] |
H A D | p2p_i.h | 46 enum p2p_wps_method wps_method; member 873 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/ |
H A D | dbus_new_handlers_p2p.c | 532 enum p2p_wps_method wps_method = WPS_NOT_READY; in wpas_dbus_handler_p2p_connect() local 572 } else if (os_strcmp(entry.key, "wps_method") == 0 && in wpas_dbus_handler_p2p_connect() 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() 599 * Validate the wps_method specified and the pin value. 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() [all...] |
H A D | dbus_new.c | 1608 !wpa_dbus_dict_append_string(&dict_iter, "wps_method", in wpas_dbus_signal_p2p_go_neg_resp() 1610 res->wps_method))) in wpas_dbus_signal_p2p_go_neg_resp()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/ |
H A D | dbus_new_handlers_p2p.c | 580 enum p2p_wps_method wps_method = WPS_NOT_READY; in wpas_dbus_handler_p2p_connect() local 620 } else if (os_strcmp(entry.key, "wps_method") == 0 && in wpas_dbus_handler_p2p_connect() 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() 647 * Validate the wps_method specified and the pin value. 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() [all...] |
H A D | dbus_new.c | 1707 !wpa_dbus_dict_append_string(&dict_iter, "wps_method", in wpas_dbus_signal_p2p_go_neg_resp() 1709 res->wps_method))) in wpas_dbus_signal_p2p_go_neg_resp()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | p2p_supplicant.c | 138 const u8 *dev_addr, enum p2p_wps_method wps_method, 1658 " dev_addr " MACSTR " wps_method %d", in wpas_start_wps_enrollee() 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() 2287 " wps_method=%s", in wpas_go_neg_completed() 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() 4743 wpas_p2p_start_go_neg(struct wpa_supplicant *wpa_s, const u8 *peer_addr, enum p2p_wps_method wps_method, int go_intent, const u8 *own_interface_addr, unsigned int force_freq, int persistent_group, struct wpa_ssid *ssid, unsigned int pref_freq) wpas_p2p_start_go_neg() argument 4770 wpas_p2p_auth_go_neg(struct wpa_supplicant *wpa_s, const u8 *peer_addr, enum p2p_wps_method wps_method, int go_intent, const u8 *own_interface_addr, unsigned int force_freq, int persistent_group, struct wpa_ssid *ssid, unsigned int pref_freq) wpas_p2p_auth_go_neg() argument 5212 wpas_p2p_join(struct wpa_supplicant *wpa_s, const u8 *iface_addr, const u8 *dev_addr, enum p2p_wps_method wps_method, int auto_join, int op_freq, const u8 *ssid, size_t ssid_len) wpas_p2p_join() argument 5501 wpas_p2p_connect(struct wpa_supplicant *wpa_s, const u8 *peer_addr, const char *pin, enum p2p_wps_method wps_method, int persistent_group, int auto_join, int join, int auth, int go_intent, int freq, unsigned int vht_center_freq2, int persistent_id, int pd, int ht40, int vht, unsigned int vht_chwidth, int he, const u8 *group_ssid, size_t group_ssid_len) wpas_p2p_connect() argument [all...] |
H A D | p2p_supplicant.h | 36 const char *pin, enum p2p_wps_method wps_method,
|
H A D | ctrl_iface.c | 5683 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/ |
H A D | p2p_supplicant.c | 180 const u8 *dev_addr, enum p2p_wps_method wps_method, 1930 " dev_addr " MACSTR_SEC " wps_method %d", in wpas_start_wps_enrollee() 1932 MAC2STR_SEC(res->peer_device_addr), res->wps_method); in wpas_start_wps_enrollee() 1937 if (res->wps_method == WPS_PBC) { in wpas_start_wps_enrollee() 1940 } else if (res->wps_method == WPS_NFC) { in wpas_start_wps_enrollee() 2146 if (params->wps_method == WPS_PBC) { in p2p_go_configured() 2150 } else if (params->wps_method == WPS_NFC) { in p2p_go_configured() 2750 " wps_method=%s", in wpas_go_neg_completed() 2754 p2p_wps_method_text(res->wps_method)); in wpas_go_neg_completed() 2757 " wps_method in wpas_go_neg_completed() 5838 wpas_p2p_start_go_neg(struct wpa_supplicant *wpa_s, const u8 *peer_addr, enum p2p_wps_method wps_method, int go_intent, const u8 *own_interface_addr, unsigned int force_freq, int persistent_group, struct wpa_ssid *ssid, unsigned int pref_freq) global() argument 5865 wpas_p2p_auth_go_neg(struct wpa_supplicant *wpa_s, const u8 *peer_addr, enum p2p_wps_method wps_method, int go_intent, const u8 *own_interface_addr, unsigned int force_freq, int persistent_group, struct wpa_ssid *ssid, unsigned int pref_freq) global() argument 6350 wpas_p2p_join(struct wpa_supplicant *wpa_s, const u8 *iface_addr, const u8 *dev_addr, enum p2p_wps_method wps_method, int auto_join, int op_freq, const u8 *ssid, size_t ssid_len) global() argument 6682 wpas_p2p_connect(struct wpa_supplicant *wpa_s, const u8 *peer_addr, const char *pin, enum p2p_wps_method wps_method, int persistent_group, int auto_join, int join, int auth, int go_intent, int freq, unsigned int vht_center_freq2, int persistent_id, int pd, int ht40, int vht, unsigned int vht_chwidth, int he, int edmg, const u8 *group_ssid, size_t group_ssid_len, bool allow_6ghz) global() argument [all...] |
H A D | p2p_supplicant.h | 45 const char *pin, enum p2p_wps_method wps_method,
|
H A D | ctrl_iface.c | 6443 enum p2p_wps_method wps_method; local 6563 wps_method = WPS_PIN_DISPLAY; 6565 wps_method = WPS_PBC; 6567 wps_method = WPS_P2PS; 6571 wps_method = WPS_PIN_KEYPAD; 6575 wps_method = WPS_PIN_DISPLAY; 6583 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method, 6598 if (wps_method == WPS_PIN_DISPLAY && pin == NULL) {
|