diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2012-11-08 18:11:31 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2012-11-08 18:11:31 +0000 |
commit | b69b0dcc241f2110c33334be2bd6e514163328a2 (patch) | |
tree | 5748256693582a5156ed3a762f0252b6854672b2 /sys/dev/ath/if_athvar.h | |
parent | 2a2441c9fad4cd37a5423a58a60908cf35250a64 (diff) | |
download | src-b69b0dcc241f2110c33334be2bd6e514163328a2.tar.gz src-b69b0dcc241f2110c33334be2bd6e514163328a2.zip |
Add some hooks into the driver to attach, detach and record EDMA descriptor
events.
This is primarily for the TX EDMA and TX EDMA completion. I haven't yet
tied it into the EDMA RX path or the legacy TX/RX path.
Things that I don't quite like:
* Make the pointer type 'void' in ath_softc and have if_ath_alq*()
return a malloc'ed buffer. That would remove the need to include
if_ath_alq.h in if_athvar.h.
* The sysctl setup needs to be cleaned up.
Notes
Notes:
svn path=/head/; revision=242782
Diffstat (limited to 'sys/dev/ath/if_athvar.h')
-rw-r--r-- | sys/dev/ath/if_athvar.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/dev/ath/if_athvar.h b/sys/dev/ath/if_athvar.h index 974db2850ed3..dd805b018991 100644 --- a/sys/dev/ath/if_athvar.h +++ b/sys/dev/ath/if_athvar.h @@ -42,6 +42,9 @@ #include <net80211/ieee80211_radiotap.h> #include <dev/ath/if_athioctl.h> #include <dev/ath/if_athrate.h> +#ifdef ATH_DEBUG_ALQ +#include <dev/ath/if_ath_alq.h> +#endif #define ATH_TIMEOUT 1000 @@ -770,6 +773,11 @@ struct ath_softc { int sc_dodfs; /* Whether to enable DFS rx filter bits */ struct task sc_dfstask; /* DFS processing task */ + /* ALQ */ +#ifdef ATH_DEBUG + struct if_ath_alq sc_alq; +#endif + /* TX AMPDU handling */ int (*sc_addba_request)(struct ieee80211_node *, struct ieee80211_tx_ampdu *, int, int, int); |