Searched defs:wps_method (Results 1 - 16 of 16) sorted by relevance

/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.c99 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)
346 pw_id = p2p_wps_method_pw_id(peer ? peer->wps_method
[all...]
H A Dp2p.h142 * 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 Dp2p_i.h46 enum p2p_wps_method wps_method; member in struct:p2p_device
817 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method);
H A Dp2p.c239 peer->wps_method = WPS_NOT_READY;
1536 enum p2p_wps_method wps_method,
1546 " wps_method=%d persistent_group=%d pd_before_go_neg=%d "
1549 wps_method, persistent_group, pd_before_go_neg, oob_pw_id);
1632 dev->wps_method = wps_method;
1649 enum p2p_wps_method wps_method,
1659 " wps_method=%d persistent_group=%d oob_pw_id=%u",
1661 wps_method, persistent_group, oob_pw_id);
1691 dev->wps_method
1535 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
1648 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 Dp2p_go_neg.c99 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)
346 pw_id = p2p_wps_method_pw_id(peer ? peer->wps_method
[all...]
H A Dp2p.h142 * 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 Dp2p_i.h46 enum p2p_wps_method wps_method; member in struct:p2p_device
817 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method);
H A Dp2p.c239 peer->wps_method = WPS_NOT_READY;
1536 enum p2p_wps_method wps_method,
1546 " wps_method=%d persistent_group=%d pd_before_go_neg=%d "
1549 wps_method, persistent_group, pd_before_go_neg, oob_pw_id);
1632 dev->wps_method = wps_method;
1649 enum p2p_wps_method wps_method,
1659 " wps_method=%d persistent_group=%d oob_pw_id=%u",
1661 wps_method, persistent_group, oob_pw_id);
1691 dev->wps_method
1535 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
1648 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 Dp2p_go_neg.c99 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)
346 pw_id = p2p_wps_method_pw_id(peer ? peer->wps_method
[all...]
H A Dp2p.h142 * 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 Dp2p_i.h46 enum p2p_wps_method wps_method; member in struct:p2p_device
817 u16 p2p_wps_method_pw_id(enum p2p_wps_method wps_method);
H A Dp2p.c239 peer->wps_method = WPS_NOT_READY;
1536 enum p2p_wps_method wps_method,
1546 " wps_method=%d persistent_group=%d pd_before_go_neg=%d "
1549 wps_method, persistent_group, pd_before_go_neg, oob_pw_id);
1632 dev->wps_method = wps_method;
1649 enum p2p_wps_method wps_method,
1659 " wps_method=%d persistent_group=%d oob_pw_id=%u",
1661 wps_method, persistent_group, oob_pw_id);
1691 dev->wps_method
1535 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
1648 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 Ddbus_new_handlers_p2p.c511 enum p2p_wps_method wps_method = WPS_NOT_READY; local
550 } else if (os_strcmp(entry.key, "wps_method") == 0 &&
553 wps_method = WPS_PBC;
555 wps_method = WPS_PIN_DISPLAY;
557 wps_method = WPS_PIN_DISPLAY;
559 wps_method = WPS_PIN_KEYPAD;
571 if (wps_method == WPS_NOT_READY ||
577 * Validate the wps_method specified and the pin value.
579 if ((!pin || !pin[0]) && wps_method == WPS_PIN_KEYPAD)
584 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method,
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Dctrl_iface.c4966 enum p2p_wps_method wps_method; local
5069 wps_method = WPS_PIN_DISPLAY;
5071 wps_method = WPS_PBC;
5075 wps_method = WPS_PIN_KEYPAD;
5079 wps_method = WPS_PIN_DISPLAY;
5081 wps_method = WPS_P2PS;
5089 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method,
5104 if (wps_method == WPS_PIN_DISPLAY && pin == NULL) {
H A Dp2p_supplicant.c135 const u8 *dev_addr, enum p2p_wps_method wps_method,
1633 " dev_addr " MACSTR " wps_method %d",
1635 MAC2STR(res->peer_device_addr), res->wps_method);
1640 if (res->wps_method == WPS_PBC) {
1643 } else if (res->wps_method == WPS_NFC) {
1835 if (params->wps_method == WPS_PBC) {
1839 } else if (params->wps_method == WPS_NFC) {
2221 " wps_method=%s",
2225 p2p_wps_method_text(res->wps_method));
4570 enum p2p_wps_method wps_method,
4568 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
4595 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
5029 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
5314 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...]

Completed in 502 milliseconds