/external/wpa_supplicant_8/hostapd/src/wps/ |
H A D | wps.h | 894 int wps_validate_beacon(const struct wpabuf *wps_ie); 895 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe, 897 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr); 898 int wps_validate_assoc_req(const struct wpabuf *wps_ie); 899 int wps_validate_assoc_resp(const struct wpabuf *wps_ie); 919 static inline int wps_validate_beacon(const struct wpabuf *wps_ie){ argument 923 static inline int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, argument 929 static inline int wps_validate_probe_req(const struct wpabuf *wps_ie, argument 935 static inline int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument 940 static inline int wps_validate_assoc_resp(const struct wpabuf *wps_ie) argument [all...] |
H A D | wps_validate.c | 1081 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 D | wps.h | 894 int wps_validate_beacon(const struct wpabuf *wps_ie); 895 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe, 897 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr); 898 int wps_validate_assoc_req(const struct wpabuf *wps_ie); 899 int wps_validate_assoc_resp(const struct wpabuf *wps_ie); 919 static inline int wps_validate_beacon(const struct wpabuf *wps_ie){ argument 923 static inline int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, argument 929 static inline int wps_validate_probe_req(const struct wpabuf *wps_ie, argument 935 static inline int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument 940 static inline int wps_validate_assoc_resp(const struct wpabuf *wps_ie) argument [all...] |
H A D | wps_validate.c | 1081 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 D | wps.h | 894 int wps_validate_beacon(const struct wpabuf *wps_ie); 895 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe, 897 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr); 898 int wps_validate_assoc_req(const struct wpabuf *wps_ie); 899 int wps_validate_assoc_resp(const struct wpabuf *wps_ie); 919 static inline int wps_validate_beacon(const struct wpabuf *wps_ie){ argument 923 static inline int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, argument 929 static inline int wps_validate_probe_req(const struct wpabuf *wps_ie, argument 935 static inline int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument 940 static inline int wps_validate_assoc_resp(const struct wpabuf *wps_ie) argument [all...] |
H A D | wps_validate.c | 1081 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 D | wps_supplicant.c | 1535 struct wpabuf *wps_ie; local 1540 wps_ie = wpa_bss_get_vendor_ie_multi(bss, WPS_IE_VENDOR_TYPE); 1542 if (!wps_ie) { 1547 if (!wps_is_selected_pbc_registrar(wps_ie)) { 1550 wpabuf_free(wps_ie); 1557 wpabuf_free(wps_ie); 1562 if (!wps_ie) { 1574 if (!wps_is_addr_authorized(wps_ie, wpa_s->own_addr, 1)) { 1578 wpabuf_free(wps_ie); 1586 wpabuf_free(wps_ie); 1604 struct wpabuf *wps_ie = NULL; local 1661 struct wpabuf *wps_ie; local 1773 struct wpabuf *wps_ie; local [all...] |
H A D | sme.c | 273 struct wpabuf *wps_ie; local 274 wps_ie = wps_build_assoc_req_ie(wpas_wps_get_req_type(ssid)); 275 if (wps_ie && wpabuf_len(wps_ie) <= 277 wpa_s->sme.assoc_req_ie_len = wpabuf_len(wps_ie); 278 os_memcpy(wpa_s->sme.assoc_req_ie, wpabuf_head(wps_ie), 282 wpabuf_free(wps_ie);
|
H A D | scan.c | 442 struct wpabuf *wps_ie; local 443 wps_ie = wps_build_probe_req_ie(wps == 2 ? DEV_PW_PUSHBUTTON : 448 if (wps_ie) { 449 if (wpabuf_resize(&extra_ie, wpabuf_len(wps_ie)) == 0) 450 wpabuf_put_buf(extra_ie, wps_ie); 451 wpabuf_free(wps_ie);
|
/external/wpa_supplicant_8/hostapd/src/common/ |
H A D | ieee802_11_common.h | 24 const u8 *wps_ie; member in struct:ieee802_11_elems
|
/external/wpa_supplicant_8/hostapd/src/drivers/ |
H A D | driver_hostap.c | 49 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 D | driver_atheros.c | 1241 ie.wps_ie, IEEE80211_MAX_OPT_IE); 1260 if (ie.wps_ie && 1261 (ie.wps_ie[1] > 0 && (ie.wps_ie[0] == WLAN_EID_VENDOR_SPECIFIC))) { 1262 iebuf = ie.wps_ie; 1263 ielen = ie.wps_ie[1];
|
/external/wpa_supplicant_8/src/common/ |
H A D | ieee802_11_common.h | 24 const u8 *wps_ie; member in struct:ieee802_11_elems
|
/external/wpa_supplicant_8/src/drivers/ |
H A D | driver_hostap.c | 49 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 D | ieee802_11_common.h | 24 const u8 *wps_ie; member in struct:ieee802_11_elems
|
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/ |
H A D | driver_hostap.c | 49 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 D | sta_info.h | 125 struct wpabuf *wps_ie; /* WPS IE from (Re)Association Request */ member in struct:sta_info
|
H A D | wps_hostapd.c | 1330 struct wpabuf *wps_ie; local 1348 wps_ie = ieee802_11_vendor_ie_concat(ie, ie_len, WPS_DEV_OUI_WFA); 1349 if (wps_ie == NULL) 1351 if (wps_validate_probe_req(wps_ie, addr) < 0) { 1352 wpabuf_free(wps_ie); 1356 if (wpabuf_len(wps_ie) > 0) { 1364 wps_registrar_probe_req_rx(hapd->wps->registrar, addr, wps_ie, 1372 UPNP_WPS_WLANEVENT_TYPE_PROBE, wps_ie); 1376 wpabuf_free(wps_ie);
|
H A D | ieee802_11.c | 964 if (hapd->conf->wps_state && elems.wps_ie) { 968 wpabuf_free(sta->wps_ie); 969 sta->wps_ie = ieee802_11_vendor_ie_concat(ies, ies_len, 971 if (sta->wps_ie && wps_is_20(sta->wps_ie)) { 977 if (sta->wps_ie && wps_validate_assoc_req(sta->wps_ie) < 0) {
|
/external/wpa_supplicant_8/src/ap/ |
H A D | sta_info.h | 125 struct wpabuf *wps_ie; /* WPS IE from (Re)Association Request */ member in struct:sta_info
|
H A D | wps_hostapd.c | 1330 struct wpabuf *wps_ie; local 1348 wps_ie = ieee802_11_vendor_ie_concat(ie, ie_len, WPS_DEV_OUI_WFA); 1349 if (wps_ie == NULL) 1351 if (wps_validate_probe_req(wps_ie, addr) < 0) { 1352 wpabuf_free(wps_ie); 1356 if (wpabuf_len(wps_ie) > 0) { 1364 wps_registrar_probe_req_rx(hapd->wps->registrar, addr, wps_ie, 1372 UPNP_WPS_WLANEVENT_TYPE_PROBE, wps_ie); 1376 wpabuf_free(wps_ie);
|
H A D | ieee802_11.c | 964 if (hapd->conf->wps_state && elems.wps_ie) { 968 wpabuf_free(sta->wps_ie); 969 sta->wps_ie = ieee802_11_vendor_ie_concat(ies, ies_len, 971 if (sta->wps_ie && wps_is_20(sta->wps_ie)) { 977 if (sta->wps_ie && wps_validate_assoc_req(sta->wps_ie) < 0) {
|
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | sta_info.h | 125 struct wpabuf *wps_ie; /* WPS IE from (Re)Association Request */ member in struct:sta_info
|
H A D | wps_hostapd.c | 1330 struct wpabuf *wps_ie; local 1348 wps_ie = ieee802_11_vendor_ie_concat(ie, ie_len, WPS_DEV_OUI_WFA); 1349 if (wps_ie == NULL) 1351 if (wps_validate_probe_req(wps_ie, addr) < 0) { 1352 wpabuf_free(wps_ie); 1356 if (wpabuf_len(wps_ie) > 0) { 1364 wps_registrar_probe_req_rx(hapd->wps->registrar, addr, wps_ie, 1372 UPNP_WPS_WLANEVENT_TYPE_PROBE, wps_ie); 1376 wpabuf_free(wps_ie);
|
H A D | ieee802_11.c | 964 if (hapd->conf->wps_state && elems.wps_ie) { 968 wpabuf_free(sta->wps_ie); 969 sta->wps_ie = ieee802_11_vendor_ie_concat(ies, ies_len, 971 if (sta->wps_ie && wps_is_20(sta->wps_ie)) { 977 if (sta->wps_ie && wps_validate_assoc_req(sta->wps_ie) < 0) {
|