/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) { 189 pw_id = p2p_wps_method_pw_id(peer->wps_method); 219 if (dev->wps_method == WPS_PIN_DISPLAY) 221 else if (dev->wps_method == WPS_PIN_KEYPAD) 223 else if (dev->wps_method == WPS_PBC) 225 else if (dev->wps_method == WPS_P2PS) 343 pw_id = p2p_wps_method_pw_id(peer ? peer->wps_method [all...] |
H A D | p2p_build.c | 163 if (peer && peer->wps_method != WPS_NOT_READY) { 164 if (peer->wps_method == WPS_PBC) 166 else if (peer->wps_method == WPS_PIN_DISPLAY || 167 peer->wps_method == WPS_PIN_KEYPAD) {
|
H A D | p2p_i.h | 46 enum p2p_wps_method wps_method; member in struct:p2p_device 792 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method);
|
H A D | p2p.h | 132 * wps_method - WPS method to be used during provisioning 134 enum p2p_wps_method wps_method; member in struct:p2p_go_neg_results 1198 * @wps_method: WPS method to be used in provisioning 1216 enum p2p_wps_method wps_method, 1226 * @wps_method: WPS method to be used in provisioning 1244 enum p2p_wps_method wps_method,
|
H A D | p2p.c | 248 peer->wps_method = WPS_NOT_READY; 1539 enum p2p_wps_method wps_method, 1549 " wps_method=%d persistent_group=%d pd_before_go_neg=%d " 1552 wps_method, persistent_group, pd_before_go_neg, oob_pw_id); 1635 dev->wps_method = wps_method; 1652 enum p2p_wps_method wps_method, 1662 " wps_method=%d persistent_group=%d oob_pw_id=%u", 1664 wps_method, persistent_group, oob_pw_id); 1694 dev->wps_method 1538 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 1651 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...] |
/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) { 189 pw_id = p2p_wps_method_pw_id(peer->wps_method); 219 if (dev->wps_method == WPS_PIN_DISPLAY) 221 else if (dev->wps_method == WPS_PIN_KEYPAD) 223 else if (dev->wps_method == WPS_PBC) 225 else if (dev->wps_method == WPS_P2PS) 343 pw_id = p2p_wps_method_pw_id(peer ? peer->wps_method [all...] |
H A D | p2p_build.c | 163 if (peer && peer->wps_method != WPS_NOT_READY) { 164 if (peer->wps_method == WPS_PBC) 166 else if (peer->wps_method == WPS_PIN_DISPLAY || 167 peer->wps_method == WPS_PIN_KEYPAD) {
|
H A D | p2p_i.h | 46 enum p2p_wps_method wps_method; member in struct:p2p_device 792 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method);
|
H A D | p2p.h | 132 * wps_method - WPS method to be used during provisioning 134 enum p2p_wps_method wps_method; member in struct:p2p_go_neg_results 1198 * @wps_method: WPS method to be used in provisioning 1216 enum p2p_wps_method wps_method, 1226 * @wps_method: WPS method to be used in provisioning 1244 enum p2p_wps_method wps_method,
|
H A D | p2p.c | 248 peer->wps_method = WPS_NOT_READY; 1539 enum p2p_wps_method wps_method, 1549 " wps_method=%d persistent_group=%d pd_before_go_neg=%d " 1552 wps_method, persistent_group, pd_before_go_neg, oob_pw_id); 1635 dev->wps_method = wps_method; 1652 enum p2p_wps_method wps_method, 1662 " wps_method=%d persistent_group=%d oob_pw_id=%u", 1664 wps_method, persistent_group, oob_pw_id); 1694 dev->wps_method 1538 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 1651 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...] |
/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) { 189 pw_id = p2p_wps_method_pw_id(peer->wps_method); 219 if (dev->wps_method == WPS_PIN_DISPLAY) 221 else if (dev->wps_method == WPS_PIN_KEYPAD) 223 else if (dev->wps_method == WPS_PBC) 225 else if (dev->wps_method == WPS_P2PS) 343 pw_id = p2p_wps_method_pw_id(peer ? peer->wps_method [all...] |
H A D | p2p_build.c | 163 if (peer && peer->wps_method != WPS_NOT_READY) { 164 if (peer->wps_method == WPS_PBC) 166 else if (peer->wps_method == WPS_PIN_DISPLAY || 167 peer->wps_method == WPS_PIN_KEYPAD) {
|
H A D | p2p_i.h | 46 enum p2p_wps_method wps_method; member in struct:p2p_device 792 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method);
|
H A D | p2p.h | 132 * wps_method - WPS method to be used during provisioning 134 enum p2p_wps_method wps_method; member in struct:p2p_go_neg_results 1198 * @wps_method: WPS method to be used in provisioning 1216 enum p2p_wps_method wps_method, 1226 * @wps_method: WPS method to be used in provisioning 1244 enum p2p_wps_method wps_method,
|
H A D | p2p.c | 248 peer->wps_method = WPS_NOT_READY; 1539 enum p2p_wps_method wps_method, 1549 " wps_method=%d persistent_group=%d pd_before_go_neg=%d " 1552 wps_method, persistent_group, pd_before_go_neg, oob_pw_id); 1635 dev->wps_method = wps_method; 1652 enum p2p_wps_method wps_method, 1662 " wps_method=%d persistent_group=%d oob_pw_id=%u", 1664 wps_method, persistent_group, oob_pw_id); 1694 dev->wps_method 1538 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 1651 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...] |
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
H A D | dbus_new_handlers_p2p.c | 510 enum p2p_wps_method wps_method = WPS_NOT_READY; local 549 } else if (os_strcmp(entry.key, "wps_method") == 0 && 552 wps_method = WPS_PBC; 554 wps_method = WPS_PIN_DISPLAY; 556 wps_method = WPS_PIN_DISPLAY; 558 wps_method = WPS_PIN_KEYPAD; 570 if (wps_method == WPS_NOT_READY || 576 * Validate the wps_method specified and the pin value. 578 if ((!pin || !pin[0]) && wps_method == WPS_PIN_KEYPAD) 583 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method, [all...] |
H A D | dbus_new.c | 1383 !wpa_dbus_dict_append_string(&dict_iter, "wps_method", 1385 res->wps_method)))
|
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | p2p_supplicant.c | 111 const u8 *dev_addr, enum p2p_wps_method wps_method, 1551 " dev_addr " MACSTR " wps_method %d", 1553 MAC2STR(res->peer_device_addr), res->wps_method); 1558 if (res->wps_method == WPS_PBC) { 1561 } else if (res->wps_method == WPS_NFC) { 1736 if (params->wps_method == WPS_PBC) { 1740 } else if (params->wps_method == WPS_NFC) { 2091 " wps_method=%s", 2095 p2p_wps_method_text(res->wps_method)); 4167 enum p2p_wps_method wps_method, 4165 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 4192 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 4615 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 4839 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, int persistent_id, int pd, int ht40, int vht) argument [all...] |
H A D | p2p_supplicant.h | 27 const char *pin, enum p2p_wps_method wps_method,
|
H A D | ctrl_iface.c | 4803 enum p2p_wps_method wps_method; local 4876 wps_method = WPS_PIN_DISPLAY; 4878 wps_method = WPS_PBC; 4882 wps_method = WPS_PIN_KEYPAD; 4886 wps_method = WPS_PIN_DISPLAY; 4888 wps_method = WPS_P2PS; 4896 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method, 4910 if (wps_method == WPS_PIN_DISPLAY && pin == NULL) {
|