/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 | 101 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method) argument 103 switch (wps_method) { 116 static const char * p2p_wps_method_str(enum p2p_wps_method wps_method) argument 118 switch (wps_method) { 184 p2p_build_wps_ie(p2p, buf, p2p_wps_method_pw_id(peer->wps_method), 0); 205 if (dev->wps_method == WPS_PIN_DISPLAY) 207 else if (dev->wps_method == WPS_PIN_KEYPAD) 209 else if (dev->wps_method == WPS_PBC) 328 p2p_wps_method_pw_id(peer ? peer->wps_method : 506 } else if (dev == NULL || dev->wps_method [all...] |
H A D | p2p.h | 110 * wps_method - WPS method to be used during provisioning 112 enum p2p_wps_method wps_method; member in struct:p2p_go_neg_results 892 * @wps_method: WPS method to be used in provisioning 908 enum p2p_wps_method wps_method, 918 * @wps_method: WPS method to be used in provisioning 934 enum p2p_wps_method wps_method,
|
H A D | p2p_i.h | 28 enum p2p_wps_method wps_method; member in struct:p2p_device 657 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method);
|
H A D | p2p.c | 244 p2p->go_neg_peer->wps_method = WPS_NOT_READY; 1278 enum p2p_wps_method wps_method, 1289 " wps_method=%d persistent_group=%d pd_before_go_neg=%d force_freq %d", 1291 wps_method, persistent_group, pd_before_go_neg, force_freq); 1368 dev->wps_method = wps_method; 1390 enum p2p_wps_method wps_method, 1400 " wps_method=%d persistent_group=%d", 1402 wps_method, persistent_group); 1432 dev->wps_method 1277 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) argument 1389 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) argument [all...] |
/external/wpa_supplicant_8/src/p2p/ |
H A D | p2p_go_neg.c | 101 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method) argument 103 switch (wps_method) { 116 static const char * p2p_wps_method_str(enum p2p_wps_method wps_method) argument 118 switch (wps_method) { 184 p2p_build_wps_ie(p2p, buf, p2p_wps_method_pw_id(peer->wps_method), 0); 205 if (dev->wps_method == WPS_PIN_DISPLAY) 207 else if (dev->wps_method == WPS_PIN_KEYPAD) 209 else if (dev->wps_method == WPS_PBC) 328 p2p_wps_method_pw_id(peer ? peer->wps_method : 506 } else if (dev == NULL || dev->wps_method [all...] |
H A D | p2p.h | 110 * wps_method - WPS method to be used during provisioning 112 enum p2p_wps_method wps_method; member in struct:p2p_go_neg_results 892 * @wps_method: WPS method to be used in provisioning 908 enum p2p_wps_method wps_method, 918 * @wps_method: WPS method to be used in provisioning 934 enum p2p_wps_method wps_method,
|
H A D | p2p_i.h | 28 enum p2p_wps_method wps_method; member in struct:p2p_device 657 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method);
|
H A D | p2p.c | 244 p2p->go_neg_peer->wps_method = WPS_NOT_READY; 1278 enum p2p_wps_method wps_method, 1289 " wps_method=%d persistent_group=%d pd_before_go_neg=%d force_freq %d", 1291 wps_method, persistent_group, pd_before_go_neg, force_freq); 1368 dev->wps_method = wps_method; 1390 enum p2p_wps_method wps_method, 1400 " wps_method=%d persistent_group=%d", 1402 wps_method, persistent_group); 1432 dev->wps_method 1277 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) argument 1389 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) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/p2p/ |
H A D | p2p_go_neg.c | 101 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method) argument 103 switch (wps_method) { 116 static const char * p2p_wps_method_str(enum p2p_wps_method wps_method) argument 118 switch (wps_method) { 184 p2p_build_wps_ie(p2p, buf, p2p_wps_method_pw_id(peer->wps_method), 0); 205 if (dev->wps_method == WPS_PIN_DISPLAY) 207 else if (dev->wps_method == WPS_PIN_KEYPAD) 209 else if (dev->wps_method == WPS_PBC) 328 p2p_wps_method_pw_id(peer ? peer->wps_method : 506 } else if (dev == NULL || dev->wps_method [all...] |
H A D | p2p.h | 110 * wps_method - WPS method to be used during provisioning 112 enum p2p_wps_method wps_method; member in struct:p2p_go_neg_results 892 * @wps_method: WPS method to be used in provisioning 908 enum p2p_wps_method wps_method, 918 * @wps_method: WPS method to be used in provisioning 934 enum p2p_wps_method wps_method,
|
H A D | p2p_i.h | 28 enum p2p_wps_method wps_method; member in struct:p2p_device 657 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method);
|
H A D | p2p.c | 244 p2p->go_neg_peer->wps_method = WPS_NOT_READY; 1278 enum p2p_wps_method wps_method, 1289 " wps_method=%d persistent_group=%d pd_before_go_neg=%d force_freq %d", 1291 wps_method, persistent_group, pd_before_go_neg, force_freq); 1368 dev->wps_method = wps_method; 1390 enum p2p_wps_method wps_method, 1400 " wps_method=%d persistent_group=%d", 1402 wps_method, persistent_group); 1432 dev->wps_method 1277 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) argument 1389 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) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
H A D | dbus_new_handlers_p2p.c | 434 enum p2p_wps_method wps_method = WPS_NOT_READY; local 473 } else if (!os_strcmp(entry.key, "wps_method") && 476 wps_method = WPS_PBC; 478 wps_method = WPS_PIN_DISPLAY; 480 wps_method = WPS_PIN_DISPLAY; 482 wps_method = WPS_PIN_KEYPAD; 494 if (!peer_object_path || (wps_method == WPS_NOT_READY) || 500 * Validate the wps_method specified and the pin value. 502 if ((!pin || !pin[0]) && (wps_method == WPS_PIN_KEYPAD)) 505 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method, [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | driver_i.h | 542 const u8 *peer_addr, int wps_method, 551 wps_method, go_intent, 541 wpa_drv_p2p_connect(struct wpa_supplicant *wpa_s, const u8 *peer_addr, int wps_method, int go_intent, const u8 *own_interface_addr, unsigned int force_freq, int persistent_group) argument
|
H A D | ctrl_iface.c | 3104 enum p2p_wps_method wps_method; local 3167 wps_method = WPS_PIN_DISPLAY; 3169 wps_method = WPS_PBC; 3173 wps_method = WPS_PIN_KEYPAD; 3177 wps_method = WPS_PIN_DISPLAY; 3185 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method, 3199 if (wps_method == WPS_PIN_DISPLAY && pin == NULL) {
|
H A D | p2p_supplicant.c | 90 const u8 *dev_addr, enum p2p_wps_method wps_method, 806 if (res->wps_method == WPS_PBC) 859 if (params->wps_method == WPS_PBC) 2969 enum p2p_wps_method wps_method, 2978 return wpa_drv_p2p_connect(wpa_s, peer_addr, wps_method, 2990 return p2p_connect(wpa_s->global->p2p, peer_addr, wps_method, 3000 enum p2p_wps_method wps_method, 3011 return p2p_authorize(wpa_s->global->p2p, peer_addr, wps_method, 3399 const u8 *dev_addr, enum p2p_wps_method wps_method, 3411 wpa_s->pending_join_wps_method = wps_method; 2967 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) argument 2998 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) argument 3398 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) argument 3496 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) argument [all...] |
/external/wpa_supplicant_8/hostapd/src/drivers/ |
H A D | driver_test.c | 2856 int wps_method, int go_intent, 2863 wpa_printf(MSG_DEBUG, "%s(peer_addr=" MACSTR " wps_method=%d " 2867 __func__, MAC2STR(peer_addr), wps_method, go_intent, 2871 return p2p_connect(drv->p2p, peer_addr, wps_method, go_intent, 2855 wpa_driver_test_p2p_connect(void *priv, const u8 *peer_addr, int wps_method, int go_intent, const u8 *own_interface_addr, unsigned int force_freq, int persistent_group) argument
|
/external/wpa_supplicant_8/src/drivers/ |
H A D | driver_test.c | 2856 int wps_method, int go_intent, 2863 wpa_printf(MSG_DEBUG, "%s(peer_addr=" MACSTR " wps_method=%d " 2867 __func__, MAC2STR(peer_addr), wps_method, go_intent, 2871 return p2p_connect(drv->p2p, peer_addr, wps_method, go_intent, 2855 wpa_driver_test_p2p_connect(void *priv, const u8 *peer_addr, int wps_method, int go_intent, const u8 *own_interface_addr, unsigned int force_freq, int persistent_group) argument
|
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/ |
H A D | driver_test.c | 2856 int wps_method, int go_intent, 2863 wpa_printf(MSG_DEBUG, "%s(peer_addr=" MACSTR " wps_method=%d " 2867 __func__, MAC2STR(peer_addr), wps_method, go_intent, 2871 return p2p_connect(drv->p2p, peer_addr, wps_method, go_intent, 2855 wpa_driver_test_p2p_connect(void *priv, const u8 *peer_addr, int wps_method, int go_intent, const u8 *own_interface_addr, unsigned int force_freq, int persistent_group) argument
|