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

/external/wpa_supplicant_8/hostapd/src/common/
H A Dieee802_11_common.h24 const u8 *wps_ie; member in struct:ieee802_11_elems
/external/wpa_supplicant_8/src/common/
H A Dieee802_11_common.h24 const u8 *wps_ie; member in struct:ieee802_11_elems
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Dieee802_11_common.h24 const u8 *wps_ie; member in struct:ieee802_11_elems
/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.c1330 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 Dsta_info.h124 struct wpabuf *wps_ie; /* WPS IE from (Re)Association Request */ member in struct:sta_info
H A Dwps_hostapd.c1330 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 Dsta_info.h124 struct wpabuf *wps_ie; /* WPS IE from (Re)Association Request */ member in struct:sta_info
H A Dwps_hostapd.c1330 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 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.h894 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 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.h894 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 Dscan.c435 struct wpabuf *wps_ie; local
436 wps_ie = wps_build_probe_req_ie(wps == 2 ? DEV_PW_PUSHBUTTON :
441 if (wps_ie) {
442 if (wpabuf_resize(&extra_ie, wpabuf_len(wps_ie)) == 0)
443 wpabuf_put_buf(extra_ie, wps_ie);
444 wpabuf_free(wps_ie);
H A Dsme.c273 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 Dwps_supplicant.c1488 struct wpabuf *wps_ie; local
1493 wps_ie = wpa_bss_get_vendor_ie_multi(bss, WPS_IE_VENDOR_TYPE);
1495 if (!wps_ie) {
1500 if (!wps_is_selected_pbc_registrar(wps_ie)) {
1503 wpabuf_free(wps_ie);
1510 wpabuf_free(wps_ie);
1515 if (!wps_ie) {
1527 if (!wps_is_addr_authorized(wps_ie, wpa_s->own_addr, 1)) {
1531 wpabuf_free(wps_ie);
1539 wpabuf_free(wps_ie);
1557 struct wpabuf *wps_ie = NULL; local
1614 struct wpabuf *wps_ie; local
1726 struct wpabuf *wps_ie; local
[all...]
H A Dwpa_supplicant.c1611 struct wpabuf *wps_ie; local
1612 wps_ie = wps_build_assoc_req_ie(wpas_wps_get_req_type(ssid));
1613 if (wps_ie && wpabuf_len(wps_ie) <= sizeof(wpa_ie)) {
1614 wpa_ie_len = wpabuf_len(wps_ie);
1615 os_memcpy(wpa_ie, wpabuf_head(wps_ie), wpa_ie_len);
1618 wpabuf_free(wps_ie);
H A Dctrl_iface.c2144 struct wpabuf *wps_ie)
2149 if (wps_ie == NULL)
2151 if (wps_is_selected_pbc_registrar(wps_ie))
2153 else if (wps_is_addr_authorized(wps_ie, wpa_s->own_addr, 0))
2155 else if (wps_is_selected_pin_registrar(wps_ie))
2163 wpabuf_free(wps_ie);
2174 struct wpabuf *wps_ie; local
2175 wps_ie = wpa_bss_get_vendor_ie_multi(bss, WPS_IE_VENDOR_TYPE);
2176 return wpa_supplicant_wps_ie_txt_buf(wpa_s, pos, end, wps_ie);
2142 wpa_supplicant_wps_ie_txt_buf(struct wpa_supplicant *wpa_s, char *pos, char *end, struct wpabuf *wps_ie) argument
H A Dp2p_supplicant.c288 struct wpabuf *wps_ie, *ies; local
314 wps_ie = wps_build_probe_req_ie(pw_id, &wpa_s->wps->dev,
317 if (wps_ie == NULL)
321 ies = wpabuf_alloc(wpabuf_len(wps_ie) + ielen);
323 wpabuf_free(wps_ie);
326 wpabuf_put_buf(ies, wps_ie);
327 wpabuf_free(wps_ie);
4471 struct wpabuf *wps_ie, *ies; local
4491 wps_ie = wps_build_probe_req_ie(DEV_PW_DEFAULT, &wpa_s->wps->dev,
4494 if (wps_ie
[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...]
H A Dwps.h894 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 Ddbus_new_handlers.c3890 struct wpabuf *wps_ie; local
3907 wps_ie = wpa_bss_get_vendor_ie_multi(res, WPS_IE_VENDOR_TYPE);
3908 if (wps_ie) {
3909 if (wps_is_selected_pbc_registrar(wps_ie))
3911 else if (wps_is_selected_pin_registrar(wps_ie))

Completed in 344 milliseconds