/external/wpa_supplicant_6/wpa_supplicant/ |
H A D | wps_supplicant.c | 744 struct wpabuf *wps_ie; local 749 wps_ie = wpa_scan_get_vendor_ie_multi(bss, WPS_IE_VENDOR_TYPE); 751 if (!wps_ie) { 756 if (!wps_is_selected_pbc_registrar(wps_ie)) { 759 wpabuf_free(wps_ie); 766 wpabuf_free(wps_ie); 771 if (!wps_ie) { 782 if (!wps_is_selected_pin_registrar(wps_ie)) { 786 wpabuf_free(wps_ie); 794 wpabuf_free(wps_ie); 812 struct wpabuf *wps_ie = NULL; local 849 struct wpabuf *wps_ie; local [all...] |
H A D | scan.c | 87 struct wpabuf *wps_ie = NULL; local 185 wps_ie = wps_build_probe_req_ie(wps == 2, &wpa_s->wps->dev, 187 if (wps_ie) { 188 extra_ie = wpabuf_head(wps_ie); 189 extra_ie_len = wpabuf_len(wps_ie); 214 wpabuf_free(wps_ie);
|
/external/wpa_supplicant_8/hostapd/src/wps/ |
H A D | wps.h | 832 int wps_validate_beacon(const struct wpabuf *wps_ie); 833 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe, 835 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr); 836 int wps_validate_assoc_req(const struct wpabuf *wps_ie); 837 int wps_validate_assoc_resp(const struct wpabuf *wps_ie); 857 static inline int wps_validate_beacon(const struct wpabuf *wps_ie){ argument 861 static inline int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, argument 867 static inline int wps_validate_probe_req(const struct wpabuf *wps_ie, argument 873 static inline int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument 878 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 | 832 int wps_validate_beacon(const struct wpabuf *wps_ie); 833 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe, 835 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr); 836 int wps_validate_assoc_req(const struct wpabuf *wps_ie); 837 int wps_validate_assoc_resp(const struct wpabuf *wps_ie); 857 static inline int wps_validate_beacon(const struct wpabuf *wps_ie){ argument 861 static inline int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, argument 867 static inline int wps_validate_probe_req(const struct wpabuf *wps_ie, argument 873 static inline int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument 878 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 | 832 int wps_validate_beacon(const struct wpabuf *wps_ie); 833 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe, 835 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr); 836 int wps_validate_assoc_req(const struct wpabuf *wps_ie); 837 int wps_validate_assoc_resp(const struct wpabuf *wps_ie); 857 static inline int wps_validate_beacon(const struct wpabuf *wps_ie){ argument 861 static inline int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, argument 867 static inline int wps_validate_probe_req(const struct wpabuf *wps_ie, argument 873 static inline int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument 878 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 | 1240 struct wpabuf *wps_ie; local 1245 wps_ie = wpa_scan_get_vendor_ie_multi(bss, WPS_IE_VENDOR_TYPE); 1247 if (!wps_ie) { 1252 if (!wps_is_selected_pbc_registrar(wps_ie)) { 1255 wpabuf_free(wps_ie); 1262 wpabuf_free(wps_ie); 1267 if (!wps_ie) { 1279 if (!wps_is_addr_authorized(wps_ie, wpa_s->own_addr, 1)) { 1283 wpabuf_free(wps_ie); 1291 wpabuf_free(wps_ie); 1309 struct wpabuf *wps_ie = NULL; local 1366 struct wpabuf *wps_ie; local 1478 struct wpabuf *wps_ie; local [all...] |
H A D | scan.c | 407 struct wpabuf *wps_ie; local 408 wps_ie = wps_build_probe_req_ie(wps == 2, &wpa_s->wps->dev, 411 if (wps_ie) { 412 if (wpabuf_resize(&extra_ie, wpabuf_len(wps_ie)) == 0) 413 wpabuf_put_buf(extra_ie, wps_ie); 414 wpabuf_free(wps_ie); 735 struct wpabuf *wps_ie = NULL; local 873 wps_ie = wpa_supplicant_extra_ies(wpa_s, ¶ms); 887 wpabuf_free(wps_ie);
|
H A D | sme.c | 140 struct wpabuf *wps_ie; local 141 wps_ie = wps_build_assoc_req_ie(wpas_wps_get_req_type(ssid)); 142 if (wps_ie && wpabuf_len(wps_ie) <= 144 wpa_s->sme.assoc_req_ie_len = wpabuf_len(wps_ie); 145 os_memcpy(wpa_s->sme.assoc_req_ie, wpabuf_head(wps_ie), 149 wpabuf_free(wps_ie);
|
/external/wpa_supplicant_6/wpa_supplicant/src/common/ |
H A D | ieee802_11_common.h | 48 u8 *wps_ie; member in struct:ieee802_11_elems
|
H A D | ieee802_11_common.c | 87 elems->wps_ie = pos;
|
/external/wpa_supplicant_8/hostapd/src/common/ |
H A D | ieee802_11_common.h | 28 const u8 *wps_ie; member in struct:ieee802_11_elems
|
/external/wpa_supplicant_8/src/common/ |
H A D | ieee802_11_common.h | 28 const u8 *wps_ie; member in struct:ieee802_11_elems
|
/external/wpa_supplicant_8/wpa_supplicant/src/common/ |
H A D | ieee802_11_common.h | 28 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);
|
/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/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 | 110 struct wpabuf *wps_ie; /* WPS IE from (Re)Association Request */ member in struct:sta_info
|
H A D | wps_hostapd.c | 1160 struct wpabuf *wps_ie; local 1178 wps_ie = ieee802_11_vendor_ie_concat(ie, ie_len, WPS_DEV_OUI_WFA); 1179 if (wps_ie == NULL) 1181 if (wps_validate_probe_req(wps_ie, addr) < 0) { 1182 wpabuf_free(wps_ie); 1186 if (wpabuf_len(wps_ie) > 0) { 1194 wps_registrar_probe_req_rx(hapd->wps->registrar, addr, wps_ie, 1202 UPNP_WPS_WLANEVENT_TYPE_PROBE, wps_ie); 1206 wpabuf_free(wps_ie);
|
/external/wpa_supplicant_8/src/ap/ |
H A D | sta_info.h | 110 struct wpabuf *wps_ie; /* WPS IE from (Re)Association Request */ member in struct:sta_info
|
H A D | wps_hostapd.c | 1160 struct wpabuf *wps_ie; local 1178 wps_ie = ieee802_11_vendor_ie_concat(ie, ie_len, WPS_DEV_OUI_WFA); 1179 if (wps_ie == NULL) 1181 if (wps_validate_probe_req(wps_ie, addr) < 0) { 1182 wpabuf_free(wps_ie); 1186 if (wpabuf_len(wps_ie) > 0) { 1194 wps_registrar_probe_req_rx(hapd->wps->registrar, addr, wps_ie, 1202 UPNP_WPS_WLANEVENT_TYPE_PROBE, wps_ie); 1206 wpabuf_free(wps_ie);
|
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | sta_info.h | 110 struct wpabuf *wps_ie; /* WPS IE from (Re)Association Request */ member in struct:sta_info
|
H A D | wps_hostapd.c | 1160 struct wpabuf *wps_ie; local 1178 wps_ie = ieee802_11_vendor_ie_concat(ie, ie_len, WPS_DEV_OUI_WFA); 1179 if (wps_ie == NULL) 1181 if (wps_validate_probe_req(wps_ie, addr) < 0) { 1182 wpabuf_free(wps_ie); 1186 if (wpabuf_len(wps_ie) > 0) { 1194 wps_registrar_probe_req_rx(hapd->wps->registrar, addr, wps_ie, 1202 UPNP_WPS_WLANEVENT_TYPE_PROBE, wps_ie); 1206 wpabuf_free(wps_ie);
|