Lines Matching refs:usr_stats

1332 	struct htt_ppdu_user_stats *usr_stats = &ppdu_stats->user_stats[user];  in ath12k_update_per_peer_tx_stats()  local
1342 if (!usr_stats) in ath12k_update_per_peer_tx_stats()
1345 if (!(usr_stats->tlv_flags & BIT(HTT_PPDU_STATS_TAG_USR_RATE))) in ath12k_update_per_peer_tx_stats()
1348 if (usr_stats->tlv_flags & BIT(HTT_PPDU_STATS_TAG_USR_COMPLTN_COMMON)) in ath12k_update_per_peer_tx_stats()
1350 HTT_USR_CMPLTN_IS_AMPDU(usr_stats->cmpltn_cmn.flags); in ath12k_update_per_peer_tx_stats()
1352 if (usr_stats->tlv_flags & in ath12k_update_per_peer_tx_stats()
1354 succ_bytes = le32_to_cpu(usr_stats->ack_ba.success_bytes); in ath12k_update_per_peer_tx_stats()
1355 succ_pkts = le32_get_bits(usr_stats->ack_ba.info, in ath12k_update_per_peer_tx_stats()
1357 tid = le32_get_bits(usr_stats->ack_ba.info, in ath12k_update_per_peer_tx_stats()
1364 user_rate = &usr_stats->rate; in ath12k_update_per_peer_tx_stats()
1404 peer = ath12k_peer_find_by_id(ab, usr_stats->peer_id); in ath12k_update_per_peer_tx_stats()
1463 HTT_USR_CMPLTN_LONG_RETRY(usr_stats->cmpltn_cmn.flags) + in ath12k_update_per_peer_tx_stats()
1464 HTT_USR_CMPLTN_SHORT_RETRY(usr_stats->cmpltn_cmn.flags); in ath12k_update_per_peer_tx_stats()
1514 struct htt_ppdu_user_stats *usr_stats) in ath12k_copy_to_delay_stats() argument
1516 peer->ppdu_stats_delayba.sw_peer_id = le16_to_cpu(usr_stats->rate.sw_peer_id); in ath12k_copy_to_delay_stats()
1517 peer->ppdu_stats_delayba.info0 = le32_to_cpu(usr_stats->rate.info0); in ath12k_copy_to_delay_stats()
1518 peer->ppdu_stats_delayba.ru_end = le16_to_cpu(usr_stats->rate.ru_end); in ath12k_copy_to_delay_stats()
1519 peer->ppdu_stats_delayba.ru_start = le16_to_cpu(usr_stats->rate.ru_start); in ath12k_copy_to_delay_stats()
1520 peer->ppdu_stats_delayba.info1 = le32_to_cpu(usr_stats->rate.info1); in ath12k_copy_to_delay_stats()
1521 peer->ppdu_stats_delayba.rate_flags = le32_to_cpu(usr_stats->rate.rate_flags); in ath12k_copy_to_delay_stats()
1523 le32_to_cpu(usr_stats->rate.resp_rate_flags); in ath12k_copy_to_delay_stats()
1529 struct htt_ppdu_user_stats *usr_stats) in ath12k_copy_to_bar() argument
1531 usr_stats->rate.sw_peer_id = cpu_to_le16(peer->ppdu_stats_delayba.sw_peer_id); in ath12k_copy_to_bar()
1532 usr_stats->rate.info0 = cpu_to_le32(peer->ppdu_stats_delayba.info0); in ath12k_copy_to_bar()
1533 usr_stats->rate.ru_end = cpu_to_le16(peer->ppdu_stats_delayba.ru_end); in ath12k_copy_to_bar()
1534 usr_stats->rate.ru_start = cpu_to_le16(peer->ppdu_stats_delayba.ru_start); in ath12k_copy_to_bar()
1535 usr_stats->rate.info1 = cpu_to_le32(peer->ppdu_stats_delayba.info1); in ath12k_copy_to_bar()
1536 usr_stats->rate.rate_flags = cpu_to_le32(peer->ppdu_stats_delayba.rate_flags); in ath12k_copy_to_bar()
1537 usr_stats->rate.resp_rate_flags = in ath12k_copy_to_bar()
1549 struct htt_ppdu_user_stats *usr_stats = NULL; in ath12k_htt_pull_ppdu_stats() local
1616 usr_stats = &ppdu_info->ppdu_stats.user_stats[i]; in ath12k_htt_pull_ppdu_stats()
1617 if (usr_stats->delay_ba) in ath12k_htt_pull_ppdu_stats()
1618 ath12k_copy_to_delay_stats(peer, usr_stats); in ath12k_htt_pull_ppdu_stats()
1635 usr_stats = &ppdu_info->ppdu_stats.user_stats[i]; in ath12k_htt_pull_ppdu_stats()
1637 ath12k_copy_to_bar(peer, usr_stats); in ath12k_htt_pull_ppdu_stats()