HomeSort by relevance Sort by last modified time
    Searched refs:wps_ie (Results 1 - 25 of 26) sorted by null

1 2

  /external/wpa_supplicant_6/wpa_supplicant/
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...]
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);
wpa_supplicant.c 1048 struct wpabuf *wps_ie; local
    [all...]
ctrl_iface.c 737 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);
    [all...]
  /external/wpa_supplicant_8/src/wps/
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){
861 static inline int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie,
867 static inline int wps_validate_probe_req(const struct wpabuf *wps_ie,
873 static inline int wps_validate_assoc_req(const struct wpabuf *wps_ie)
878 static inline int wps_validate_assoc_resp(const struct wpabuf *wps_ie)
    [all...]
wps_validate.c 1081 int wps_validate_beacon(const struct wpabuf *wps_ie)
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,
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)
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)
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/
wps_supplicant.c 1240 struct wpabuf *wps_ie; local
1309 struct wpabuf *wps_ie = NULL; local
1366 struct wpabuf *wps_ie; local
1478 struct wpabuf *wps_ie; local
    [all...]
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, &params);
887 wpabuf_free(wps_ie);
    [all...]
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);
p2p_supplicant.c 120 struct wpabuf *wps_ie, *ies; local
136 wps_ie = wps_build_probe_req_ie(0, &wpa_s->wps->dev, wpa_s->wps->uuid,
139 if (wps_ie == NULL)
143 ies = wpabuf_alloc(wpabuf_len(wps_ie) + ielen);
145 wpabuf_free(wps_ie);
148 wpabuf_put_buf(ies, wps_ie);
149 wpabuf_free(wps_ie);
2730 struct wpabuf *wps_ie, *ies; local
    [all...]
wpa_supplicant.c 1231 struct wpabuf *wps_ie; local
    [all...]
ctrl_iface.c 1447 struct wpabuf *wps_ie; local
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/common/
ieee802_11_common.h 48 u8 *wps_ie; member in struct:ieee802_11_elems
ieee802_11_common.c 87 elems->wps_ie = pos;
  /external/wpa_supplicant_8/src/common/
ieee802_11_common.h 28 const u8 *wps_ie; member in struct:ieee802_11_elems
ieee802_11_common.c 81 elems->wps_ie = pos;
  /external/wpa_supplicant_8/src/drivers/
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);
driver_atheros.c 883 ie.wps_ie, IEEE80211_MAX_OPT_IE);
902 if (ie.wps_ie &&
903 (ie.wps_ie[1] > 0 && (ie.wps_ie[0] == WLAN_EID_VENDOR_SPECIFIC))) {
904 iebuf = ie.wps_ie;
905 ielen = ie.wps_ie[1];
    [all...]
driver_test.c 2920 struct wpabuf *wps_ie, *ies; local
    [all...]
  /external/wpa_supplicant_8/src/ap/
sta_info.h 110 struct wpabuf *wps_ie; /* WPS IE from (Re)Association Request */ member in struct:sta_info
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);
    [all...]
ieee802_11.c 665 if (hapd->conf->wps_state && elems.wps_ie) {
669 wpabuf_free(sta->wps_ie);
670 sta->wps_ie = ieee802_11_vendor_ie_concat(ies, ies_len,
672 if (sta->wps_ie && wps_is_20(sta->wps_ie)) {
678 if (sta->wps_ie && wps_validate_assoc_req(sta->wps_ie) < 0) {
    [all...]
drv_callbacks.c 59 if (elems.wps_ie) {
60 ie = elems.wps_ie - 2;
beacon.c 334 if (hapd->p2p && elems.wps_ie) {
sta_info.c 221 wpabuf_free(sta->wps_ie);

Completed in 496 milliseconds

1 2