Lines Matching refs:vht_cap
209 if (!vht_oper || !sband->vht_cap.vht_supported) { in ieee80211_determine_chantype()
514 struct ieee80211_sta_vht_cap vht_cap; in ieee80211_add_vht_ie() local
517 BUILD_BUG_ON(sizeof(vht_cap) != sizeof(sband->vht_cap)); in ieee80211_add_vht_ie()
519 memcpy(&vht_cap, &sband->vht_cap, sizeof(vht_cap)); in ieee80211_add_vht_ie()
520 ieee80211_apply_vhtcap_overrides(sdata, &vht_cap); in ieee80211_add_vht_ie()
523 cap = vht_cap.cap; in ieee80211_add_vht_ie()
586 ieee80211_ie_build_vht_cap(pos, &vht_cap, cap); in ieee80211_add_vht_ie()
4166 const struct ieee80211_vht_cap *vht_cap; in ieee80211_ht_vht_rx_chains() local
4186 if (vht_cap_ie && vht_cap_ie[1] >= sizeof(*vht_cap)) { in ieee80211_ht_vht_rx_chains()
4190 vht_cap = (void *)(vht_cap_ie + 2); in ieee80211_ht_vht_rx_chains()
4191 tx_mcs_map = le16_to_cpu(vht_cap->supp_mcs.tx_mcs_map); in ieee80211_ht_vht_rx_chains()
4245 sband->vht_cap.vht_supported) { in ieee80211_prep_channel()
4246 const u8 *vht_oper_ie, *vht_cap; in ieee80211_prep_channel() local
4260 vht_cap = ieee80211_bss_get_ie(cbss, WLAN_EID_VHT_CAPABILITY); in ieee80211_prep_channel()
4261 if (!vht_cap || vht_cap[1] < sizeof(struct ieee80211_vht_cap)) { in ieee80211_prep_channel()
4689 if (!sband->vht_cap.vht_supported || in ieee80211_mgd_assoc()