Lines Matching refs:vht_cap
2305 const struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in ath10k_peer_assoc_h_vht() local
2315 if (!vht_cap->vht_supported) in ath10k_peer_assoc_h_vht()
2329 arg->peer_vht_caps = vht_cap->cap; in ath10k_peer_assoc_h_vht()
2331 ampdu_factor = (vht_cap->cap & in ath10k_peer_assoc_h_vht()
2347 __le16_to_cpu(vht_cap->vht_mcs.rx_highest); in ath10k_peer_assoc_h_vht()
2349 __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ath10k_peer_assoc_h_vht()
2351 __le16_to_cpu(vht_cap->vht_mcs.tx_highest); in ath10k_peer_assoc_h_vht()
2353 __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map), vht_mcs_mask); in ath10k_peer_assoc_h_vht()
2419 if (sta->vht_cap.vht_supported && in ath10k_peer_assoc_h_phymode()
2442 if (sta->vht_cap.vht_supported && in ath10k_peer_assoc_h_phymode()
2521 struct ieee80211_sta_vht_cap vht_cap) in ath10k_mac_vif_recalc_txbf() argument
2551 if (vht_cap.cap & IEEE80211_VHT_CAP_SU_BEAMFORMER_CAPABLE) in ath10k_mac_vif_recalc_txbf()
2554 if (vht_cap.cap & IEEE80211_VHT_CAP_MU_BEAMFORMER_CAPABLE) in ath10k_mac_vif_recalc_txbf()
2561 if (vht_cap.cap & IEEE80211_VHT_CAP_SU_BEAMFORMEE_CAPABLE) in ath10k_mac_vif_recalc_txbf()
2564 if (vht_cap.cap & IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE) in ath10k_mac_vif_recalc_txbf()
2592 struct ieee80211_sta_vht_cap vht_cap; in ath10k_bss_assoc() local
2615 vht_cap = ap_sta->vht_cap; in ath10k_bss_assoc()
2641 ret = ath10k_mac_vif_recalc_txbf(ar, vif, vht_cap); in ath10k_bss_assoc()
2684 struct ieee80211_sta_vht_cap vht_cap = {}; in ath10k_bss_disassoc() local
2699 ret = ath10k_mac_vif_recalc_txbf(ar, vif, vht_cap); in ath10k_bss_disassoc()
3795 struct ieee80211_sta_vht_cap vht_cap = {0}; in ath10k_create_vht_cap() local
3800 vht_cap.vht_supported = 1; in ath10k_create_vht_cap()
3801 vht_cap.cap = ar->vht_cap_info; in ath10k_create_vht_cap()
3809 vht_cap.cap |= val; in ath10k_create_vht_cap()
3818 vht_cap.cap |= val; in ath10k_create_vht_cap()
3829 vht_cap.vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in ath10k_create_vht_cap()
3830 vht_cap.vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in ath10k_create_vht_cap()
3832 return vht_cap; in ath10k_create_vht_cap()
3903 struct ieee80211_sta_vht_cap vht_cap; in ath10k_mac_setup_ht_vht_cap() local
3907 vht_cap = ath10k_create_vht_cap(ar); in ath10k_mac_setup_ht_vht_cap()
3914 band->vht_cap = vht_cap; in ath10k_mac_setup_ht_vht_cap()
3919 band->vht_cap = vht_cap; in ath10k_mac_setup_ht_vht_cap()
6004 u16 vht_mcs_map = le16_to_cpu(sband->vht_cap.vht_mcs.tx_mcs_map); in ath10k_mac_bitrate_mask_get_single_nss()