Lines Matching refs:pstats
3537 struct ath10k_per_peer_tx_stats *pstats, in ath10k_accumulate_per_peer_tx_stats() argument
3551 mcs = ATH10K_HW_MCS_RATE(pstats->ratecode); in ath10k_accumulate_per_peer_tx_stats()
3561 STATS_OP_FMT(SUCC).vht[0][mcs] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats()
3562 STATS_OP_FMT(SUCC).vht[1][mcs] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats()
3563 STATS_OP_FMT(FAIL).vht[0][mcs] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats()
3564 STATS_OP_FMT(FAIL).vht[1][mcs] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats()
3565 STATS_OP_FMT(RETRY).vht[0][mcs] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3566 STATS_OP_FMT(RETRY).vht[1][mcs] += pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3568 STATS_OP_FMT(SUCC).ht[0][ht_idx] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats()
3569 STATS_OP_FMT(SUCC).ht[1][ht_idx] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats()
3570 STATS_OP_FMT(FAIL).ht[0][ht_idx] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats()
3571 STATS_OP_FMT(FAIL).ht[1][ht_idx] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats()
3572 STATS_OP_FMT(RETRY).ht[0][ht_idx] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3573 STATS_OP_FMT(RETRY).ht[1][ht_idx] += pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3577 STATS_OP_FMT(SUCC).legacy[0][mcs] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats()
3578 STATS_OP_FMT(SUCC).legacy[1][mcs] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats()
3579 STATS_OP_FMT(FAIL).legacy[0][mcs] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats()
3580 STATS_OP_FMT(FAIL).legacy[1][mcs] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats()
3581 STATS_OP_FMT(RETRY).legacy[0][mcs] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3582 STATS_OP_FMT(RETRY).legacy[1][mcs] += pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3585 if (ATH10K_HW_AMPDU(pstats->flags)) { in ath10k_accumulate_per_peer_tx_stats()
3586 tx_stats->ba_fails += ATH10K_HW_BA_FAIL(pstats->flags); in ath10k_accumulate_per_peer_tx_stats()
3590 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3592 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3595 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3597 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3600 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3602 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3604 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3606 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3608 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3610 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3612 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3614 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3617 ATH10K_HW_BA_FAIL(pstats->flags); in ath10k_accumulate_per_peer_tx_stats()
3620 STATS_OP_FMT(SUCC).bw[0][bw] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats()
3621 STATS_OP_FMT(SUCC).nss[0][nss - 1] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats()
3622 STATS_OP_FMT(SUCC).gi[0][gi] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats()
3624 STATS_OP_FMT(SUCC).bw[1][bw] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats()
3625 STATS_OP_FMT(SUCC).nss[1][nss - 1] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats()
3626 STATS_OP_FMT(SUCC).gi[1][gi] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats()
3628 STATS_OP_FMT(FAIL).bw[0][bw] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats()
3629 STATS_OP_FMT(FAIL).nss[0][nss - 1] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats()
3630 STATS_OP_FMT(FAIL).gi[0][gi] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats()
3632 STATS_OP_FMT(FAIL).bw[1][bw] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats()
3633 STATS_OP_FMT(FAIL).nss[1][nss - 1] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats()
3634 STATS_OP_FMT(FAIL).gi[1][gi] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats()
3636 STATS_OP_FMT(RETRY).bw[0][bw] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3637 STATS_OP_FMT(RETRY).nss[0][nss - 1] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3638 STATS_OP_FMT(RETRY).gi[0][gi] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3640 STATS_OP_FMT(RETRY).bw[1][bw] += pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3641 STATS_OP_FMT(RETRY).nss[1][nss - 1] += pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3642 STATS_OP_FMT(RETRY).gi[1][gi] += pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3645 STATS_OP_FMT(SUCC).rate_table[0][idx] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats()
3646 STATS_OP_FMT(SUCC).rate_table[1][idx] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats()
3647 STATS_OP_FMT(FAIL).rate_table[0][idx] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats()
3648 STATS_OP_FMT(FAIL).rate_table[1][idx] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats()
3649 STATS_OP_FMT(RETRY).rate_table[0][idx] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3650 STATS_OP_FMT(RETRY).rate_table[1][idx] += pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3653 tx_stats->tx_duration += pstats->duration; in ath10k_accumulate_per_peer_tx_stats()