Lines Matching refs:he_cap

2344 	const struct ieee80211_sta_he_cap *he_cap = &sta->deflink.he_cap;  in ath11k_peer_assoc_h_he()  local
2359 if (!he_cap->has_he) in ath11k_peer_assoc_h_he()
2370 support_160 = !!(he_cap->he_cap_elem.phy_cap_info[0] & in ath11k_peer_assoc_h_he()
2374 mcs_160_map = le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_160); in ath11k_peer_assoc_h_he()
2375 mcs_80_map = le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_80); in ath11k_peer_assoc_h_he()
2410 he_cap->he_cap_elem.mac_cap_info, in ath11k_peer_assoc_h_he()
2411 sizeof(he_cap->he_cap_elem.mac_cap_info), in ath11k_peer_assoc_h_he()
2415 he_cap->he_cap_elem.phy_cap_info, in ath11k_peer_assoc_h_he()
2416 sizeof(he_cap->he_cap_elem.phy_cap_info), in ath11k_peer_assoc_h_he()
2434 ampdu_factor = u8_get_bits(he_cap->he_cap_elem.mac_cap_info[3], in ath11k_peer_assoc_h_he()
2446 if (he_cap->he_cap_elem.phy_cap_info[6] & in ath11k_peer_assoc_h_he()
2451 arg->peer_ppet.numss_m1 = he_cap->ppe_thres[0] & in ath11k_peer_assoc_h_he()
2454 (he_cap->ppe_thres[0] & in ath11k_peer_assoc_h_he()
2467 val |= ((he_cap->ppe_thres[bit / 8] >> in ath11k_peer_assoc_h_he()
2477 if (he_cap->he_cap_elem.mac_cap_info[0] & IEEE80211_HE_MAC_CAP0_TWT_RES) in ath11k_peer_assoc_h_he()
2479 if (he_cap->he_cap_elem.mac_cap_info[0] & IEEE80211_HE_MAC_CAP0_TWT_REQ) in ath11k_peer_assoc_h_he()
2502 if (he_cap->he_cap_elem.phy_cap_info[0] & in ath11k_peer_assoc_h_he()
2504 v = le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_80p80); in ath11k_peer_assoc_h_he()
2508 v = le16_to_cpu(he_cap->he_mcs_nss_supp.tx_mcs_80p80); in ath11k_peer_assoc_h_he()
2514 v = le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_160); in ath11k_peer_assoc_h_he()
2517 v = le16_to_cpu(he_cap->he_mcs_nss_supp.tx_mcs_160); in ath11k_peer_assoc_h_he()
2527 v = le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_80); in ath11k_peer_assoc_h_he()
2530 v = le16_to_cpu(he_cap->he_mcs_nss_supp.tx_mcs_80); in ath11k_peer_assoc_h_he()
2587 const struct ieee80211_sta_he_cap *he_cap = &sta->deflink.he_cap; in ath11k_peer_assoc_h_he_6ghz() local
2624 he_cap->he_cap_elem.mac_cap_info[3]) + in ath11k_peer_assoc_h_he_6ghz()
2805 if (sta->deflink.he_cap.he_cap_elem.phy_cap_info[0] & in ath11k_mac_get_phymode_he()
2808 else if (sta->deflink.he_cap.he_cap_elem.phy_cap_info[0] & in ath11k_mac_get_phymode_he()
2850 if (sta->deflink.he_cap.has_he && in ath11k_peer_assoc_h_phymode()
2879 if (sta->deflink.he_cap.has_he && in ath11k_peer_assoc_h_phymode()
3016 struct ieee80211_sta_he_cap *he_cap) in ath11k_mac_vif_recalc_sta_he_txbf() argument
3036 cap_band = &ar->mac.iftype[NL80211_BAND_2GHZ][vif->type].he_cap; in ath11k_mac_vif_recalc_sta_he_txbf()
3038 cap_band = &ar->mac.iftype[NL80211_BAND_5GHZ][vif->type].he_cap; in ath11k_mac_vif_recalc_sta_he_txbf()
3043 if (HECAP_PHY_SUBFMR_GET(he_cap->he_cap_elem.phy_cap_info)) in ath11k_mac_vif_recalc_sta_he_txbf()
3045 if (HECAP_PHY_MUBFMR_GET(he_cap->he_cap_elem.phy_cap_info)) in ath11k_mac_vif_recalc_sta_he_txbf()
3054 if (HECAP_PHY_ULMUMIMO_GET(he_cap->he_cap_elem.phy_cap_info)) in ath11k_mac_vif_recalc_sta_he_txbf()
3085 struct ieee80211_sta_he_cap he_cap; in ath11k_bss_assoc() local
3104 he_cap = ap_sta->deflink.he_cap; in ath11k_bss_assoc()
3110 if (!ath11k_mac_vif_recalc_sta_he_txbf(ar, vif, &he_cap)) { in ath11k_bss_assoc()
4681 } else if (sta->deflink.he_cap.has_he && num_he_rates == 1) { in ath11k_station_assoc()
4907 } else if (sta->deflink.he_cap.has_he && num_he_rates == 1) { in ath11k_sta_rc_update_wk()
5650 struct ieee80211_sta_he_cap *he_cap, in ath11k_mac_set_hemcsmap() argument
5671 he_cap->he_mcs_nss_supp.rx_mcs_80 = in ath11k_mac_set_hemcsmap()
5673 he_cap->he_mcs_nss_supp.tx_mcs_80 = in ath11k_mac_set_hemcsmap()
5675 he_cap->he_mcs_nss_supp.rx_mcs_160 = in ath11k_mac_set_hemcsmap()
5677 he_cap->he_mcs_nss_supp.tx_mcs_160 = in ath11k_mac_set_hemcsmap()
5679 he_cap->he_mcs_nss_supp.rx_mcs_80p80 = in ath11k_mac_set_hemcsmap()
5681 he_cap->he_mcs_nss_supp.tx_mcs_80p80 = in ath11k_mac_set_hemcsmap()
5693 struct ieee80211_sta_he_cap *he_cap = &data[idx].he_cap; in ath11k_mac_copy_he_cap() local
5696 &he_cap->he_cap_elem; in ath11k_mac_copy_he_cap()
5709 he_cap->has_he = true; in ath11k_mac_copy_he_cap()
5742 ath11k_mac_set_hemcsmap(ar, cap, he_cap, band); in ath11k_mac_copy_he_cap()
5744 memset(he_cap->ppe_thres, 0, sizeof(he_cap->ppe_thres)); in ath11k_mac_copy_he_cap()
5748 he_cap->ppe_thres); in ath11k_mac_copy_he_cap()
8215 ath11k_mac_get_tx_mcs_map(const struct ieee80211_sta_he_cap *he_cap) in ath11k_mac_get_tx_mcs_map() argument
8217 if (he_cap->he_cap_elem.phy_cap_info[0] & in ath11k_mac_get_tx_mcs_map()
8219 return he_cap->he_mcs_nss_supp.tx_mcs_80p80; in ath11k_mac_get_tx_mcs_map()
8221 if (he_cap->he_cap_elem.phy_cap_info[0] & in ath11k_mac_get_tx_mcs_map()
8223 return he_cap->he_mcs_nss_supp.tx_mcs_160; in ath11k_mac_get_tx_mcs_map()
8225 return he_cap->he_mcs_nss_supp.tx_mcs_80; in ath11k_mac_get_tx_mcs_map()
8237 const struct ieee80211_sta_he_cap *he_cap; in ath11k_mac_bitrate_mask_get_single_nss() local
8268 he_cap = ieee80211_get_he_iftype_cap_vif(sband, arvif->vif); in ath11k_mac_bitrate_mask_get_single_nss()
8269 if (!he_cap) in ath11k_mac_bitrate_mask_get_single_nss()
8272 he_mcs_map = le16_to_cpu(ath11k_mac_get_tx_mcs_map(he_cap)); in ath11k_mac_bitrate_mask_get_single_nss()
8614 if (he_fixed_rate && (!deflink->he_cap.has_he || in ath11k_mac_validate_vht_he_fixed_rate_settings()