From ef347e56a2cc86fcb05a10673841931b7cd85173 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Thu, 9 Jun 2016 22:01:05 +0000 Subject: [ath] add a placeholder event for debuggin EDMA TX FIFO push events. Some later code I'll commit pushes lists of frames into the EDMA TX FIFO, rather than a single frame at a time. The CABQ code already pushes frame lists, but it turns out we should actually be doing it in general or performance tanks. :( --- sys/dev/ath/if_ath_alq.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sys/dev') diff --git a/sys/dev/ath/if_ath_alq.h b/sys/dev/ath/if_ath_alq.h index 9f6ceac9f97e..988882d61573 100644 --- a/sys/dev/ath/if_ath_alq.h +++ b/sys/dev/ath/if_ath_alq.h @@ -113,6 +113,14 @@ struct if_ath_alq_mib_counters { #define ATH_ALQ_STUCK_BEACON 13 #define ATH_ALQ_RESUME_BEACON 14 +#define ATH_ALQ_TX_FIFO_PUSH 15 +struct if_ath_alq_tx_fifo_push { + uint32_t txq; + uint32_t nframes; + uint32_t fifo_depth; + uint32_t frame_cnt; +}; + /* * These will always be logged, regardless. */ -- cgit v1.3