/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/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/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/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);
|
/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);
|
/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);
|
/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/hostapd/src/wps/ |
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...] |
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...] |
/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/src/wps/ |
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...] |
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...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
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);
|
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 | 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 | wpa_supplicant.c | 1700 struct wpabuf *wps_ie; local 1701 wps_ie = wps_build_assoc_req_ie(wpas_wps_get_req_type(ssid)); 1702 if (wps_ie && wpabuf_len(wps_ie) <= sizeof(wpa_ie)) { 1703 wpa_ie_len = wpabuf_len(wps_ie); 1704 os_memcpy(wpa_ie, wpabuf_head(wps_ie), wpa_ie_len); 1707 wpabuf_free(wps_ie);
|
H A D | ctrl_iface.c | 2162 struct wpabuf *wps_ie) 2167 if (wps_ie == NULL) 2169 if (wps_is_selected_pbc_registrar(wps_ie)) 2171 else if (wps_is_addr_authorized(wps_ie, wpa_s->own_addr, 0)) 2173 else if (wps_is_selected_pin_registrar(wps_ie)) 2181 wpabuf_free(wps_ie); 2192 struct wpabuf *wps_ie; local 2193 wps_ie = wpa_bss_get_vendor_ie_multi(bss, WPS_IE_VENDOR_TYPE); 2194 return wpa_supplicant_wps_ie_txt_buf(wpa_s, pos, end, wps_ie); 2160 wpa_supplicant_wps_ie_txt_buf(struct wpa_supplicant *wpa_s, char *pos, char *end, struct wpabuf *wps_ie) argument
|
H A D | p2p_supplicant.c | 288 struct wpabuf *wps_ie, *ies; local 316 wps_ie = wps_build_probe_req_ie(pw_id, &wpa_s->wps->dev, 319 if (wps_ie == NULL) 323 ies = wpabuf_alloc(wpabuf_len(wps_ie) + ielen); 325 wpabuf_free(wps_ie); 328 wpabuf_put_buf(ies, wps_ie); 329 wpabuf_free(wps_ie); 4490 struct wpabuf *wps_ie, *ies; local 4510 wps_ie = wps_build_probe_req_ie(DEV_PW_DEFAULT, &wpa_s->wps->dev, 4513 if (wps_ie [all...] |
/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/wpa_supplicant/src/wps/ |
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...] |
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...] |
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
H A D | dbus_new_handlers.c | 3973 struct wpabuf *wps_ie; local 3990 wps_ie = wpa_bss_get_vendor_ie_multi(res, WPS_IE_VENDOR_TYPE); 3991 if (wps_ie) { 3992 if (wps_is_selected_pbc_registrar(wps_ie)) 3994 else if (wps_is_selected_pin_registrar(wps_ie))
|