Lines Matching refs:tx_stats

3362 	struct ath10k_htt_tx_stats *tx_stats;  in ath10k_accumulate_per_peer_tx_stats()  local
3366 if (!arsta->tx_stats) in ath10k_accumulate_per_peer_tx_stats()
3369 tx_stats = arsta->tx_stats; in ath10k_accumulate_per_peer_tx_stats()
3379 #define STATS_OP_FMT(name) tx_stats->stats[ATH10K_STATS_TYPE_##name] in ath10k_accumulate_per_peer_tx_stats()
3407 tx_stats->ba_fails += ATH10K_HW_BA_FAIL(pstats->flags); in ath10k_accumulate_per_peer_tx_stats()
3437 tx_stats->ack_fails += in ath10k_accumulate_per_peer_tx_stats()
3474 tx_stats->tx_duration += pstats->duration; in ath10k_accumulate_per_peer_tx_stats()
3610 struct htt_per_peer_tx_stats_ind *tx_stats; in ath10k_htt_fetch_peer_stats() local
3624 tx_stats = (struct htt_per_peer_tx_stats_ind *) in ath10k_htt_fetch_peer_stats()
3626 peer_id = __le16_to_cpu(tx_stats->peer_id); in ath10k_htt_fetch_peer_stats()
3639 tx_stats = (struct htt_per_peer_tx_stats_ind *) in ath10k_htt_fetch_peer_stats()
3642 p_tx_stats->succ_bytes = __le32_to_cpu(tx_stats->succ_bytes); in ath10k_htt_fetch_peer_stats()
3643 p_tx_stats->retry_bytes = __le32_to_cpu(tx_stats->retry_bytes); in ath10k_htt_fetch_peer_stats()
3645 __le32_to_cpu(tx_stats->failed_bytes); in ath10k_htt_fetch_peer_stats()
3646 p_tx_stats->ratecode = tx_stats->ratecode; in ath10k_htt_fetch_peer_stats()
3647 p_tx_stats->flags = tx_stats->flags; in ath10k_htt_fetch_peer_stats()
3648 p_tx_stats->succ_pkts = __le16_to_cpu(tx_stats->succ_pkts); in ath10k_htt_fetch_peer_stats()
3649 p_tx_stats->retry_pkts = __le16_to_cpu(tx_stats->retry_pkts); in ath10k_htt_fetch_peer_stats()
3650 p_tx_stats->failed_pkts = __le16_to_cpu(tx_stats->failed_pkts); in ath10k_htt_fetch_peer_stats()
3651 p_tx_stats->duration = __le16_to_cpu(tx_stats->tx_duration); in ath10k_htt_fetch_peer_stats()
3665 struct ath10k_10_2_peer_tx_stats *tx_stats; in ath10k_fetch_10_2_tx_stats() local
3674 tx_stats = (struct ath10k_10_2_peer_tx_stats *)((hdr->payload) + in ath10k_fetch_10_2_tx_stats()
3677 if (!tx_stats->tx_ppdu_cnt) in ath10k_fetch_10_2_tx_stats()
3680 peer_id = tx_stats->peer_id; in ath10k_fetch_10_2_tx_stats()
3692 for (i = 0; i < tx_stats->tx_ppdu_cnt; i++) { in ath10k_fetch_10_2_tx_stats()
3694 __le16_to_cpu(tx_stats->success_bytes[i]); in ath10k_fetch_10_2_tx_stats()
3696 __le16_to_cpu(tx_stats->retry_bytes[i]); in ath10k_fetch_10_2_tx_stats()
3698 __le16_to_cpu(tx_stats->failed_bytes[i]); in ath10k_fetch_10_2_tx_stats()
3699 p_tx_stats->ratecode = tx_stats->ratecode[i]; in ath10k_fetch_10_2_tx_stats()
3700 p_tx_stats->flags = tx_stats->flags[i]; in ath10k_fetch_10_2_tx_stats()
3701 p_tx_stats->succ_pkts = tx_stats->success_pkts[i]; in ath10k_fetch_10_2_tx_stats()
3702 p_tx_stats->retry_pkts = tx_stats->retry_pkts[i]; in ath10k_fetch_10_2_tx_stats()
3703 p_tx_stats->failed_pkts = tx_stats->failed_pkts[i]; in ath10k_fetch_10_2_tx_stats()