Lines Matching refs:nsts
5458 int nsts; in ath11k_mac_set_txbf_conf() local
5464 nsts = vht_cap & IEEE80211_VHT_CAP_BEAMFORMEE_STS_MASK; in ath11k_mac_set_txbf_conf()
5465 nsts >>= IEEE80211_VHT_CAP_BEAMFORMEE_STS_SHIFT; in ath11k_mac_set_txbf_conf()
5466 if (nsts > (ar->num_rx_chains - 1)) in ath11k_mac_set_txbf_conf()
5467 nsts = ar->num_rx_chains - 1; in ath11k_mac_set_txbf_conf()
5468 value |= SM(nsts, WMI_TXBF_STS_CAP_OFFSET); in ath11k_mac_set_txbf_conf()
5508 int sound_dim = 0, nsts = 0; in ath11k_set_vht_txbf_cap() local
5535 nsts = (*vht_cap & IEEE80211_VHT_CAP_BEAMFORMEE_STS_MASK); in ath11k_set_vht_txbf_cap()
5536 nsts >>= IEEE80211_VHT_CAP_BEAMFORMEE_STS_SHIFT; in ath11k_set_vht_txbf_cap()
5551 if (nsts > (ar->num_rx_chains - 1)) in ath11k_set_vht_txbf_cap()
5552 nsts = ar->num_rx_chains - 1; in ath11k_set_vht_txbf_cap()
5554 nsts <<= IEEE80211_VHT_CAP_BEAMFORMEE_STS_SHIFT; in ath11k_set_vht_txbf_cap()
5555 nsts &= IEEE80211_VHT_CAP_BEAMFORMEE_STS_MASK; in ath11k_set_vht_txbf_cap()
5556 *vht_cap |= nsts; in ath11k_set_vht_txbf_cap()