Lines Matching refs:nsts
3680 int nsts; in ath11k_mac_set_txbf_conf() local
3686 nsts = vht_cap & IEEE80211_VHT_CAP_BEAMFORMEE_STS_MASK; in ath11k_mac_set_txbf_conf()
3687 nsts >>= IEEE80211_VHT_CAP_BEAMFORMEE_STS_SHIFT; in ath11k_mac_set_txbf_conf()
3688 if (nsts > (ar->num_rx_chains - 1)) in ath11k_mac_set_txbf_conf()
3689 nsts = ar->num_rx_chains - 1; in ath11k_mac_set_txbf_conf()
3690 value |= SM(nsts, WMI_TXBF_STS_CAP_OFFSET); in ath11k_mac_set_txbf_conf()
3730 int sound_dim = 0, nsts = 0; in ath11k_set_vht_txbf_cap() local
3757 nsts = (*vht_cap & IEEE80211_VHT_CAP_BEAMFORMEE_STS_MASK); in ath11k_set_vht_txbf_cap()
3758 nsts >>= IEEE80211_VHT_CAP_BEAMFORMEE_STS_SHIFT; in ath11k_set_vht_txbf_cap()
3773 if (nsts > (ar->num_rx_chains - 1)) in ath11k_set_vht_txbf_cap()
3774 nsts = ar->num_rx_chains - 1; in ath11k_set_vht_txbf_cap()
3776 nsts <<= IEEE80211_VHT_CAP_BEAMFORMEE_STS_SHIFT; in ath11k_set_vht_txbf_cap()
3777 nsts &= IEEE80211_VHT_CAP_BEAMFORMEE_STS_MASK; in ath11k_set_vht_txbf_cap()
3778 *vht_cap |= nsts; in ath11k_set_vht_txbf_cap()