/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
H A D | hal_rx.c | 948 u32 nsts; in ath11k_hal_rx_parse_mon_status_tlv() local 972 nsts = FIELD_GET(HAL_RX_VHT_SIG_A_INFO_INFO0_NSTS, info0); in ath11k_hal_rx_parse_mon_status_tlv() 973 if (ppdu_info->is_stbc && nsts > 0) in ath11k_hal_rx_parse_mon_status_tlv() 974 nsts = ((nsts + 1) >> 1) - 1; in ath11k_hal_rx_parse_mon_status_tlv() 976 ppdu_info->nss = (nsts & VHT_SIG_SU_NSS_MASK) + 1; in ath11k_hal_rx_parse_mon_status_tlv() 993 u32 nsts, cp_ltf, dcm; in ath11k_hal_rx_parse_mon_status_tlv() local 1012 nsts = FIELD_GET(HAL_RX_HE_SIG_A_SU_INFO_INFO0_NSTS, info0); in ath11k_hal_rx_parse_mon_status_tlv() 1030 ppdu_info->nss = nsts + 1; in ath11k_hal_rx_parse_mon_status_tlv()
|
H A D | mac.c | 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 > (a in ath11k_set_vht_txbf_cap() [all...] |
H A D | debugfs_htt_stats.h | 450 u32 nsts; member 1241 u32 nsts; member
|
H A D | debugfs_htt_stats.c | 884 len += HTT_DBG_OUT(buf + len, buf_len - len, "nsts = %u", in htt_print_rx_peer_rate_stats_tlv() 885 htt_stats_buf->nsts); in htt_print_rx_peer_rate_stats_tlv() 3051 len += HTT_DBG_OUT(buf + len, buf_len - len, "nsts = %u", in htt_print_rx_pdev_rate_stats_tlv() 3052 htt_stats_buf->nsts); in htt_print_rx_pdev_rate_stats_tlv()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/ |
H A D | hal_rx.c | 1024 u32 nsts; in ath11k_hal_rx_parse_mon_status_tlv() local 1048 nsts = FIELD_GET(HAL_RX_VHT_SIG_A_INFO_INFO0_NSTS, info0); in ath11k_hal_rx_parse_mon_status_tlv() 1049 if (ppdu_info->is_stbc && nsts > 0) in ath11k_hal_rx_parse_mon_status_tlv() 1050 nsts = ((nsts + 1) >> 1) - 1; in ath11k_hal_rx_parse_mon_status_tlv() 1052 ppdu_info->nss = (nsts & VHT_SIG_SU_NSS_MASK) + 1; in ath11k_hal_rx_parse_mon_status_tlv()
|
H A D | debugfs_htt_stats.h | 490 u32 nsts; member 1340 u32 nsts; member
|
H A D | mac.c | 5463 int nsts; in ath11k_mac_set_txbf_conf() local 5469 nsts = vht_cap & IEEE80211_VHT_CAP_BEAMFORMEE_STS_MASK; in ath11k_mac_set_txbf_conf() 5470 nsts >>= IEEE80211_VHT_CAP_BEAMFORMEE_STS_SHIFT; in ath11k_mac_set_txbf_conf() 5471 if (nsts > (ar->num_rx_chains - 1)) in ath11k_mac_set_txbf_conf() 5472 nsts = ar->num_rx_chains - 1; in ath11k_mac_set_txbf_conf() 5473 value |= SM(nsts, WMI_TXBF_STS_CAP_OFFSET); in ath11k_mac_set_txbf_conf() 5513 int sound_dim = 0, nsts = 0; in ath11k_set_vht_txbf_cap() local 5540 nsts = (*vht_cap & IEEE80211_VHT_CAP_BEAMFORMEE_STS_MASK); in ath11k_set_vht_txbf_cap() 5541 nsts >>= IEEE80211_VHT_CAP_BEAMFORMEE_STS_SHIFT; in ath11k_set_vht_txbf_cap() 5556 if (nsts > (a in ath11k_set_vht_txbf_cap() [all...] |
H A D | debugfs_htt_stats.c | 834 len += scnprintf(buf + len, buf_len - len, "nsts = %u\n", in htt_print_rx_peer_rate_stats_tlv() 835 htt_stats_buf->nsts); in htt_print_rx_peer_rate_stats_tlv() 2894 len += scnprintf(buf + len, buf_len - len, "nsts = %u\n", in htt_print_rx_pdev_rate_stats_tlv() 2895 htt_stats_buf->nsts); in htt_print_rx_pdev_rate_stats_tlv()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/ |
H A D | dp_mon.c | 86 u32 nsts, group_id, info0, info1; in ath12k_dp_mon_parse_vht_sig_a() local 106 nsts = u32_get_bits(info0, HAL_RX_VHT_SIG_A_INFO_INFO0_NSTS); in ath12k_dp_mon_parse_vht_sig_a() 107 if (ppdu_info->is_stbc && nsts > 0) in ath12k_dp_mon_parse_vht_sig_a() 108 nsts = ((nsts + 1) >> 1) - 1; in ath12k_dp_mon_parse_vht_sig_a() 110 ppdu_info->nss = u32_get_bits(nsts, VHT_SIG_SU_NSS_MASK); in ath12k_dp_mon_parse_vht_sig_a()
|
H A D | mac.c | 4139 int nsts; in ath12k_mac_set_txbf_conf() local 4145 nsts = vht_cap & IEEE80211_VHT_CAP_BEAMFORMEE_STS_MASK; in ath12k_mac_set_txbf_conf() 4146 nsts >>= IEEE80211_VHT_CAP_BEAMFORMEE_STS_SHIFT; in ath12k_mac_set_txbf_conf() 4147 value |= SM(nsts, WMI_TXBF_STS_CAP_OFFSET); in ath12k_mac_set_txbf_conf()
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | mcu.h | 142 u8 nsts; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mcu.h | 159 u8 nsts; member
|
H A D | mcu.c | 3647 rate->nss = res->nsts + 1; in mt7915_mcu_get_rx_rate()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
H A D | mac.c | 4643 int nsts = ar->vht_cap_info; in ath10k_mac_get_vht_cap_bf_sts() local 4645 nsts &= IEEE80211_VHT_CAP_BEAMFORMEE_STS_MASK; in ath10k_mac_get_vht_cap_bf_sts() 4646 nsts >>= IEEE80211_VHT_CAP_BEAMFORMEE_STS_SHIFT; in ath10k_mac_get_vht_cap_bf_sts() 4650 * the value for VHT CAP: nsts-1) in ath10k_mac_get_vht_cap_bf_sts() 4652 if (nsts == 0) in ath10k_mac_get_vht_cap_bf_sts() 4655 return nsts; in ath10k_mac_get_vht_cap_bf_sts() 5326 int nsts; in ath10k_mac_set_txbf_conf() local 5332 nsts = ath10k_mac_get_vht_cap_bf_sts(ar); in ath10k_mac_set_txbf_conf() 5335 value |= SM(nsts, WMI_TXBF_STS_CAP_OFFSET); in ath10k_mac_set_txbf_conf()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/ |
H A D | mac.c | 4834 int nsts = ar->vht_cap_info; in ath10k_mac_get_vht_cap_bf_sts() local 4836 nsts &= IEEE80211_VHT_CAP_BEAMFORMEE_STS_MASK; in ath10k_mac_get_vht_cap_bf_sts() 4837 nsts >>= IEEE80211_VHT_CAP_BEAMFORMEE_STS_SHIFT; in ath10k_mac_get_vht_cap_bf_sts() 4841 * the value for VHT CAP: nsts-1) in ath10k_mac_get_vht_cap_bf_sts() 4843 if (nsts == 0) in ath10k_mac_get_vht_cap_bf_sts() 4846 return nsts; in ath10k_mac_get_vht_cap_bf_sts() 5458 int nsts; in ath10k_mac_set_txbf_conf() local 5464 nsts = ath10k_mac_get_vht_cap_bf_sts(ar); in ath10k_mac_set_txbf_conf() 5467 value |= SM(nsts, WMI_TXBF_STS_CAP_OFFSET); in ath10k_mac_set_txbf_conf()
|