Lines Matching full:cap

68 	struct ieee80211_he_capabilities *cap;  in ieee80211_invalid_he_cap_size()  local
72 cap = (struct ieee80211_he_capabilities *) buf; in ieee80211_invalid_he_cap_size()
73 cap_len = sizeof(*cap) - sizeof(cap->optional); in ieee80211_invalid_he_cap_size()
77 cap_len += ieee80211_he_mcs_set_size(cap->he_phy_capab_info); in ieee80211_invalid_he_cap_size()
83 cap->he_phy_capab_info); in ieee80211_invalid_he_cap_size()
92 struct ieee80211_he_capabilities *cap; in hostapd_eid_he_capab() local
101 ie_size = sizeof(*cap) - sizeof(cap->optional); in hostapd_eid_he_capab()
130 cap = (struct ieee80211_he_capabilities *) pos; in hostapd_eid_he_capab()
131 os_memset(cap, 0, sizeof(*cap)); in hostapd_eid_he_capab()
133 os_memcpy(cap->he_mac_capab_info, mode->he_capab[opmode].mac_cap, in hostapd_eid_he_capab()
135 os_memcpy(cap->he_phy_capab_info, mode->he_capab[opmode].phy_cap, in hostapd_eid_he_capab()
137 os_memcpy(cap->optional, mode->he_capab[opmode].mcs, mcs_nss_size); in hostapd_eid_he_capab()
139 os_memcpy(&cap->optional[mcs_nss_size], in hostapd_eid_he_capab()
143 cap->he_phy_capab_info[HE_PHYCAP_SU_BEAMFORMER_CAPAB_IDX] |= in hostapd_eid_he_capab()
146 cap->he_phy_capab_info[HE_PHYCAP_SU_BEAMFORMER_CAPAB_IDX] &= in hostapd_eid_he_capab()
150 cap->he_phy_capab_info[HE_PHYCAP_SU_BEAMFORMEE_CAPAB_IDX] |= in hostapd_eid_he_capab()
153 cap->he_phy_capab_info[HE_PHYCAP_SU_BEAMFORMEE_CAPAB_IDX] &= in hostapd_eid_he_capab()
157 cap->he_phy_capab_info[HE_PHYCAP_MU_BEAMFORMER_CAPAB_IDX] |= in hostapd_eid_he_capab()
160 cap->he_phy_capab_info[HE_PHYCAP_MU_BEAMFORMER_CAPAB_IDX] &= in hostapd_eid_he_capab()
163 cap->he_phy_capab_info[HE_PHYCAP_CHANNEL_WIDTH_SET_IDX] &= in hostapd_eid_he_capab()
374 struct ieee80211_he_6ghz_band_cap *cap; in hostapd_eid_he_6ghz_band_cap() local
398 *pos++ = 1 + sizeof(*cap); in hostapd_eid_he_6ghz_band_cap()
401 cap = (struct ieee80211_he_6ghz_band_cap *) pos; in hostapd_eid_he_6ghz_band_cap()
402 cap->capab = host_to_le16(capab); in hostapd_eid_he_6ghz_band_cap()
403 pos += sizeof(*cap); in hostapd_eid_he_6ghz_band_cap()