aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ath
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2016-06-09 22:01:05 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2016-06-09 22:01:05 +0000
commitef347e56a2cc86fcb05a10673841931b7cd85173 (patch)
tree03a703d5e357a83cb766e5c8b352c1b8e4c1b1f4 /sys/dev/ath
parent729ecfbb8e086eb22e43d7f90f408fc2eb234cbf (diff)
downloadsrc-ef347e56a2cc86fcb05a10673841931b7cd85173.tar.gz
src-ef347e56a2cc86fcb05a10673841931b7cd85173.zip
[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. :(
Notes
Notes: svn path=/head/; revision=301767
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/if_ath_alq.h8
1 files changed, 8 insertions, 0 deletions
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.
*/