Lines Matching refs:tx_stats

3667 	struct ath10k_htt_tx_stats *tx_stats;  in ath10k_accumulate_per_peer_tx_stats()  local
3671 if (!arsta->tx_stats) in ath10k_accumulate_per_peer_tx_stats()
3674 tx_stats = arsta->tx_stats; in ath10k_accumulate_per_peer_tx_stats()
3684 #define STATS_OP_FMT(name) tx_stats->stats[ATH10K_STATS_TYPE_##name] 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()
3742 tx_stats->ack_fails += in ath10k_accumulate_per_peer_tx_stats()
3779 tx_stats->tx_duration += pstats->duration; in ath10k_accumulate_per_peer_tx_stats()
3919 struct htt_per_peer_tx_stats_ind *tx_stats; in ath10k_htt_fetch_peer_stats() local
3933 tx_stats = (struct htt_per_peer_tx_stats_ind *) in ath10k_htt_fetch_peer_stats()
3935 peer_id = __le16_to_cpu(tx_stats->peer_id); in ath10k_htt_fetch_peer_stats()
3948 tx_stats = (struct htt_per_peer_tx_stats_ind *) in ath10k_htt_fetch_peer_stats()
3951 p_tx_stats->succ_bytes = __le32_to_cpu(tx_stats->succ_bytes); in ath10k_htt_fetch_peer_stats()
3952 p_tx_stats->retry_bytes = __le32_to_cpu(tx_stats->retry_bytes); in ath10k_htt_fetch_peer_stats()
3954 __le32_to_cpu(tx_stats->failed_bytes); in ath10k_htt_fetch_peer_stats()
3955 p_tx_stats->ratecode = tx_stats->ratecode; in ath10k_htt_fetch_peer_stats()
3956 p_tx_stats->flags = tx_stats->flags; in ath10k_htt_fetch_peer_stats()
3957 p_tx_stats->succ_pkts = __le16_to_cpu(tx_stats->succ_pkts); in ath10k_htt_fetch_peer_stats()
3958 p_tx_stats->retry_pkts = __le16_to_cpu(tx_stats->retry_pkts); in ath10k_htt_fetch_peer_stats()
3959 p_tx_stats->failed_pkts = __le16_to_cpu(tx_stats->failed_pkts); in ath10k_htt_fetch_peer_stats()
3960 p_tx_stats->duration = __le16_to_cpu(tx_stats->tx_duration); in ath10k_htt_fetch_peer_stats()
3974 struct ath10k_10_2_peer_tx_stats *tx_stats; in ath10k_fetch_10_2_tx_stats() local
3983 tx_stats = (struct ath10k_10_2_peer_tx_stats *)((hdr->payload) + in ath10k_fetch_10_2_tx_stats()
3986 if (!tx_stats->tx_ppdu_cnt) in ath10k_fetch_10_2_tx_stats()
3989 peer_id = tx_stats->peer_id; in ath10k_fetch_10_2_tx_stats()
4001 for (i = 0; i < tx_stats->tx_ppdu_cnt; i++) { in ath10k_fetch_10_2_tx_stats()
4003 __le16_to_cpu(tx_stats->success_bytes[i]); in ath10k_fetch_10_2_tx_stats()
4005 __le16_to_cpu(tx_stats->retry_bytes[i]); in ath10k_fetch_10_2_tx_stats()
4007 __le16_to_cpu(tx_stats->failed_bytes[i]); in ath10k_fetch_10_2_tx_stats()
4008 p_tx_stats->ratecode = tx_stats->ratecode[i]; in ath10k_fetch_10_2_tx_stats()
4009 p_tx_stats->flags = tx_stats->flags[i]; in ath10k_fetch_10_2_tx_stats()
4010 p_tx_stats->succ_pkts = tx_stats->success_pkts[i]; in ath10k_fetch_10_2_tx_stats()
4011 p_tx_stats->retry_pkts = tx_stats->retry_pkts[i]; in ath10k_fetch_10_2_tx_stats()
4012 p_tx_stats->failed_pkts = tx_stats->failed_pkts[i]; in ath10k_fetch_10_2_tx_stats()