From 7e85cd3717a06b98f2acad2c3fc5fd8384a929ef Mon Sep 17 00:00:00 2001 From: adrian 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(+) diff --git a/sys/dev/ath/if_ath_alq.h b/sys/dev/ath/if_ath_alq.h index 9f6ceac..988882d 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.1