Lines Matching refs:nsts
3414 int nsts; in ath11k_mac_set_txbf_conf() local
3420 nsts = vht_cap & IEEE80211_VHT_CAP_BEAMFORMEE_STS_MASK; in ath11k_mac_set_txbf_conf()
3421 nsts >>= IEEE80211_VHT_CAP_BEAMFORMEE_STS_SHIFT; in ath11k_mac_set_txbf_conf()
3422 if (nsts > (ar->num_rx_chains - 1)) in ath11k_mac_set_txbf_conf()
3423 nsts = ar->num_rx_chains - 1; in ath11k_mac_set_txbf_conf()
3424 value |= SM(nsts, WMI_TXBF_STS_CAP_OFFSET); in ath11k_mac_set_txbf_conf()
3464 int sound_dim = 0, nsts = 0; in ath11k_set_vht_txbf_cap() local
3491 nsts = (*vht_cap & IEEE80211_VHT_CAP_BEAMFORMEE_STS_MASK); in ath11k_set_vht_txbf_cap()
3492 nsts >>= IEEE80211_VHT_CAP_BEAMFORMEE_STS_SHIFT; in ath11k_set_vht_txbf_cap()
3507 if (nsts > (ar->num_rx_chains - 1)) in ath11k_set_vht_txbf_cap()
3508 nsts = ar->num_rx_chains - 1; in ath11k_set_vht_txbf_cap()
3510 nsts <<= IEEE80211_VHT_CAP_BEAMFORMEE_STS_SHIFT; in ath11k_set_vht_txbf_cap()
3511 nsts &= IEEE80211_VHT_CAP_BEAMFORMEE_STS_MASK; in ath11k_set_vht_txbf_cap()
3512 *vht_cap |= nsts; in ath11k_set_vht_txbf_cap()