Searched refs:wps_method (Results 1 - 25 of 28) sorted by relevance

12

/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/
H A Dp2p_connect.py17 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 Dp2p_go_neg.c97 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method) argument
99 switch (wps_method) {
112 static const char * p2p_wps_method_str(enum p2p_wps_method wps_method) argument
114 switch (wps_method) {
175 p2p_build_wps_ie(p2p, buf, p2p_wps_method_pw_id(peer->wps_method), 0);
195 if (dev->wps_method == WPS_PIN_DISPLAY)
197 else if (dev->wps_method == WPS_PIN_KEYPAD)
199 else if (dev->wps_method == WPS_PBC)
311 p2p_wps_method_pw_id(peer ? peer->wps_method :
601 } else if (dev == NULL || dev->wps_method
[all...]
H A Dp2p_build.c166 if (peer && peer->wps_method != WPS_NOT_READY) {
167 if (peer->wps_method == WPS_PBC)
169 else if (peer->wps_method == WPS_PIN_DISPLAY ||
170 peer->wps_method == WPS_PIN_KEYPAD)
H A Dp2p.h116 * wps_method - WPS method to be used during provisioning
118 enum p2p_wps_method wps_method; member in struct:p2p_go_neg_results
916 * @wps_method: WPS method to be used in provisioning
934 enum p2p_wps_method wps_method,
944 * @wps_method: WPS method to be used in provisioning
962 enum p2p_wps_method wps_method,
H A Dp2p.c249 p2p->go_neg_peer->wps_method = WPS_NOT_READY;
1349 enum p2p_wps_method wps_method,
1359 " wps_method=%d persistent_group=%d pd_before_go_neg=%d",
1361 wps_method, persistent_group, pd_before_go_neg);
1443 dev->wps_method = wps_method;
1459 enum p2p_wps_method wps_method,
1469 " wps_method=%d persistent_group=%d",
1471 wps_method, persistent_group);
1500 dev->wps_method
1348 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) argument
1458 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) argument
[all...]
H A Dp2p_i.h28 enum p2p_wps_method wps_method; member in struct:p2p_device
665 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method);
/external/wpa_supplicant_8/src/p2p/
H A Dp2p_go_neg.c97 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method) argument
99 switch (wps_method) {
112 static const char * p2p_wps_method_str(enum p2p_wps_method wps_method) argument
114 switch (wps_method) {
175 p2p_build_wps_ie(p2p, buf, p2p_wps_method_pw_id(peer->wps_method), 0);
195 if (dev->wps_method == WPS_PIN_DISPLAY)
197 else if (dev->wps_method == WPS_PIN_KEYPAD)
199 else if (dev->wps_method == WPS_PBC)
311 p2p_wps_method_pw_id(peer ? peer->wps_method :
601 } else if (dev == NULL || dev->wps_method
[all...]
H A Dp2p_build.c166 if (peer && peer->wps_method != WPS_NOT_READY) {
167 if (peer->wps_method == WPS_PBC)
169 else if (peer->wps_method == WPS_PIN_DISPLAY ||
170 peer->wps_method == WPS_PIN_KEYPAD)
H A Dp2p.h116 * wps_method - WPS method to be used during provisioning
118 enum p2p_wps_method wps_method; member in struct:p2p_go_neg_results
916 * @wps_method: WPS method to be used in provisioning
934 enum p2p_wps_method wps_method,
944 * @wps_method: WPS method to be used in provisioning
962 enum p2p_wps_method wps_method,
H A Dp2p.c249 p2p->go_neg_peer->wps_method = WPS_NOT_READY;
1349 enum p2p_wps_method wps_method,
1359 " wps_method=%d persistent_group=%d pd_before_go_neg=%d",
1361 wps_method, persistent_group, pd_before_go_neg);
1443 dev->wps_method = wps_method;
1459 enum p2p_wps_method wps_method,
1469 " wps_method=%d persistent_group=%d",
1471 wps_method, persistent_group);
1500 dev->wps_method
1348 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) argument
1458 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) argument
[all...]
H A Dp2p_i.h28 enum p2p_wps_method wps_method; member in struct:p2p_device
665 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method);
/external/wpa_supplicant_8/wpa_supplicant/src/p2p/
H A Dp2p_go_neg.c97 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method) argument
99 switch (wps_method) {
112 static const char * p2p_wps_method_str(enum p2p_wps_method wps_method) argument
114 switch (wps_method) {
175 p2p_build_wps_ie(p2p, buf, p2p_wps_method_pw_id(peer->wps_method), 0);
195 if (dev->wps_method == WPS_PIN_DISPLAY)
197 else if (dev->wps_method == WPS_PIN_KEYPAD)
199 else if (dev->wps_method == WPS_PBC)
311 p2p_wps_method_pw_id(peer ? peer->wps_method :
601 } else if (dev == NULL || dev->wps_method
[all...]
H A Dp2p_build.c166 if (peer && peer->wps_method != WPS_NOT_READY) {
167 if (peer->wps_method == WPS_PBC)
169 else if (peer->wps_method == WPS_PIN_DISPLAY ||
170 peer->wps_method == WPS_PIN_KEYPAD)
H A Dp2p.h116 * wps_method - WPS method to be used during provisioning
118 enum p2p_wps_method wps_method; member in struct:p2p_go_neg_results
916 * @wps_method: WPS method to be used in provisioning
934 enum p2p_wps_method wps_method,
944 * @wps_method: WPS method to be used in provisioning
962 enum p2p_wps_method wps_method,
H A Dp2p.c249 p2p->go_neg_peer->wps_method = WPS_NOT_READY;
1349 enum p2p_wps_method wps_method,
1359 " wps_method=%d persistent_group=%d pd_before_go_neg=%d",
1361 wps_method, persistent_group, pd_before_go_neg);
1443 dev->wps_method = wps_method;
1459 enum p2p_wps_method wps_method,
1469 " wps_method=%d persistent_group=%d",
1471 wps_method, persistent_group);
1500 dev->wps_method
1348 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) argument
1458 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) argument
[all...]
H A Dp2p_i.h28 enum p2p_wps_method wps_method; member in struct:p2p_device
665 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method);
/external/wpa_supplicant_8/wpa_supplicant/dbus/
H A Ddbus_new_handlers_p2p.c435 enum p2p_wps_method wps_method = WPS_NOT_READY; local
474 } else if (!os_strcmp(entry.key, "wps_method") &&
477 wps_method = WPS_PBC;
479 wps_method = WPS_PIN_DISPLAY;
481 wps_method = WPS_PIN_DISPLAY;
483 wps_method = WPS_PIN_KEYPAD;
495 if (!peer_object_path || (wps_method == WPS_NOT_READY) ||
501 * Validate the wps_method specified and the pin value.
503 if ((!pin || !pin[0]) && (wps_method == WPS_PIN_KEYPAD))
506 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method,
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Ddriver_i.h543 const u8 *peer_addr, int wps_method,
552 wps_method, go_intent,
542 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 Dp2p_supplicant.h24 const char *pin, enum p2p_wps_method wps_method,
H A Dp2p_supplicant.c105 const u8 *dev_addr, enum p2p_wps_method wps_method,
910 if (res->wps_method == WPS_PBC)
1020 if (params->wps_method == WPS_PBC)
1322 " wps_method=%s",
1326 p2p_wps_method_text(res->wps_method));
3490 enum p2p_wps_method wps_method,
3499 return wpa_drv_p2p_connect(wpa_s, peer_addr, wps_method,
3511 return p2p_connect(wpa_s->global->p2p, peer_addr, wps_method,
3521 enum p2p_wps_method wps_method,
3532 return p2p_authorize(wpa_s->global->p2p, peer_addr, wps_method,
3488 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
3519 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
3891 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
4081 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...]
H A Dctrl_iface.c3696 enum p2p_wps_method wps_method; local
3759 wps_method = WPS_PIN_DISPLAY;
3761 wps_method = WPS_PBC;
3765 wps_method = WPS_PIN_KEYPAD;
3769 wps_method = WPS_PIN_DISPLAY;
3777 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method,
3791 if (wps_method == WPS_PIN_DISPLAY && pin == NULL) {
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver.h2361 * @wps_method: enum p2p_wps_method value indicating config method
2373 int (*p2p_connect)(void *priv, const u8 *peer_addr, int wps_method,
H A Ddriver_test.c2844 int wps_method, int go_intent,
2851 wpa_printf(MSG_DEBUG, "%s(peer_addr=" MACSTR " wps_method=%d "
2855 __func__, MAC2STR(peer_addr), wps_method, go_intent,
2859 return p2p_connect(drv->p2p, peer_addr, wps_method, go_intent,
2843 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 Ddriver.h2361 * @wps_method: enum p2p_wps_method value indicating config method
2373 int (*p2p_connect)(void *priv, const u8 *peer_addr, int wps_method,
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver.h2361 * @wps_method: enum p2p_wps_method value indicating config method
2373 int (*p2p_connect)(void *priv, const u8 *peer_addr, int wps_method,

Completed in 358 milliseconds

12