Searched refs:wps_ie (Results 1 - 25 of 47) sorted by relevance

12

/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps.h896 int wps_validate_beacon(const struct wpabuf *wps_ie);
897 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe,
899 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr);
900 int wps_validate_assoc_req(const struct wpabuf *wps_ie);
901 int wps_validate_assoc_resp(const struct wpabuf *wps_ie);
921 static inline int wps_validate_beacon(const struct wpabuf *wps_ie){ argument
925 static inline int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, argument
931 static inline int wps_validate_probe_req(const struct wpabuf *wps_ie, argument
937 static inline int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument
942 static inline int wps_validate_assoc_resp(const struct wpabuf *wps_ie) argument
[all...]
H A Dwps_validate.c1083 int wps_validate_beacon(const struct wpabuf *wps_ie) argument
1088 if (wps_ie == NULL) {
1092 if (wps_parse_msg(wps_ie, &attr) < 0) {
1121 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe, argument
1127 if (wps_ie == NULL) {
1132 if (wps_parse_msg(wps_ie, &attr) < 0) {
1180 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr) argument
1185 if (wps_ie == NULL) {
1190 if (wps_parse_msg(wps_ie, &attr) < 0) {
1227 int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument
1256 wps_validate_assoc_resp(const struct wpabuf *wps_ie) argument
[all...]
/external/wpa_supplicant_8/src/wps/
H A Dwps.h896 int wps_validate_beacon(const struct wpabuf *wps_ie);
897 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe,
899 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr);
900 int wps_validate_assoc_req(const struct wpabuf *wps_ie);
901 int wps_validate_assoc_resp(const struct wpabuf *wps_ie);
921 static inline int wps_validate_beacon(const struct wpabuf *wps_ie){ argument
925 static inline int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, argument
931 static inline int wps_validate_probe_req(const struct wpabuf *wps_ie, argument
937 static inline int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument
942 static inline int wps_validate_assoc_resp(const struct wpabuf *wps_ie) argument
[all...]
H A Dwps_validate.c1083 int wps_validate_beacon(const struct wpabuf *wps_ie) argument
1088 if (wps_ie == NULL) {
1092 if (wps_parse_msg(wps_ie, &attr) < 0) {
1121 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe, argument
1127 if (wps_ie == NULL) {
1132 if (wps_parse_msg(wps_ie, &attr) < 0) {
1180 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr) argument
1185 if (wps_ie == NULL) {
1190 if (wps_parse_msg(wps_ie, &attr) < 0) {
1227 int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument
1256 wps_validate_assoc_resp(const struct wpabuf *wps_ie) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps.h896 int wps_validate_beacon(const struct wpabuf *wps_ie);
897 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe,
899 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr);
900 int wps_validate_assoc_req(const struct wpabuf *wps_ie);
901 int wps_validate_assoc_resp(const struct wpabuf *wps_ie);
921 static inline int wps_validate_beacon(const struct wpabuf *wps_ie){ argument
925 static inline int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, argument
931 static inline int wps_validate_probe_req(const struct wpabuf *wps_ie, argument
937 static inline int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument
942 static inline int wps_validate_assoc_resp(const struct wpabuf *wps_ie) argument
[all...]
H A Dwps_validate.c1083 int wps_validate_beacon(const struct wpabuf *wps_ie) argument
1088 if (wps_ie == NULL) {
1092 if (wps_parse_msg(wps_ie, &attr) < 0) {
1121 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe, argument
1127 if (wps_ie == NULL) {
1132 if (wps_parse_msg(wps_ie, &attr) < 0) {
1180 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr) argument
1185 if (wps_ie == NULL) {
1190 if (wps_parse_msg(wps_ie, &attr) < 0) {
1227 int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument
1256 wps_validate_assoc_resp(const struct wpabuf *wps_ie) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Dwps_supplicant.c1589 struct wpabuf *wps_ie; local
1594 wps_ie = wpa_bss_get_vendor_ie_multi(bss, WPS_IE_VENDOR_TYPE);
1596 if (!wps_ie) {
1601 if (!wps_is_selected_pbc_registrar(wps_ie)) {
1604 wpabuf_free(wps_ie);
1611 wpabuf_free(wps_ie);
1616 if (!wps_ie) {
1628 if (!wps_is_addr_authorized(wps_ie, wpa_s->own_addr, 1)) {
1638 wpabuf_free(wps_ie);
1646 wpabuf_free(wps_ie);
1664 struct wpabuf *wps_ie = NULL; local
1721 struct wpabuf *wps_ie; local
1825 struct wpabuf *wps_ie; local
[all...]
H A Dsme.c335 struct wpabuf *wps_ie; local
336 wps_ie = wps_build_assoc_req_ie(wpas_wps_get_req_type(ssid));
337 if (wps_ie && wpabuf_len(wps_ie) <=
339 wpa_s->sme.assoc_req_ie_len = wpabuf_len(wps_ie);
340 os_memcpy(wpa_s->sme.assoc_req_ie, wpabuf_head(wps_ie),
344 wpabuf_free(wps_ie);
H A Dscan.c458 struct wpabuf *wps_ie; local
459 wps_ie = wps_build_probe_req_ie(wps == 2 ? DEV_PW_PUSHBUTTON :
464 if (wps_ie) {
465 if (wpabuf_resize(&extra_ie, wpabuf_len(wps_ie)) == 0)
466 wpabuf_put_buf(extra_ie, wps_ie);
467 wpabuf_free(wps_ie);
/external/wpa_supplicant_8/hostapd/src/common/
H A Dieee802_11_common.h24 const u8 *wps_ie; member in struct:ieee802_11_elems
/external/wpa_supplicant_8/src/common/
H A Dieee802_11_common.h24 const u8 *wps_ie; member in struct:ieee802_11_elems
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Dieee802_11_common.h24 const u8 *wps_ie; member in struct:ieee802_11_elems
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_hostap.c49 u8 *wps_ie; member in struct:hostap_driver_data
728 if (drv->wps_ie) {
730 drv->wps_ie, drv->wps_ie_len);
774 os_free(drv->wps_ie);
775 drv->wps_ie = NULL;
778 drv->wps_ie = os_malloc(wpabuf_len(proberesp));
779 if (drv->wps_ie == NULL)
781 os_memcpy(drv->wps_ie, wpabuf_head(proberesp),
1026 os_free(drv->wps_ie);
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_hostap.c49 u8 *wps_ie; member in struct:hostap_driver_data
728 if (drv->wps_ie) {
730 drv->wps_ie, drv->wps_ie_len);
774 os_free(drv->wps_ie);
775 drv->wps_ie = NULL;
778 drv->wps_ie = os_malloc(wpabuf_len(proberesp));
779 if (drv->wps_ie == NULL)
781 os_memcpy(drv->wps_ie, wpabuf_head(proberesp),
1026 os_free(drv->wps_ie);
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_hostap.c49 u8 *wps_ie; member in struct:hostap_driver_data
728 if (drv->wps_ie) {
730 drv->wps_ie, drv->wps_ie_len);
774 os_free(drv->wps_ie);
775 drv->wps_ie = NULL;
778 drv->wps_ie = os_malloc(wpabuf_len(proberesp));
779 if (drv->wps_ie == NULL)
781 os_memcpy(drv->wps_ie, wpabuf_head(proberesp),
1026 os_free(drv->wps_ie);
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dwps_hostapd.c1343 struct wpabuf *wps_ie; local
1361 wps_ie = ieee802_11_vendor_ie_concat(ie, ie_len, WPS_DEV_OUI_WFA);
1362 if (wps_ie == NULL)
1364 if (wps_validate_probe_req(wps_ie, addr) < 0) {
1365 wpabuf_free(wps_ie);
1369 if (wpabuf_len(wps_ie) > 0) {
1377 wps_registrar_probe_req_rx(hapd->wps->registrar, addr, wps_ie,
1385 UPNP_WPS_WLANEVENT_TYPE_PROBE, wps_ie);
1389 wpabuf_free(wps_ie);
H A Dsta_info.h148 struct wpabuf *wps_ie; /* WPS IE from (Re)Association Request */ member in struct:sta_info
H A Dieee802_11.c1355 if (hapd->conf->wps_state && elems.wps_ie) {
1359 wpabuf_free(sta->wps_ie);
1360 sta->wps_ie = ieee802_11_vendor_ie_concat(ies, ies_len,
1362 if (sta->wps_ie && wps_is_20(sta->wps_ie)) {
1368 if (sta->wps_ie && wps_validate_assoc_req(sta->wps_ie) < 0) {
/external/wpa_supplicant_8/src/ap/
H A Dwps_hostapd.c1343 struct wpabuf *wps_ie; local
1361 wps_ie = ieee802_11_vendor_ie_concat(ie, ie_len, WPS_DEV_OUI_WFA);
1362 if (wps_ie == NULL)
1364 if (wps_validate_probe_req(wps_ie, addr) < 0) {
1365 wpabuf_free(wps_ie);
1369 if (wpabuf_len(wps_ie) > 0) {
1377 wps_registrar_probe_req_rx(hapd->wps->registrar, addr, wps_ie,
1385 UPNP_WPS_WLANEVENT_TYPE_PROBE, wps_ie);
1389 wpabuf_free(wps_ie);
H A Dsta_info.h148 struct wpabuf *wps_ie; /* WPS IE from (Re)Association Request */ member in struct:sta_info
H A Dieee802_11.c1355 if (hapd->conf->wps_state && elems.wps_ie) {
1359 wpabuf_free(sta->wps_ie);
1360 sta->wps_ie = ieee802_11_vendor_ie_concat(ies, ies_len,
1362 if (sta->wps_ie && wps_is_20(sta->wps_ie)) {
1368 if (sta->wps_ie && wps_validate_assoc_req(sta->wps_ie) < 0) {
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dwps_hostapd.c1343 struct wpabuf *wps_ie; local
1361 wps_ie = ieee802_11_vendor_ie_concat(ie, ie_len, WPS_DEV_OUI_WFA);
1362 if (wps_ie == NULL)
1364 if (wps_validate_probe_req(wps_ie, addr) < 0) {
1365 wpabuf_free(wps_ie);
1369 if (wpabuf_len(wps_ie) > 0) {
1377 wps_registrar_probe_req_rx(hapd->wps->registrar, addr, wps_ie,
1385 UPNP_WPS_WLANEVENT_TYPE_PROBE, wps_ie);
1389 wpabuf_free(wps_ie);
H A Dsta_info.h148 struct wpabuf *wps_ie; /* WPS IE from (Re)Association Request */ member in struct:sta_info
H A Dieee802_11.c1355 if (hapd->conf->wps_state && elems.wps_ie) {
1359 wpabuf_free(sta->wps_ie);
1360 sta->wps_ie = ieee802_11_vendor_ie_concat(ies, ies_len,
1362 if (sta->wps_ie && wps_is_20(sta->wps_ie)) {
1368 if (sta->wps_ie && wps_validate_assoc_req(sta->wps_ie) < 0) {
/external/wpa_supplicant_8/wpa_supplicant/dbus/
H A Ddbus_old_handlers.c416 const u8 *wpa_ie, *rsn_ie, *wps_ie; local
423 wps_ie = wpa_bss_get_vendor_ie(bss, WPS_IE_VENDOR_TYPE);
441 (wps_ie &&
443 (const char *) wps_ie,
444 wps_ie[1] + 2)) ||

Completed in 289 milliseconds

12