Lines Matching refs:ht_cap
146 const struct ieee80211_ht_cap *ht_cap, in ieee80211_determine_chantype() argument
156 memcpy(&sta_ht_cap, &sband->ht_cap, sizeof(sta_ht_cap)); in ieee80211_determine_chantype()
164 if (!ht_cap || !ht_oper || !sta_ht_cap.ht_supported) { in ieee80211_determine_chantype()
171 if (!(ht_cap->cap_info & in ieee80211_determine_chantype()
337 const struct ieee80211_ht_cap *ht_cap, in ieee80211_config_bw() argument
378 ht_cap, ht_oper, vht_oper, in ieee80211_config_bw()
474 struct ieee80211_sta_ht_cap ht_cap; in ieee80211_add_ht_ie() local
476 BUILD_BUG_ON(sizeof(ht_cap) != sizeof(sband->ht_cap)); in ieee80211_add_ht_ie()
478 memcpy(&ht_cap, &sband->ht_cap, sizeof(ht_cap)); in ieee80211_add_ht_ie()
479 ieee80211_apply_htcap_overrides(sdata, &ht_cap); in ieee80211_add_ht_ie()
482 cap = ht_cap.cap; in ieee80211_add_ht_ie()
531 ieee80211_ie_build_ht_cap(pos, &ht_cap, cap); in ieee80211_add_ht_ie()
4156 const struct ieee80211_ht_cap *ht_cap; in ieee80211_ht_vht_rx_chains() local
4164 if (ht_cap_ie && ht_cap_ie[1] >= sizeof(*ht_cap)) { in ieee80211_ht_vht_rx_chains()
4165 ht_cap = (void *)(ht_cap_ie + 2); in ieee80211_ht_vht_rx_chains()
4166 chains = ieee80211_mcs_to_chains(&ht_cap->mcs); in ieee80211_ht_vht_rx_chains()
4200 const struct ieee80211_ht_cap *ht_cap = NULL; in ieee80211_prep_channel() local
4218 sband->ht_cap.ht_supported) { in ieee80211_prep_channel()
4226 if (ht_cap_ie && ht_cap_ie[1] >= sizeof(*ht_cap)) in ieee80211_prep_channel()
4227 ht_cap = (void *)(ht_cap_ie + 2); in ieee80211_prep_channel()
4229 if (!ht_cap) { in ieee80211_prep_channel()
4274 ht_cap, ht_oper, vht_oper, in ieee80211_prep_channel()
4659 if (!sband->ht_cap.ht_supported || in ieee80211_mgd_assoc()
4775 memcpy(&sta_ht_cap, &sband->ht_cap, sizeof(sta_ht_cap)); in ieee80211_mgd_assoc()
4780 sband->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 && in ieee80211_mgd_assoc()