Lines Matching refs:elems
678 struct ieee802_11_elems elems; in handle_probe_req() local
704 if (ieee802_11_parse_elems(ie, ie_len, &elems, 0) == ParseFailed) { in handle_probe_req()
710 if ((!elems.ssid || !elems.supp_rates)) { in handle_probe_req()
727 if (elems.ds_params && in handle_probe_req()
731 hapd->iconf->channel != elems.ds_params[0]) { in handle_probe_req()
734 hapd->iconf->channel, elems.ds_params[0]); in handle_probe_req()
739 if (hapd->p2p && hapd->p2p_group && elems.wps_ie) { in handle_probe_req()
752 if (hapd->p2p && hapd->p2p_group && elems.p2p) { in handle_probe_req()
765 if (hapd->conf->ignore_broadcast_ssid && elems.ssid_len == 0 && in handle_probe_req()
766 elems.ssid_list_len == 0) { in handle_probe_req()
774 elems.ssid_len == P2P_WILDCARD_SSID_LEN && in handle_probe_req()
775 os_memcmp(elems.ssid, P2P_WILDCARD_SSID, in handle_probe_req()
778 elems.ssid_len = 0; in handle_probe_req()
782 res = ssid_match(hapd, elems.ssid, elems.ssid_len, in handle_probe_req()
783 elems.ssid_list, elems.ssid_list_len); in handle_probe_req()
789 wpa_ssid_txt(elems.ssid, elems.ssid_len), in handle_probe_req()
791 elems.ssid_list ? " (SSID list)" : ""); in handle_probe_req()
798 elems.interworking && elems.interworking_len >= 1) { in handle_probe_req()
799 u8 ant = elems.interworking[0] & 0x0f; in handle_probe_req()
809 if (hapd->conf->interworking && elems.interworking && in handle_probe_req()
810 (elems.interworking_len == 7 || elems.interworking_len == 9)) { in handle_probe_req()
812 if (elems.interworking_len == 7) in handle_probe_req()
813 hessid = elems.interworking + 1; in handle_probe_req()
815 hessid = elems.interworking + 1 + 2; in handle_probe_req()
829 supp_rates_11b_only(&elems)) { in handle_probe_req()
874 resp = hostapd_gen_probe_resp(hapd, mgmt, elems.p2p != NULL, in handle_probe_req()
908 elems.ssid_len == 0 ? "broadcast" : "our"); in handle_probe_req()