Lines Matching refs:he_cap
1803 const struct ieee80211_sta_he_cap *he_cap = &iftdata->he_cap; in nl80211_send_iftype_data() local
1810 if (he_cap->has_he) { in nl80211_send_iftype_data()
1812 sizeof(he_cap->he_cap_elem.mac_cap_info), in nl80211_send_iftype_data()
1813 he_cap->he_cap_elem.mac_cap_info) || in nl80211_send_iftype_data()
1815 sizeof(he_cap->he_cap_elem.phy_cap_info), in nl80211_send_iftype_data()
1816 he_cap->he_cap_elem.phy_cap_info) || in nl80211_send_iftype_data()
1818 sizeof(he_cap->he_mcs_nss_supp), in nl80211_send_iftype_data()
1819 &he_cap->he_mcs_nss_supp) || in nl80211_send_iftype_data()
1821 sizeof(he_cap->ppe_thres), he_cap->ppe_thres)) in nl80211_send_iftype_data()
1825 if (eht_cap->has_eht && he_cap->has_he) { in nl80211_send_iftype_data()
1834 ieee80211_eht_mcs_nss_size(&he_cap->he_cap_elem, in nl80211_send_iftype_data()
5043 const struct ieee80211_sta_he_cap *he_cap) in he_get_txmcsmap() argument
5056 return le16_to_cpu(he_cap->he_mcs_nss_supp.tx_mcs_80); in he_get_txmcsmap()
5061 tx_mcs = he_cap->he_mcs_nss_supp.tx_mcs_80p80; in he_get_txmcsmap()
5064 tx_mcs = he_cap->he_mcs_nss_supp.tx_mcs_160; in he_get_txmcsmap()
5067 tx_mcs = he_cap->he_mcs_nss_supp.tx_mcs_80; in he_get_txmcsmap()
5081 const struct ieee80211_sta_he_cap *he_cap; in he_set_mcs_mask() local
5086 he_cap = ieee80211_get_he_iftype_cap(sband, wdev->iftype); in he_set_mcs_mask()
5087 if (!he_cap) in he_set_mcs_mask()
5092 tx_mcs_map = he_get_txmcsmap(info, link_id, he_cap); in he_set_mcs_mask()
5126 const struct ieee80211_sta_he_cap *he_cap; in nl80211_parse_tx_bitrate_mask() local
5146 he_cap = ieee80211_get_he_iftype_cap(sband, wdev->iftype); in nl80211_parse_tx_bitrate_mask()
5147 if (!he_cap) in nl80211_parse_tx_bitrate_mask()
5150 he_tx_mcs_map = he_get_txmcsmap(info, link_id, he_cap); in nl80211_parse_tx_bitrate_mask()
5697 if (cap && cap->datalen >= sizeof(*params->he_cap) + 1) in nl80211_calculate_ap_params()
5698 params->he_cap = (void *)(cap->data + 1); in nl80211_calculate_ap_params()
5707 if (!ieee80211_eht_capa_size_ok((const u8 *)params->he_cap, in nl80211_calculate_ap_params()