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

12

/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps.h864 int wps_validate_beacon(const struct wpabuf *wps_ie);
865 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe,
867 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr);
868 int wps_validate_assoc_req(const struct wpabuf *wps_ie);
869 int wps_validate_assoc_resp(const struct wpabuf *wps_ie);
889 static inline int wps_validate_beacon(const struct wpabuf *wps_ie){ argument
893 static inline int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, argument
899 static inline int wps_validate_probe_req(const struct wpabuf *wps_ie, argument
905 static inline int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument
910 static inline int wps_validate_assoc_resp(const struct wpabuf *wps_ie) argument
[all...]
H A Dwps_validate.c1081 int wps_validate_beacon(const struct wpabuf *wps_ie) argument
1086 if (wps_ie == NULL) {
1090 if (wps_parse_msg(wps_ie, &attr) < 0) {
1119 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe, argument
1125 if (wps_ie == NULL) {
1130 if (wps_parse_msg(wps_ie, &attr) < 0) {
1178 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr) argument
1183 if (wps_ie == NULL) {
1188 if (wps_parse_msg(wps_ie, &attr) < 0) {
1225 int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument
1254 wps_validate_assoc_resp(const struct wpabuf *wps_ie) argument
[all...]
/external/wpa_supplicant_8/src/wps/
H A Dwps.h864 int wps_validate_beacon(const struct wpabuf *wps_ie);
865 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe,
867 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr);
868 int wps_validate_assoc_req(const struct wpabuf *wps_ie);
869 int wps_validate_assoc_resp(const struct wpabuf *wps_ie);
889 static inline int wps_validate_beacon(const struct wpabuf *wps_ie){ argument
893 static inline int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, argument
899 static inline int wps_validate_probe_req(const struct wpabuf *wps_ie, argument
905 static inline int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument
910 static inline int wps_validate_assoc_resp(const struct wpabuf *wps_ie) argument
[all...]
H A Dwps_validate.c1081 int wps_validate_beacon(const struct wpabuf *wps_ie) argument
1086 if (wps_ie == NULL) {
1090 if (wps_parse_msg(wps_ie, &attr) < 0) {
1119 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe, argument
1125 if (wps_ie == NULL) {
1130 if (wps_parse_msg(wps_ie, &attr) < 0) {
1178 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr) argument
1183 if (wps_ie == NULL) {
1188 if (wps_parse_msg(wps_ie, &attr) < 0) {
1225 int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument
1254 wps_validate_assoc_resp(const struct wpabuf *wps_ie) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps.h864 int wps_validate_beacon(const struct wpabuf *wps_ie);
865 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe,
867 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr);
868 int wps_validate_assoc_req(const struct wpabuf *wps_ie);
869 int wps_validate_assoc_resp(const struct wpabuf *wps_ie);
889 static inline int wps_validate_beacon(const struct wpabuf *wps_ie){ argument
893 static inline int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, argument
899 static inline int wps_validate_probe_req(const struct wpabuf *wps_ie, argument
905 static inline int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument
910 static inline int wps_validate_assoc_resp(const struct wpabuf *wps_ie) argument
[all...]
H A Dwps_validate.c1081 int wps_validate_beacon(const struct wpabuf *wps_ie) argument
1086 if (wps_ie == NULL) {
1090 if (wps_parse_msg(wps_ie, &attr) < 0) {
1119 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe, argument
1125 if (wps_ie == NULL) {
1130 if (wps_parse_msg(wps_ie, &attr) < 0) {
1178 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr) argument
1183 if (wps_ie == NULL) {
1188 if (wps_parse_msg(wps_ie, &attr) < 0) {
1225 int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument
1254 wps_validate_assoc_resp(const struct wpabuf *wps_ie) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Dwps_supplicant.c1449 struct wpabuf *wps_ie; local
1454 wps_ie = wpa_bss_get_vendor_ie_multi(bss, WPS_IE_VENDOR_TYPE);
1456 if (!wps_ie) {
1461 if (!wps_is_selected_pbc_registrar(wps_ie)) {
1464 wpabuf_free(wps_ie);
1471 wpabuf_free(wps_ie);
1476 if (!wps_ie) {
1488 if (!wps_is_addr_authorized(wps_ie, wpa_s->own_addr, 1)) {
1492 wpabuf_free(wps_ie);
1500 wpabuf_free(wps_ie);
1518 struct wpabuf *wps_ie = NULL; local
1575 struct wpabuf *wps_ie; local
1687 struct wpabuf *wps_ie; local
[all...]
H A Dsme.c270 struct wpabuf *wps_ie; local
271 wps_ie = wps_build_assoc_req_ie(wpas_wps_get_req_type(ssid));
272 if (wps_ie && wpabuf_len(wps_ie) <=
274 wpa_s->sme.assoc_req_ie_len = wpabuf_len(wps_ie);
275 os_memcpy(wpa_s->sme.assoc_req_ie, wpabuf_head(wps_ie),
279 wpabuf_free(wps_ie);
H A Dscan.c429 struct wpabuf *wps_ie; local
430 wps_ie = wps_build_probe_req_ie(wps == 2 ? DEV_PW_PUSHBUTTON :
435 if (wps_ie) {
436 if (wpabuf_resize(&extra_ie, wpabuf_len(wps_ie)) == 0)
437 wpabuf_put_buf(extra_ie, wps_ie);
438 wpabuf_free(wps_ie);
/external/wpa_supplicant_8/hostapd/src/common/
H A Dieee802_11_common.h28 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
723 if (drv->wps_ie) {
725 drv->wps_ie, drv->wps_ie_len);
769 os_free(drv->wps_ie);
770 drv->wps_ie = NULL;
773 drv->wps_ie = os_malloc(wpabuf_len(proberesp));
774 if (drv->wps_ie == NULL)
776 os_memcpy(drv->wps_ie, wpabuf_head(proberesp),
1018 os_free(drv->wps_ie);
H A Ddriver_atheros.c1164 ie.wps_ie, IEEE80211_MAX_OPT_IE);
1183 if (ie.wps_ie &&
1184 (ie.wps_ie[1] > 0 && (ie.wps_ie[0] == WLAN_EID_VENDOR_SPECIFIC))) {
1185 iebuf = ie.wps_ie;
1186 ielen = ie.wps_ie[1];
/external/wpa_supplicant_8/src/common/
H A Dieee802_11_common.h28 const u8 *wps_ie; member in struct:ieee802_11_elems
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_hostap.c49 u8 *wps_ie; member in struct:hostap_driver_data
723 if (drv->wps_ie) {
725 drv->wps_ie, drv->wps_ie_len);
769 os_free(drv->wps_ie);
770 drv->wps_ie = NULL;
773 drv->wps_ie = os_malloc(wpabuf_len(proberesp));
774 if (drv->wps_ie == NULL)
776 os_memcpy(drv->wps_ie, wpabuf_head(proberesp),
1018 os_free(drv->wps_ie);
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Dieee802_11_common.h28 const u8 *wps_ie; member in struct:ieee802_11_elems
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_hostap.c49 u8 *wps_ie; member in struct:hostap_driver_data
723 if (drv->wps_ie) {
725 drv->wps_ie, drv->wps_ie_len);
769 os_free(drv->wps_ie);
770 drv->wps_ie = NULL;
773 drv->wps_ie = os_malloc(wpabuf_len(proberesp));
774 if (drv->wps_ie == NULL)
776 os_memcpy(drv->wps_ie, wpabuf_head(proberesp),
1018 os_free(drv->wps_ie);
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dsta_info.h124 struct wpabuf *wps_ie; /* WPS IE from (Re)Association Request */ member in struct:sta_info
H A Dwps_hostapd.c1362 struct wpabuf *wps_ie; local
1380 wps_ie = ieee802_11_vendor_ie_concat(ie, ie_len, WPS_DEV_OUI_WFA);
1381 if (wps_ie == NULL)
1383 if (wps_validate_probe_req(wps_ie, addr) < 0) {
1384 wpabuf_free(wps_ie);
1388 if (wpabuf_len(wps_ie) > 0) {
1396 wps_registrar_probe_req_rx(hapd->wps->registrar, addr, wps_ie,
1404 UPNP_WPS_WLANEVENT_TYPE_PROBE, wps_ie);
1408 wpabuf_free(wps_ie);
H A Dieee802_11.c942 if (hapd->conf->wps_state && elems.wps_ie) {
946 wpabuf_free(sta->wps_ie);
947 sta->wps_ie = ieee802_11_vendor_ie_concat(ies, ies_len,
949 if (sta->wps_ie && wps_is_20(sta->wps_ie)) {
955 if (sta->wps_ie && wps_validate_assoc_req(sta->wps_ie) < 0) {
/external/wpa_supplicant_8/src/ap/
H A Dsta_info.h124 struct wpabuf *wps_ie; /* WPS IE from (Re)Association Request */ member in struct:sta_info
H A Dwps_hostapd.c1362 struct wpabuf *wps_ie; local
1380 wps_ie = ieee802_11_vendor_ie_concat(ie, ie_len, WPS_DEV_OUI_WFA);
1381 if (wps_ie == NULL)
1383 if (wps_validate_probe_req(wps_ie, addr) < 0) {
1384 wpabuf_free(wps_ie);
1388 if (wpabuf_len(wps_ie) > 0) {
1396 wps_registrar_probe_req_rx(hapd->wps->registrar, addr, wps_ie,
1404 UPNP_WPS_WLANEVENT_TYPE_PROBE, wps_ie);
1408 wpabuf_free(wps_ie);
H A Dieee802_11.c942 if (hapd->conf->wps_state && elems.wps_ie) {
946 wpabuf_free(sta->wps_ie);
947 sta->wps_ie = ieee802_11_vendor_ie_concat(ies, ies_len,
949 if (sta->wps_ie && wps_is_20(sta->wps_ie)) {
955 if (sta->wps_ie && wps_validate_assoc_req(sta->wps_ie) < 0) {
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dsta_info.h124 struct wpabuf *wps_ie; /* WPS IE from (Re)Association Request */ member in struct:sta_info
H A Dwps_hostapd.c1362 struct wpabuf *wps_ie; local
1380 wps_ie = ieee802_11_vendor_ie_concat(ie, ie_len, WPS_DEV_OUI_WFA);
1381 if (wps_ie == NULL)
1383 if (wps_validate_probe_req(wps_ie, addr) < 0) {
1384 wpabuf_free(wps_ie);
1388 if (wpabuf_len(wps_ie) > 0) {
1396 wps_registrar_probe_req_rx(hapd->wps->registrar, addr, wps_ie,
1404 UPNP_WPS_WLANEVENT_TYPE_PROBE, wps_ie);
1408 wpabuf_free(wps_ie);
H A Dieee802_11.c942 if (hapd->conf->wps_state && elems.wps_ie) {
946 wpabuf_free(sta->wps_ie);
947 sta->wps_ie = ieee802_11_vendor_ie_concat(ies, ies_len,
949 if (sta->wps_ie && wps_is_20(sta->wps_ie)) {
955 if (sta->wps_ie && wps_validate_assoc_req(sta->wps_ie) < 0) {

Completed in 319 milliseconds

12