Lines Matching refs:he_cap

2165 	const struct ieee80211_sta_he_cap *he_cap = &sta->deflink.he_cap;  in ath12k_peer_assoc_h_he()  local
2174 if (!he_cap->has_he) in ath12k_peer_assoc_h_he()
2179 support_160 = !!(he_cap->he_cap_elem.phy_cap_info[0] & in ath12k_peer_assoc_h_he()
2183 mcs_160_map = le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_160); in ath12k_peer_assoc_h_he()
2184 mcs_80_map = le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_80); in ath12k_peer_assoc_h_he()
2213 memcpy(&arg->peer_he_cap_macinfo, he_cap->he_cap_elem.mac_cap_info, in ath12k_peer_assoc_h_he()
2214 sizeof(he_cap->he_cap_elem.mac_cap_info)); in ath12k_peer_assoc_h_he()
2215 memcpy(&arg->peer_he_cap_phyinfo, he_cap->he_cap_elem.phy_cap_info, in ath12k_peer_assoc_h_he()
2216 sizeof(he_cap->he_cap_elem.phy_cap_info)); in ath12k_peer_assoc_h_he()
2234 ampdu_factor = u8_get_bits(he_cap->he_cap_elem.mac_cap_info[3], in ath12k_peer_assoc_h_he()
2246 if (he_cap->he_cap_elem.phy_cap_info[6] & in ath12k_peer_assoc_h_he()
2251 arg->peer_ppet.numss_m1 = he_cap->ppe_thres[0] & in ath12k_peer_assoc_h_he()
2254 (he_cap->ppe_thres[0] & in ath12k_peer_assoc_h_he()
2267 val |= ((he_cap->ppe_thres[bit / 8] >> in ath12k_peer_assoc_h_he()
2277 if (he_cap->he_cap_elem.mac_cap_info[0] & IEEE80211_HE_MAC_CAP0_TWT_RES) in ath12k_peer_assoc_h_he()
2279 if (he_cap->he_cap_elem.mac_cap_info[0] & IEEE80211_HE_MAC_CAP0_TWT_REQ) in ath12k_peer_assoc_h_he()
2284 if (he_cap->he_cap_elem.phy_cap_info[0] & in ath12k_peer_assoc_h_he()
2286 v = le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_80p80); in ath12k_peer_assoc_h_he()
2289 v = le16_to_cpu(he_cap->he_mcs_nss_supp.tx_mcs_80p80); in ath12k_peer_assoc_h_he()
2294 v = le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_160); in ath12k_peer_assoc_h_he()
2297 v = le16_to_cpu(he_cap->he_mcs_nss_supp.tx_mcs_160); in ath12k_peer_assoc_h_he()
2304 v = le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_80); in ath12k_peer_assoc_h_he()
2307 v = le16_to_cpu(he_cap->he_mcs_nss_supp.tx_mcs_80); in ath12k_peer_assoc_h_he()
2322 const struct ieee80211_sta_he_cap *he_cap = &sta->deflink.he_cap; in ath12k_peer_assoc_h_he_6ghz() local
2362 ampdu_factor = u8_get_bits(he_cap->he_cap_elem.mac_cap_info[3], in ath12k_peer_assoc_h_he_6ghz()
2558 if (sta->deflink.he_cap.he_cap_elem.phy_cap_info[0] & in ath12k_mac_get_phymode_he()
2561 else if (sta->deflink.he_cap.he_cap_elem.phy_cap_info[0] & in ath12k_mac_get_phymode_he()
2589 if (sta->deflink.he_cap.he_cap_elem.phy_cap_info[0] & in ath12k_mac_get_phymode_eht()
2593 if (sta->deflink.he_cap.he_cap_elem.phy_cap_info[0] & in ath12k_mac_get_phymode_eht()
2598 sta->deflink.he_cap.he_cap_elem.phy_cap_info[0]); in ath12k_mac_get_phymode_eht()
2645 } else if (sta->deflink.he_cap.has_he) { in ath12k_peer_assoc_h_phymode()
2675 } else if (sta->deflink.he_cap.has_he) { in ath12k_peer_assoc_h_phymode()
2771 const struct ieee80211_sta_he_cap *he_cap = &sta->deflink.he_cap; in ath12k_peer_assoc_h_eht() local
2778 if (!sta->deflink.he_cap.has_he || !eht_cap->has_eht) in ath12k_peer_assoc_h_eht()
2819 if ((he_cap->he_cap_elem.phy_cap_info[0] & in ath12k_peer_assoc_h_eht()
5714 struct ieee80211_sta_he_cap *he_cap) in ath12k_mac_copy_he_cap() argument
5716 struct ieee80211_he_cap_elem *he_cap_elem = &he_cap->he_cap_elem; in ath12k_mac_copy_he_cap()
5717 struct ieee80211_he_mcs_nss_supp *mcs_nss = &he_cap->he_mcs_nss_supp; in ath12k_mac_copy_he_cap()
5719 he_cap->has_he = true; in ath12k_mac_copy_he_cap()
5759 memset(he_cap->ppe_thres, 0, sizeof(he_cap->ppe_thres)); in ath12k_mac_copy_he_cap()
5762 ath12k_gen_ppe_thresh(&band_cap->he_ppet, he_cap->ppe_thres); in ath12k_mac_copy_he_cap()
5768 const struct ieee80211_he_cap_elem *he_cap, in ath12k_mac_copy_eht_mcs_nss() argument
5771 if ((he_cap->phy_cap_info[0] & in ath12k_mac_copy_eht_mcs_nss()
5779 if (he_cap->phy_cap_info[0] & in ath12k_mac_copy_eht_mcs_nss()
5785 if (he_cap->phy_cap_info[0] & in ath12k_mac_copy_eht_mcs_nss()
5933 struct ieee80211_sta_he_cap *he_cap = &data[idx].he_cap; in ath12k_mac_copy_sband_iftype_data() local
5947 ath12k_mac_copy_he_cap(band_cap, i, ar->num_tx_chains, he_cap); in ath12k_mac_copy_sband_iftype_data()
5952 ath12k_mac_copy_eht_cap(ar, band_cap, &he_cap->he_cap_elem, i, in ath12k_mac_copy_sband_iftype_data()