Lines Matching refs:elems
1399 struct ieee802_11_elems *elems) in copy_supp_rates() argument
1401 if (!elems->supp_rates) { in copy_supp_rates()
1408 if (elems->supp_rates_len + elems->ext_supp_rates_len > in copy_supp_rates()
1413 elems->supp_rates_len, in copy_supp_rates()
1414 elems->ext_supp_rates_len); in copy_supp_rates()
1420 elems->supp_rates, elems->supp_rates_len, in copy_supp_rates()
1421 elems->ext_supp_rates, elems->ext_supp_rates_len); in copy_supp_rates()
1448 struct ieee802_11_elems elems; in check_assoc_ies() local
1454 if (ieee802_11_parse_elems(ies, ies_len, &elems, 1) == ParseFailed) { in check_assoc_ies()
1461 resp = check_ssid(hapd, sta, elems.ssid, elems.ssid_len); in check_assoc_ies()
1464 resp = check_wmm(hapd, sta, elems.wmm, elems.wmm_len); in check_assoc_ies()
1467 resp = check_ext_capab(hapd, sta, elems.ext_capab, elems.ext_capab_len); in check_assoc_ies()
1470 resp = copy_supp_rates(hapd, sta, &elems); in check_assoc_ies()
1474 resp = copy_sta_ht_capab(hapd, sta, elems.ht_capabilities); in check_assoc_ies()
1488 resp = copy_sta_vht_capab(hapd, sta, elems.vht_capabilities); in check_assoc_ies()
1492 resp = set_sta_vht_opmode(hapd, sta, elems.vht_opmode_notif); in check_assoc_ies()
1505 if (hapd->conf->vendor_vht && !elems.vht_capabilities) { in check_assoc_ies()
1506 resp = copy_sta_vendor_vht(hapd, sta, elems.vendor_vht, in check_assoc_ies()
1507 elems.vendor_vht_len); in check_assoc_ies()
1514 if (elems.p2p) { in check_assoc_ies()
1526 if ((hapd->conf->wpa & WPA_PROTO_RSN) && elems.rsn_ie) { in check_assoc_ies()
1527 wpa_ie = elems.rsn_ie; in check_assoc_ies()
1528 wpa_ie_len = elems.rsn_ie_len; in check_assoc_ies()
1530 elems.wpa_ie) { in check_assoc_ies()
1531 wpa_ie = elems.wpa_ie; in check_assoc_ies()
1532 wpa_ie_len = elems.wpa_ie_len; in check_assoc_ies()
1540 if (hapd->conf->wps_state && elems.wps_ie) { in check_assoc_ies()
1586 elems.mdie, elems.mdie_len); in check_assoc_ies()
1686 if (elems.osen == NULL) { in check_assoc_ies()
1704 elems.osen - 2, elems.osen_len + 2) < 0) in check_assoc_ies()
1716 if (elems.hs20 && elems.hs20_len > 4) { in check_assoc_ies()
1717 sta->hs20_ie = wpabuf_alloc_copy(elems.hs20 + 4, in check_assoc_ies()
1718 elems.hs20_len - 4); in check_assoc_ies()
1726 sta->mb_ies = mb_ies_by_info(&elems.mb_ies); in check_assoc_ies()
1732 mbo_ap_check_sta_assoc(hapd, sta, &elems); in check_assoc_ies()
1735 elems.mbo && sta->cell_capa && !(sta->flags & WLAN_STA_MFP) && in check_assoc_ies()
1743 ap_copy_sta_supp_op_classes(sta, elems.supp_op_classes, in check_assoc_ies()
1744 elems.supp_op_classes_len); in check_assoc_ies()
2305 struct ieee802_11_elems elems; in handle_beacon() local
2315 sizeof(mgmt->u.beacon)), &elems, in handle_beacon()
2318 ap_list_process_beacon(hapd->iface, mgmt, &elems, fi); in handle_beacon()