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

12

/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps.h906 int wps_validate_beacon(const struct wpabuf *wps_ie);
907 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe,
909 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr);
910 int wps_validate_assoc_req(const struct wpabuf *wps_ie);
911 int wps_validate_assoc_resp(const struct wpabuf *wps_ie);
931 static inline int wps_validate_beacon(const struct wpabuf *wps_ie){ argument
935 static inline int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, argument
941 static inline int wps_validate_probe_req(const struct wpabuf *wps_ie, argument
947 static inline int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument
952 static inline int wps_validate_assoc_resp(const struct wpabuf *wps_ie) argument
[all...]
H A Dwps_validate.c1083 int wps_validate_beacon(const struct wpabuf *wps_ie) argument
1088 if (wps_ie == NULL) {
1092 if (wps_parse_msg(wps_ie, &attr) < 0) {
1121 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe, argument
1127 if (wps_ie == NULL) {
1132 if (wps_parse_msg(wps_ie, &attr) < 0) {
1180 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr) argument
1185 if (wps_ie == NULL) {
1190 if (wps_parse_msg(wps_ie, &attr) < 0) {
1227 int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument
1256 wps_validate_assoc_resp(const struct wpabuf *wps_ie) argument
[all...]
/external/wpa_supplicant_8/src/wps/
H A Dwps.h906 int wps_validate_beacon(const struct wpabuf *wps_ie);
907 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe,
909 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr);
910 int wps_validate_assoc_req(const struct wpabuf *wps_ie);
911 int wps_validate_assoc_resp(const struct wpabuf *wps_ie);
931 static inline int wps_validate_beacon(const struct wpabuf *wps_ie){ argument
935 static inline int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, argument
941 static inline int wps_validate_probe_req(const struct wpabuf *wps_ie, argument
947 static inline int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument
952 static inline int wps_validate_assoc_resp(const struct wpabuf *wps_ie) argument
[all...]
H A Dwps_validate.c1083 int wps_validate_beacon(const struct wpabuf *wps_ie) argument
1088 if (wps_ie == NULL) {
1092 if (wps_parse_msg(wps_ie, &attr) < 0) {
1121 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe, argument
1127 if (wps_ie == NULL) {
1132 if (wps_parse_msg(wps_ie, &attr) < 0) {
1180 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr) argument
1185 if (wps_ie == NULL) {
1190 if (wps_parse_msg(wps_ie, &attr) < 0) {
1227 int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument
1256 wps_validate_assoc_resp(const struct wpabuf *wps_ie) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps.h906 int wps_validate_beacon(const struct wpabuf *wps_ie);
907 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe,
909 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr);
910 int wps_validate_assoc_req(const struct wpabuf *wps_ie);
911 int wps_validate_assoc_resp(const struct wpabuf *wps_ie);
931 static inline int wps_validate_beacon(const struct wpabuf *wps_ie){ argument
935 static inline int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, argument
941 static inline int wps_validate_probe_req(const struct wpabuf *wps_ie, argument
947 static inline int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument
952 static inline int wps_validate_assoc_resp(const struct wpabuf *wps_ie) argument
[all...]
H A Dwps_validate.c1083 int wps_validate_beacon(const struct wpabuf *wps_ie) argument
1088 if (wps_ie == NULL) {
1092 if (wps_parse_msg(wps_ie, &attr) < 0) {
1121 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe, argument
1127 if (wps_ie == NULL) {
1132 if (wps_parse_msg(wps_ie, &attr) < 0) {
1180 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr) argument
1185 if (wps_ie == NULL) {
1190 if (wps_parse_msg(wps_ie, &attr) < 0) {
1227 int wps_validate_assoc_req(const struct wpabuf *wps_ie) argument
1256 wps_validate_assoc_resp(const struct wpabuf *wps_ie) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Dwps_supplicant.c1652 struct wpabuf *wps_ie; local
1657 wps_ie = wpa_bss_get_vendor_ie_multi(bss, WPS_IE_VENDOR_TYPE);
1659 if (!wps_ie) {
1664 if (!wps_is_selected_pbc_registrar(wps_ie)) {
1667 wpabuf_free(wps_ie);
1674 wpabuf_free(wps_ie);
1679 if (!wps_ie) {
1691 if (!wps_is_addr_authorized(wps_ie, wpa_s->own_addr, 1)) {
1701 wpabuf_free(wps_ie);
1709 wpabuf_free(wps_ie);
1727 struct wpabuf *wps_ie = NULL; local
1784 struct wpabuf *wps_ie; local
1888 struct wpabuf *wps_ie; local
[all...]
H A Dbss.c314 struct wpabuf *wps_ie; local
317 wps_ie = wpa_bss_get_vendor_ie_multi(bss, WPS_IE_VENDOR_TYPE);
318 if (!wps_ie)
321 if (wps_is_selected_pbc_registrar(wps_ie)) {
323 } else if (!wps_is_addr_authorized(wps_ie, wpa_s->own_addr, 1)) {
324 wpabuf_free(wps_ie);
340 wpabuf_free(wps_ie);
343 wpabuf_free(wps_ie);
H A Dsme.c365 struct wpabuf *wps_ie; local
366 wps_ie = wps_build_assoc_req_ie(wpas_wps_get_req_type(ssid));
367 if (wps_ie && wpabuf_len(wps_ie) <=
369 wpa_s->sme.assoc_req_ie_len = wpabuf_len(wps_ie);
370 os_memcpy(wpa_s->sme.assoc_req_ie, wpabuf_head(wps_ie),
374 wpabuf_free(wps_ie);
H A Dscan.c524 struct wpabuf *wps_ie; local
525 wps_ie = wps_build_probe_req_ie(wps == 2 ? DEV_PW_PUSHBUTTON :
530 if (wps_ie) {
531 if (wpabuf_resize(&extra_ie, wpabuf_len(wps_ie)) == 0)
532 wpabuf_put_buf(extra_ie, wps_ie);
533 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
721 if (drv->wps_ie) {
723 drv->wps_ie, drv->wps_ie_len);
766 os_free(drv->wps_ie);
767 drv->wps_ie = NULL;
770 drv->wps_ie = os_memdup(wpabuf_head(proberesp),
772 if (drv->wps_ie == NULL)
1017 os_free(drv->wps_ie);
H A Ddriver_atheros.c1196 ie.wps_ie, IEEE80211_MAX_OPT_IE);
1215 if (ie.wps_ie &&
1216 (ie.wps_ie[1] > 0 && (ie.wps_ie[0] == WLAN_EID_VENDOR_SPECIFIC))) {
1217 iebuf = ie.wps_ie;
1218 ielen = ie.wps_ie[1];
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_hostap.c49 u8 *wps_ie; member in struct:hostap_driver_data
721 if (drv->wps_ie) {
723 drv->wps_ie, drv->wps_ie_len);
766 os_free(drv->wps_ie);
767 drv->wps_ie = NULL;
770 drv->wps_ie = os_memdup(wpabuf_head(proberesp),
772 if (drv->wps_ie == NULL)
1017 os_free(drv->wps_ie);
H A Ddriver_atheros.c1196 ie.wps_ie, IEEE80211_MAX_OPT_IE);
1215 if (ie.wps_ie &&
1216 (ie.wps_ie[1] > 0 && (ie.wps_ie[0] == WLAN_EID_VENDOR_SPECIFIC))) {
1217 iebuf = ie.wps_ie;
1218 ielen = ie.wps_ie[1];
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_hostap.c49 u8 *wps_ie; member in struct:hostap_driver_data
721 if (drv->wps_ie) {
723 drv->wps_ie, drv->wps_ie_len);
766 os_free(drv->wps_ie);
767 drv->wps_ie = NULL;
770 drv->wps_ie = os_memdup(wpabuf_head(proberesp),
772 if (drv->wps_ie == NULL)
1017 os_free(drv->wps_ie);
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dwps_hostapd.c1385 struct wpabuf *wps_ie; local
1403 wps_ie = ieee802_11_vendor_ie_concat(ie, ie_len, WPS_DEV_OUI_WFA);
1404 if (wps_ie == NULL)
1406 if (wps_validate_probe_req(wps_ie, addr) < 0) {
1407 wpabuf_free(wps_ie);
1411 if (wpabuf_len(wps_ie) > 0) {
1419 wps_registrar_probe_req_rx(hapd->wps->registrar, addr, wps_ie,
1427 UPNP_WPS_WLANEVENT_TYPE_PROBE, wps_ie);
1431 wpabuf_free(wps_ie);
H A Dsta_info.h183 struct wpabuf *wps_ie; /* WPS IE from (Re)Association Request */ member in struct:sta_info
/external/wpa_supplicant_8/src/ap/
H A Dwps_hostapd.c1385 struct wpabuf *wps_ie; local
1403 wps_ie = ieee802_11_vendor_ie_concat(ie, ie_len, WPS_DEV_OUI_WFA);
1404 if (wps_ie == NULL)
1406 if (wps_validate_probe_req(wps_ie, addr) < 0) {
1407 wpabuf_free(wps_ie);
1411 if (wpabuf_len(wps_ie) > 0) {
1419 wps_registrar_probe_req_rx(hapd->wps->registrar, addr, wps_ie,
1427 UPNP_WPS_WLANEVENT_TYPE_PROBE, wps_ie);
1431 wpabuf_free(wps_ie);
H A Dsta_info.h183 struct wpabuf *wps_ie; /* WPS IE from (Re)Association Request */ member in struct:sta_info
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dwps_hostapd.c1385 struct wpabuf *wps_ie; local
1403 wps_ie = ieee802_11_vendor_ie_concat(ie, ie_len, WPS_DEV_OUI_WFA);
1404 if (wps_ie == NULL)
1406 if (wps_validate_probe_req(wps_ie, addr) < 0) {
1407 wpabuf_free(wps_ie);
1411 if (wpabuf_len(wps_ie) > 0) {
1419 wps_registrar_probe_req_rx(hapd->wps->registrar, addr, wps_ie,
1427 UPNP_WPS_WLANEVENT_TYPE_PROBE, wps_ie);
1431 wpabuf_free(wps_ie);
H A Dsta_info.h183 struct wpabuf *wps_ie; /* WPS IE from (Re)Association Request */ member in struct:sta_info
/external/wpa_supplicant_8/wpa_supplicant/dbus/
H A Ddbus_old_handlers.c416 const u8 *wpa_ie, *rsn_ie, *wps_ie; local
423 wps_ie = wpa_bss_get_vendor_ie(bss, WPS_IE_VENDOR_TYPE);
441 (wps_ie &&
443 (const char *) wps_ie,
444 wps_ie[1] + 2)) ||
/external/wpa_supplicant_8/hostapd/src/common/
H A Dieee802_11_common.h36 const u8 *wps_ie; member in struct:ieee802_11_elems
/external/wpa_supplicant_8/src/common/
H A Dieee802_11_common.h36 const u8 *wps_ie; member in struct:ieee802_11_elems
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Dieee802_11_common.h36 const u8 *wps_ie; member in struct:ieee802_11_elems

Completed in 390 milliseconds

12