Searched refs:rxstats (Results 1 – 2 of 2) sorted by relevance
91 void ath9k_cmn_debug_stat_rx(struct ath_rx_stats *rxstats, in ath9k_cmn_debug_stat_rx() argument94 #define RX_PHY_ERR_INC(c) rxstats->phy_err_stats[c]++ in ath9k_cmn_debug_stat_rx()95 #define RX_CMN_STAT_INC(c) (rxstats->c++) in ath9k_cmn_debug_stat_rx()98 rxstats->rx_bytes_all += rs->rs_datalen; in ath9k_cmn_debug_stat_rx()131 rxstats->e); \ in read_file_recv()134 struct ath_rx_stats *rxstats = file->private_data; in read_file_recv() local182 struct ath_rx_stats *rxstats) in ath9k_cmn_debug_recv() argument184 debugfs_create_file("recv", 0400, debugfs_phy, rxstats, &fops_recv); in ath9k_cmn_debug_recv()193 rxstats->phy_err_stats[p]) in read_file_phy_err()195 struct ath_rx_stats *rxstats = file->private_data; in read_file_phy_err() local[all …]
2666 static inline u64 sta_get_tidstats_msdu(struct ieee80211_sta_rx_stats *rxstats, in sta_get_tidstats_msdu() argument2673 start = u64_stats_fetch_begin(&rxstats->syncp); in sta_get_tidstats_msdu()2674 value = u64_stats_read(&rxstats->msdu[tid]); in sta_get_tidstats_msdu()2675 } while (u64_stats_fetch_retry(&rxstats->syncp, start)); in sta_get_tidstats_msdu()2743 static inline u64 sta_get_stats_bytes(struct ieee80211_sta_rx_stats *rxstats) in sta_get_stats_bytes() argument2749 start = u64_stats_fetch_begin(&rxstats->syncp); in sta_get_stats_bytes()2750 value = u64_stats_read(&rxstats->bytes); in sta_get_stats_bytes()2751 } while (u64_stats_fetch_retry(&rxstats->syncp, start)); in sta_get_stats_bytes()