Lines Matching refs:elems
45 struct ieee802_11_elems elems; in hostapd_notif_assoc() local
73 ieee802_11_parse_elems(req_ies, req_ies_len, &elems, 0); in hostapd_notif_assoc()
74 if (elems.wps_ie) { in hostapd_notif_assoc()
75 ie = elems.wps_ie - 2; in hostapd_notif_assoc()
76 ielen = elems.wps_ie_len + 2; in hostapd_notif_assoc()
78 } else if (elems.rsn_ie) { in hostapd_notif_assoc()
79 ie = elems.rsn_ie - 2; in hostapd_notif_assoc()
80 ielen = elems.rsn_ie_len + 2; in hostapd_notif_assoc()
82 } else if (elems.wpa_ie) { in hostapd_notif_assoc()
83 ie = elems.wpa_ie - 2; in hostapd_notif_assoc()
84 ielen = elems.wpa_ie_len + 2; in hostapd_notif_assoc()
87 } else if (elems.osen) { in hostapd_notif_assoc()
88 ie = elems.osen - 2; in hostapd_notif_assoc()
89 ielen = elems.osen_len + 2; in hostapd_notif_assoc()
128 if (elems.p2p) { in hostapd_notif_assoc()
139 if (elems.ht_capabilities && in hostapd_notif_assoc()
144 elems.ht_capabilities; in hostapd_notif_assoc()
154 if (elems.ext_capab && elems.ext_capab_len > 4) { in hostapd_notif_assoc()
155 if (elems.ext_capab[4] & 0x01) in hostapd_notif_assoc()
162 if (elems.hs20 && elems.hs20_len > 4) { in hostapd_notif_assoc()
163 sta->hs20_ie = wpabuf_alloc_copy(elems.hs20 + 4, in hostapd_notif_assoc()
164 elems.hs20_len - 4); in hostapd_notif_assoc()
172 sta->mb_ies = mb_ies_by_info(&elems.mb_ies); in hostapd_notif_assoc()
177 mbo_ap_check_sta_assoc(hapd, sta, &elems); in hostapd_notif_assoc()
179 ap_copy_sta_supp_op_classes(sta, elems.supp_op_classes, in hostapd_notif_assoc()
180 elems.supp_op_classes_len); in hostapd_notif_assoc()
227 elems.mdie, elems.mdie_len); in hostapd_notif_assoc()
334 if (elems.osen == NULL) { in hostapd_notif_assoc()
352 elems.osen - 2, elems.osen_len + 2) < 0) in hostapd_notif_assoc()
359 elems.mbo && sta->cell_capa && !(sta->flags & WLAN_STA_MFP) && in hostapd_notif_assoc()