Lines Matching refs:pstats
3663 struct ath10k_per_peer_tx_stats *pstats, in ath10k_accumulate_per_peer_tx_stats() argument
3677 mcs = ATH10K_HW_MCS_RATE(pstats->ratecode); in ath10k_accumulate_per_peer_tx_stats()
3687 STATS_OP_FMT(SUCC).vht[0][mcs] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats()
3688 STATS_OP_FMT(SUCC).vht[1][mcs] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats()
3689 STATS_OP_FMT(FAIL).vht[0][mcs] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats()
3690 STATS_OP_FMT(FAIL).vht[1][mcs] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats()
3691 STATS_OP_FMT(RETRY).vht[0][mcs] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3692 STATS_OP_FMT(RETRY).vht[1][mcs] += pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3694 STATS_OP_FMT(SUCC).ht[0][ht_idx] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats()
3695 STATS_OP_FMT(SUCC).ht[1][ht_idx] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats()
3696 STATS_OP_FMT(FAIL).ht[0][ht_idx] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats()
3697 STATS_OP_FMT(FAIL).ht[1][ht_idx] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats()
3698 STATS_OP_FMT(RETRY).ht[0][ht_idx] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3699 STATS_OP_FMT(RETRY).ht[1][ht_idx] += pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3703 STATS_OP_FMT(SUCC).legacy[0][mcs] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats()
3704 STATS_OP_FMT(SUCC).legacy[1][mcs] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats()
3705 STATS_OP_FMT(FAIL).legacy[0][mcs] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats()
3706 STATS_OP_FMT(FAIL).legacy[1][mcs] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats()
3707 STATS_OP_FMT(RETRY).legacy[0][mcs] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3708 STATS_OP_FMT(RETRY).legacy[1][mcs] += pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3711 if (ATH10K_HW_AMPDU(pstats->flags)) { in ath10k_accumulate_per_peer_tx_stats()
3712 tx_stats->ba_fails += ATH10K_HW_BA_FAIL(pstats->flags); in ath10k_accumulate_per_peer_tx_stats()
3716 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3718 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3721 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3723 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3726 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3728 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3730 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3732 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3734 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3736 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3738 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3740 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3743 ATH10K_HW_BA_FAIL(pstats->flags); in ath10k_accumulate_per_peer_tx_stats()
3746 STATS_OP_FMT(SUCC).bw[0][bw] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats()
3747 STATS_OP_FMT(SUCC).nss[0][nss - 1] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats()
3748 STATS_OP_FMT(SUCC).gi[0][gi] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats()
3750 STATS_OP_FMT(SUCC).bw[1][bw] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats()
3751 STATS_OP_FMT(SUCC).nss[1][nss - 1] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats()
3752 STATS_OP_FMT(SUCC).gi[1][gi] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats()
3754 STATS_OP_FMT(FAIL).bw[0][bw] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats()
3755 STATS_OP_FMT(FAIL).nss[0][nss - 1] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats()
3756 STATS_OP_FMT(FAIL).gi[0][gi] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats()
3758 STATS_OP_FMT(FAIL).bw[1][bw] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats()
3759 STATS_OP_FMT(FAIL).nss[1][nss - 1] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats()
3760 STATS_OP_FMT(FAIL).gi[1][gi] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats()
3762 STATS_OP_FMT(RETRY).bw[0][bw] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3763 STATS_OP_FMT(RETRY).nss[0][nss - 1] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3764 STATS_OP_FMT(RETRY).gi[0][gi] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3766 STATS_OP_FMT(RETRY).bw[1][bw] += pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3767 STATS_OP_FMT(RETRY).nss[1][nss - 1] += pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3768 STATS_OP_FMT(RETRY).gi[1][gi] += pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3771 STATS_OP_FMT(SUCC).rate_table[0][idx] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats()
3772 STATS_OP_FMT(SUCC).rate_table[1][idx] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats()
3773 STATS_OP_FMT(FAIL).rate_table[0][idx] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats()
3774 STATS_OP_FMT(FAIL).rate_table[1][idx] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats()
3775 STATS_OP_FMT(RETRY).rate_table[0][idx] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3776 STATS_OP_FMT(RETRY).rate_table[1][idx] += pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3779 tx_stats->tx_duration += pstats->duration; in ath10k_accumulate_per_peer_tx_stats()