/external/wpa_supplicant_8/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 variable in class:P2P_Connect [all...] |
/external/wpa_supplicant_8/hostapd/src/p2p/ |
H A D | p2p_go_neg.c | 99 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method) argument 101 switch (wps_method) { 118 static const char * p2p_wps_method_str(enum p2p_wps_method wps_method) argument 120 switch (wps_method) { 192 pw_id = p2p_wps_method_pw_id(peer->wps_method); 222 if (dev->wps_method == WPS_PIN_DISPLAY) 224 else if (dev->wps_method == WPS_PIN_KEYPAD) 226 else if (dev->wps_method == WPS_PBC) 228 else if (dev->wps_method == WPS_P2PS) 351 pw_id = p2p_wps_method_pw_id(peer ? peer->wps_method [all...] |
H A D | p2p_build.c | 202 if (peer && peer->wps_method != WPS_NOT_READY) { 203 if (peer->wps_method == WPS_PBC) 205 else if (peer->wps_method == WPS_P2PS) 207 else if (peer->wps_method == WPS_PIN_DISPLAY || 208 peer->wps_method == WPS_PIN_KEYPAD)
|
H A D | p2p.h | 142 * wps_method - WPS method to be used during provisioning 144 enum p2p_wps_method wps_method; member in struct:p2p_go_neg_results 1286 * @wps_method: WPS method to be used in provisioning 1304 enum p2p_wps_method wps_method, 1314 * @wps_method: WPS method to be used in provisioning 1332 enum p2p_wps_method wps_method,
|
H A D | p2p.c | 239 peer->wps_method = WPS_NOT_READY; 1559 enum p2p_wps_method wps_method, 1569 " wps_method=%d persistent_group=%d pd_before_go_neg=%d " 1572 wps_method, persistent_group, pd_before_go_neg, oob_pw_id); 1655 dev->wps_method = wps_method; 1672 enum p2p_wps_method wps_method, 1682 " wps_method=%d persistent_group=%d oob_pw_id=%u", 1684 wps_method, persistent_group, oob_pw_id); 1714 dev->wps_method 1558 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) argument 1671 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) argument [all...] |
H A D | p2p_i.h | 46 enum p2p_wps_method wps_method; member in struct:p2p_device 824 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method);
|
/external/wpa_supplicant_8/src/p2p/ |
H A D | p2p_go_neg.c | 99 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method) argument 101 switch (wps_method) { 118 static const char * p2p_wps_method_str(enum p2p_wps_method wps_method) argument 120 switch (wps_method) { 192 pw_id = p2p_wps_method_pw_id(peer->wps_method); 222 if (dev->wps_method == WPS_PIN_DISPLAY) 224 else if (dev->wps_method == WPS_PIN_KEYPAD) 226 else if (dev->wps_method == WPS_PBC) 228 else if (dev->wps_method == WPS_P2PS) 351 pw_id = p2p_wps_method_pw_id(peer ? peer->wps_method [all...] |
H A D | p2p_build.c | 202 if (peer && peer->wps_method != WPS_NOT_READY) { 203 if (peer->wps_method == WPS_PBC) 205 else if (peer->wps_method == WPS_P2PS) 207 else if (peer->wps_method == WPS_PIN_DISPLAY || 208 peer->wps_method == WPS_PIN_KEYPAD)
|
H A D | p2p.h | 142 * wps_method - WPS method to be used during provisioning 144 enum p2p_wps_method wps_method; member in struct:p2p_go_neg_results 1286 * @wps_method: WPS method to be used in provisioning 1304 enum p2p_wps_method wps_method, 1314 * @wps_method: WPS method to be used in provisioning 1332 enum p2p_wps_method wps_method,
|
H A D | p2p.c | 239 peer->wps_method = WPS_NOT_READY; 1559 enum p2p_wps_method wps_method, 1569 " wps_method=%d persistent_group=%d pd_before_go_neg=%d " 1572 wps_method, persistent_group, pd_before_go_neg, oob_pw_id); 1655 dev->wps_method = wps_method; 1672 enum p2p_wps_method wps_method, 1682 " wps_method=%d persistent_group=%d oob_pw_id=%u", 1684 wps_method, persistent_group, oob_pw_id); 1714 dev->wps_method 1558 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) argument 1671 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) argument [all...] |
H A D | p2p_i.h | 46 enum p2p_wps_method wps_method; member in struct:p2p_device 824 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method);
|
/external/wpa_supplicant_8/wpa_supplicant/src/p2p/ |
H A D | p2p_go_neg.c | 99 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method) argument 101 switch (wps_method) { 118 static const char * p2p_wps_method_str(enum p2p_wps_method wps_method) argument 120 switch (wps_method) { 192 pw_id = p2p_wps_method_pw_id(peer->wps_method); 222 if (dev->wps_method == WPS_PIN_DISPLAY) 224 else if (dev->wps_method == WPS_PIN_KEYPAD) 226 else if (dev->wps_method == WPS_PBC) 228 else if (dev->wps_method == WPS_P2PS) 351 pw_id = p2p_wps_method_pw_id(peer ? peer->wps_method [all...] |
H A D | p2p_build.c | 202 if (peer && peer->wps_method != WPS_NOT_READY) { 203 if (peer->wps_method == WPS_PBC) 205 else if (peer->wps_method == WPS_P2PS) 207 else if (peer->wps_method == WPS_PIN_DISPLAY || 208 peer->wps_method == WPS_PIN_KEYPAD)
|
H A D | p2p.h | 142 * wps_method - WPS method to be used during provisioning 144 enum p2p_wps_method wps_method; member in struct:p2p_go_neg_results 1286 * @wps_method: WPS method to be used in provisioning 1304 enum p2p_wps_method wps_method, 1314 * @wps_method: WPS method to be used in provisioning 1332 enum p2p_wps_method wps_method,
|
H A D | p2p.c | 239 peer->wps_method = WPS_NOT_READY; 1559 enum p2p_wps_method wps_method, 1569 " wps_method=%d persistent_group=%d pd_before_go_neg=%d " 1572 wps_method, persistent_group, pd_before_go_neg, oob_pw_id); 1655 dev->wps_method = wps_method; 1672 enum p2p_wps_method wps_method, 1682 " wps_method=%d persistent_group=%d oob_pw_id=%u", 1684 wps_method, persistent_group, oob_pw_id); 1714 dev->wps_method 1558 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) argument 1671 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) argument [all...] |
H A D | p2p_i.h | 46 enum p2p_wps_method wps_method; member in struct:p2p_device 824 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method);
|
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/ |
H A D | p2p_iface.cpp | 688 p2p_wps_method wps_method = {}; local 691 wps_method = WPS_PBC; 694 wps_method = WPS_PIN_DISPLAY; 697 wps_method = WPS_PIN_KEYPAD; 704 wpa_s, peer_address.data(), pin, wps_method,
|
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.1/ |
H A D | p2p_iface.cpp | 688 p2p_wps_method wps_method = {}; local 691 wps_method = WPS_PBC; 694 wps_method = WPS_PIN_DISPLAY; 697 wps_method = WPS_PIN_KEYPAD; 704 wpa_s, peer_address.data(), pin, wps_method,
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
H A D | dbus_new_handlers_p2p.c | 528 enum p2p_wps_method wps_method = WPS_NOT_READY; local 567 } else if (os_strcmp(entry.key, "wps_method") == 0 && 570 wps_method = WPS_PBC; 572 wps_method = WPS_PIN_DISPLAY; 574 wps_method = WPS_PIN_DISPLAY; 576 wps_method = WPS_PIN_KEYPAD; 588 if (wps_method == WPS_NOT_READY || 594 * Validate the wps_method specified and the pin value. 596 if ((!pin || !pin[0]) && wps_method == WPS_PIN_KEYPAD) 601 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method, [all...] |
H A D | dbus_new.c | 1533 !wpa_dbus_dict_append_string(&dict_iter, "wps_method", 1535 res->wps_method)))
|
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | p2p_supplicant.h | 36 const char *pin, enum p2p_wps_method wps_method,
|
H A D | p2p_supplicant.c | 135 const u8 *dev_addr, enum p2p_wps_method wps_method, 1643 " dev_addr " MACSTR " wps_method %d", 1645 MAC2STR(res->peer_device_addr), res->wps_method); 1650 if (res->wps_method == WPS_PBC) { 1653 } else if (res->wps_method == WPS_NFC) { 1845 if (params->wps_method == WPS_PBC) { 1849 } else if (params->wps_method == WPS_NFC) { 2227 " wps_method=%s", 2231 p2p_wps_method_text(res->wps_method)); 4601 enum p2p_wps_method wps_method, 4599 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) argument 4626 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) argument 5067 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) argument 5354 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, const u8 *group_ssid, size_t group_ssid_len) argument [all...] |
H A D | ctrl_iface.c | 5426 enum p2p_wps_method wps_method; local 5529 wps_method = WPS_PIN_DISPLAY; 5531 wps_method = WPS_PBC; 5533 wps_method = WPS_P2PS; 5537 wps_method = WPS_PIN_KEYPAD; 5541 wps_method = WPS_PIN_DISPLAY; 5549 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method, 5564 if (wps_method == WPS_PIN_DISPLAY && pin == NULL) {
|