Lines Matching refs:ht_cap
153 const struct ieee80211_ht_cap *ht_cap, in ieee80211_determine_chantype() argument
163 memcpy(&sta_ht_cap, &sband->ht_cap, sizeof(sta_ht_cap)); in ieee80211_determine_chantype()
171 if (!ht_cap || !ht_oper || !sta_ht_cap.ht_supported) { in ieee80211_determine_chantype()
178 if (!(ht_cap->cap_info & in ieee80211_determine_chantype()
344 const struct ieee80211_ht_cap *ht_cap, in ieee80211_config_bw() argument
385 ht_cap, ht_oper, vht_oper, in ieee80211_config_bw()
481 struct ieee80211_sta_ht_cap ht_cap; in ieee80211_add_ht_ie() local
483 BUILD_BUG_ON(sizeof(ht_cap) != sizeof(sband->ht_cap)); in ieee80211_add_ht_ie()
485 memcpy(&ht_cap, &sband->ht_cap, sizeof(ht_cap)); in ieee80211_add_ht_ie()
486 ieee80211_apply_htcap_overrides(sdata, &ht_cap); in ieee80211_add_ht_ie()
489 cap = ht_cap.cap; in ieee80211_add_ht_ie()
538 ieee80211_ie_build_ht_cap(pos, &ht_cap, cap); in ieee80211_add_ht_ie()
4170 const struct ieee80211_ht_cap *ht_cap; in ieee80211_ht_vht_rx_chains() local
4178 if (ht_cap_ie && ht_cap_ie[1] >= sizeof(*ht_cap)) { in ieee80211_ht_vht_rx_chains()
4179 ht_cap = (void *)(ht_cap_ie + 2); in ieee80211_ht_vht_rx_chains()
4180 chains = ieee80211_mcs_to_chains(&ht_cap->mcs); in ieee80211_ht_vht_rx_chains()
4214 const struct ieee80211_ht_cap *ht_cap = NULL; in ieee80211_prep_channel() local
4230 sband->ht_cap.ht_supported) { in ieee80211_prep_channel()
4238 if (ht_cap_ie && ht_cap_ie[1] >= sizeof(*ht_cap)) in ieee80211_prep_channel()
4239 ht_cap = (void *)(ht_cap_ie + 2); in ieee80211_prep_channel()
4241 if (!ht_cap) { in ieee80211_prep_channel()
4272 ht_cap, ht_oper, vht_oper, in ieee80211_prep_channel()
4336 memcpy(&sta_ht_cap, &sband->ht_cap, sizeof(sta_ht_cap)); in ieee80211_prep_connection()
4340 (sband->ht_cap.cap & in ieee80211_prep_connection()
4739 if (!sband->ht_cap.ht_supported || in ieee80211_mgd_assoc()