Lines Matching refs:tailpos
1401 u8 *pos, *tailpos, *tailend, *csa_pos; in ieee802_11_build_ap_params() local
1445 tailpos = tail = os_malloc(tail_len); in ieee802_11_build_ap_params()
1493 tailpos = hostapd_eid_country(hapd, tailpos, tailend - tailpos); in ieee802_11_build_ap_params()
1496 tailpos = hostapd_eid_pwr_constraint(hapd, tailpos); in ieee802_11_build_ap_params()
1499 csa_pos = hostapd_eid_csa(hapd, tailpos); in ieee802_11_build_ap_params()
1500 if (csa_pos != tailpos) in ieee802_11_build_ap_params()
1502 tailpos = csa_pos; in ieee802_11_build_ap_params()
1505 tailpos = hostapd_eid_erp_info(hapd, tailpos); in ieee802_11_build_ap_params()
1508 tailpos = hostapd_eid_ext_supp_rates(hapd, tailpos); in ieee802_11_build_ap_params()
1510 tailpos = hostapd_get_rsne(hapd, tailpos, tailend - tailpos); in ieee802_11_build_ap_params()
1511 tailpos = hostapd_eid_bss_load(hapd, tailpos, tailend - tailpos); in ieee802_11_build_ap_params()
1512 tailpos = hostapd_eid_rm_enabled_capab(hapd, tailpos, in ieee802_11_build_ap_params()
1513 tailend - tailpos); in ieee802_11_build_ap_params()
1514 tailpos = hostapd_get_mde(hapd, tailpos, tailend - tailpos); in ieee802_11_build_ap_params()
1517 csa_pos = hostapd_eid_ecsa(hapd, tailpos); in ieee802_11_build_ap_params()
1518 if (csa_pos != tailpos) in ieee802_11_build_ap_params()
1520 tailpos = csa_pos; in ieee802_11_build_ap_params()
1522 tailpos = hostapd_eid_supported_op_classes(hapd, tailpos); in ieee802_11_build_ap_params()
1523 tailpos = hostapd_eid_ht_capabilities(hapd, tailpos); in ieee802_11_build_ap_params()
1524 tailpos = hostapd_eid_ht_operation(hapd, tailpos); in ieee802_11_build_ap_params()
1526 tailpos = hostapd_eid_ext_capab(hapd, tailpos); in ieee802_11_build_ap_params()
1532 tailpos = hostapd_eid_time_adv(hapd, tailpos); in ieee802_11_build_ap_params()
1534 tailpos = hostapd_eid_interworking(hapd, tailpos); in ieee802_11_build_ap_params()
1535 tailpos = hostapd_eid_adv_proto(hapd, tailpos); in ieee802_11_build_ap_params()
1536 tailpos = hostapd_eid_roaming_consortium(hapd, tailpos); in ieee802_11_build_ap_params()
1540 os_memcpy(tailpos, wpabuf_head(hapd->iface->fst_ies), in ieee802_11_build_ap_params()
1542 tailpos += wpabuf_len(hapd->iface->fst_ies); in ieee802_11_build_ap_params()
1549 tailpos = hostapd_eid_vht_capabilities(hapd, tailpos, 0); in ieee802_11_build_ap_params()
1550 tailpos = hostapd_eid_vht_operation(hapd, tailpos); in ieee802_11_build_ap_params()
1551 tailpos = hostapd_eid_txpower_envelope(hapd, tailpos); in ieee802_11_build_ap_params()
1558 tailpos = hostapd_eid_txpower_envelope(hapd, tailpos); in ieee802_11_build_ap_params()
1563 tailpos = hostapd_eid_wb_chsw_wrapper(hapd, tailpos); in ieee802_11_build_ap_params()
1565 tailpos = hostapd_eid_fils_indic(hapd, tailpos, 0); in ieee802_11_build_ap_params()
1566 tailpos = hostapd_get_rsnxe(hapd, tailpos, tailend - tailpos); in ieee802_11_build_ap_params()
1570 tailpos = hostapd_eid_he_capab(hapd, tailpos, in ieee802_11_build_ap_params()
1572 tailpos = hostapd_eid_he_operation(hapd, tailpos); in ieee802_11_build_ap_params()
1573 tailpos = hostapd_eid_spatial_reuse(hapd, tailpos); in ieee802_11_build_ap_params()
1574 tailpos = hostapd_eid_he_mu_edca_parameter_set(hapd, tailpos); in ieee802_11_build_ap_params()
1575 tailpos = hostapd_eid_he_6ghz_band_cap(hapd, tailpos); in ieee802_11_build_ap_params()
1581 tailpos = hostapd_eid_vendor_vht(hapd, tailpos); in ieee802_11_build_ap_params()
1585 tailpos = hostapd_get_wpa_ie(hapd, tailpos, tailend - tailpos); in ieee802_11_build_ap_params()
1586 tailpos = hostapd_get_osen_ie(hapd, tailpos, tailend - tailpos); in ieee802_11_build_ap_params()
1589 tailpos = hostapd_eid_wmm(hapd, tailpos); in ieee802_11_build_ap_params()
1593 os_memcpy(tailpos, wpabuf_head(hapd->wps_beacon_ie), in ieee802_11_build_ap_params()
1595 tailpos += wpabuf_len(hapd->wps_beacon_ie); in ieee802_11_build_ap_params()
1601 os_memcpy(tailpos, wpabuf_head(hapd->p2p_beacon_ie), in ieee802_11_build_ap_params()
1603 tailpos += wpabuf_len(hapd->p2p_beacon_ie); in ieee802_11_build_ap_params()
1609 tailpos = hostapd_eid_p2p_manage(hapd, tailpos); in ieee802_11_build_ap_params()
1613 tailpos = hostapd_eid_hs20_indication(hapd, tailpos); in ieee802_11_build_ap_params()
1616 tailpos = hostapd_eid_mbo(hapd, tailpos, tail + tail_len - tailpos); in ieee802_11_build_ap_params()
1617 tailpos = hostapd_eid_owe_trans(hapd, tailpos, in ieee802_11_build_ap_params()
1618 tail + tail_len - tailpos); in ieee802_11_build_ap_params()
1619 tailpos = hostapd_eid_dpp_cc(hapd, tailpos, tail + tail_len - tailpos); in ieee802_11_build_ap_params()
1622 os_memcpy(tailpos, wpabuf_head(hapd->conf->vendor_elements), in ieee802_11_build_ap_params()
1624 tailpos += wpabuf_len(hapd->conf->vendor_elements); in ieee802_11_build_ap_params()
1627 tail_len = tailpos > tail ? tailpos - tail : 0; in ieee802_11_build_ap_params()