Searched defs:wps_ie (Results 1 - 25 of 32) sorted by relevance

12

/external/wpa_supplicant_6/wpa_supplicant/
H A Dscan.c87 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);
H A Dwps_supplicant.c744 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 Dctrl_iface.c737 struct wpabuf *wps_ie; local
741 wps_ie = wpa_scan_get_vendor_ie_multi(res, WPS_IE_VENDOR_TYPE);
742 if (wps_ie == NULL)
745 if (wps_is_selected_pbc_registrar(wps_ie))
747 else if (wps_is_selected_pin_registrar(wps_ie))
755 wpabuf_free(wps_ie);
H A Dwpa_supplicant.c1048 struct wpabuf *wps_ie; local
1049 wps_ie = wps_build_assoc_req_ie(wpas_wps_get_req_type(ssid));
1050 if (wps_ie && wpabuf_len(wps_ie) <= sizeof(wpa_ie)) {
1051 wpa_ie_len = wpabuf_len(wps_ie);
1052 os_memcpy(wpa_ie, wpabuf_head(wps_ie), wpa_ie_len);
1055 wpabuf_free(wps_ie);
/external/wpa_supplicant_6/wpa_supplicant/src/common/
H A Dieee802_11_common.h48 u8 *wps_ie; member in struct:ieee802_11_elems
/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/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/common/
H A Dieee802_11_common.h28 const u8 *wps_ie; member in struct:ieee802_11_elems
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dsta_info.h122 struct wpabuf *wps_ie; /* WPS IE from (Re)Association Request */ member in struct:sta_info
H A Dwps_hostapd.c1218 struct wpabuf *wps_ie; local
1236 wps_ie = ieee802_11_vendor_ie_concat(ie, ie_len, WPS_DEV_OUI_WFA);
1237 if (wps_ie == NULL)
1239 if (wps_validate_probe_req(wps_ie, addr) < 0) {
1240 wpabuf_free(wps_ie);
1244 if (wpabuf_len(wps_ie) > 0) {
1252 wps_registrar_probe_req_rx(hapd->wps->registrar, addr, wps_ie,
1260 UPNP_WPS_WLANEVENT_TYPE_PROBE, wps_ie);
1264 wpabuf_free(wps_ie);
/external/wpa_supplicant_8/src/ap/
H A Dsta_info.h122 struct wpabuf *wps_ie; /* WPS IE from (Re)Association Request */ member in struct:sta_info
H A Dwps_hostapd.c1218 struct wpabuf *wps_ie; local
1236 wps_ie = ieee802_11_vendor_ie_concat(ie, ie_len, WPS_DEV_OUI_WFA);
1237 if (wps_ie == NULL)
1239 if (wps_validate_probe_req(wps_ie, addr) < 0) {
1240 wpabuf_free(wps_ie);
1244 if (wpabuf_len(wps_ie) > 0) {
1252 wps_registrar_probe_req_rx(hapd->wps->registrar, addr, wps_ie,
1260 UPNP_WPS_WLANEVENT_TYPE_PROBE, wps_ie);
1264 wpabuf_free(wps_ie);
/external/wpa_supplicant_8/wpa_supplicant/
H A Dscan.c415 struct wpabuf *wps_ie; local
416 wps_ie = wps_build_probe_req_ie(wps == 2 ? DEV_PW_PUSHBUTTON :
421 if (wps_ie) {
422 if (wpabuf_resize(&extra_ie, wpabuf_len(wps_ie)) == 0)
423 wpabuf_put_buf(extra_ie, wps_ie);
424 wpabuf_free(wps_ie);
H A Dsme.c151 struct wpabuf *wps_ie; local
152 wps_ie = wps_build_assoc_req_ie(wpas_wps_get_req_type(ssid));
153 if (wps_ie && wpabuf_len(wps_ie) <=
155 wpa_s->sme.assoc_req_ie_len = wpabuf_len(wps_ie);
156 os_memcpy(wpa_s->sme.assoc_req_ie, wpabuf_head(wps_ie),
160 wpabuf_free(wps_ie);
H A Dwps_supplicant.c1275 struct wpabuf *wps_ie; local
1280 wps_ie = wpa_bss_get_vendor_ie_multi(bss, WPS_IE_VENDOR_TYPE);
1282 if (!wps_ie) {
1287 if (!wps_is_selected_pbc_registrar(wps_ie)) {
1290 wpabuf_free(wps_ie);
1297 wpabuf_free(wps_ie);
1302 if (!wps_ie) {
1314 if (!wps_is_addr_authorized(wps_ie, wpa_s->own_addr, 1)) {
1318 wpabuf_free(wps_ie);
1326 wpabuf_free(wps_ie);
1344 struct wpabuf *wps_ie = NULL; local
1401 struct wpabuf *wps_ie; local
1513 struct wpabuf *wps_ie; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dsta_info.h122 struct wpabuf *wps_ie; /* WPS IE from (Re)Association Request */ member in struct:sta_info
H A Dwps_hostapd.c1218 struct wpabuf *wps_ie; local
1236 wps_ie = ieee802_11_vendor_ie_concat(ie, ie_len, WPS_DEV_OUI_WFA);
1237 if (wps_ie == NULL)
1239 if (wps_validate_probe_req(wps_ie, addr) < 0) {
1240 wpabuf_free(wps_ie);
1244 if (wpabuf_len(wps_ie) > 0) {
1252 wps_registrar_probe_req_rx(hapd->wps->registrar, addr, wps_ie,
1260 UPNP_WPS_WLANEVENT_TYPE_PROBE, wps_ie);
1264 wpabuf_free(wps_ie);
/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);
/external/wpa_supplicant_8/hostapd/src/wps/
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...]
H A Dwps.h863 int wps_validate_beacon(const struct wpabuf *wps_ie);
864 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe,
866 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr);
867 int wps_validate_assoc_req(const struct wpabuf *wps_ie);
868 int wps_validate_assoc_resp(const struct wpabuf *wps_ie);
888 static inline int wps_validate_beacon(const struct wpabuf *wps_ie){ argument
892 static inline int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, argument
898 static inline int wps_validate_probe_req(const struct wpabuf *wps_ie, argument
904 static inline int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument
909 static inline int wps_validate_assoc_resp(const struct wpabuf *wps_ie) argument
[all...]
/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/src/wps/
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...]
H A Dwps.h863 int wps_validate_beacon(const struct wpabuf *wps_ie);
864 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe,
866 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr);
867 int wps_validate_assoc_req(const struct wpabuf *wps_ie);
868 int wps_validate_assoc_resp(const struct wpabuf *wps_ie);
888 static inline int wps_validate_beacon(const struct wpabuf *wps_ie){ argument
892 static inline int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, argument
898 static inline int wps_validate_probe_req(const struct wpabuf *wps_ie, argument
904 static inline int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument
909 static inline int wps_validate_assoc_resp(const struct wpabuf *wps_ie) argument
[all...]
/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/wpa_supplicant/src/wps/
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...]

Completed in 1743 milliseconds

12