diff options
author | adrian <adrian@FreeBSD.org> | 2016-06-09 22:01:05 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2016-06-09 22:01:05 +0000 |
commit | 7e85cd3717a06b98f2acad2c3fc5fd8384a929ef (patch) | |
tree | 03a703d5e357a83cb766e5c8b352c1b8e4c1b1f4 | |
parent | b62361084981f5488ffa1d8c687053693757d205 (diff) | |
download | FreeBSD-src-7e85cd3717a06b98f2acad2c3fc5fd8384a929ef.zip FreeBSD-src-7e85cd3717a06b98f2acad2c3fc5fd8384a929ef.tar.gz |
[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. :(
-rw-r--r-- | sys/dev/ath/if_ath_alq.h | 8 |
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 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. */ |