summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/if_athvar.h
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-07-24 01:18:19 +0000
committeradrian <adrian@FreeBSD.org>2012-07-24 01:18:19 +0000
commit4053ec873e50823f833b3d7cad7ffa11e8d400c9 (patch)
tree75204df947dfd45694d29f797d6fa5b742be355e /sys/dev/ath/if_athvar.h
parente39250a384a3ca30e8cb4cfa39a696fa01008590 (diff)
downloadFreeBSD-src-4053ec873e50823f833b3d7cad7ffa11e8d400c9.zip
FreeBSD-src-4053ec873e50823f833b3d7cad7ffa11e8d400c9.tar.gz
Add a new HAL method - the AR93xx and later NICs have a separate
TX descriptor ring for TX status completion. This API call will pass the allocated buffer details to the HAL.
Diffstat (limited to 'sys/dev/ath/if_athvar.h')
-rw-r--r--sys/dev/ath/if_athvar.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/ath/if_athvar.h b/sys/dev/ath/if_athvar.h
index c458521..c5fb3be 100644
--- a/sys/dev/ath/if_athvar.h
+++ b/sys/dev/ath/if_athvar.h
@@ -1099,6 +1099,9 @@ void ath_intr(void *);
((*(_ah)->ah_getTxDescLink)((_ah), (_ds), (_link)))
#define ath_hal_gettxdesclinkptr(_ah, _ds, _linkptr) \
((*(_ah)->ah_getTxDescLinkPtr)((_ah), (_ds), (_linkptr)))
+#define ath_hal_setuptxstatusring(_ah, _tsstart, _tspstart, _size) \
+ ((*(_ah)->ah_setupTxStatusRing)((_ah), (_tsstart), (_tspstart), \
+ (_size)))
#define ath_hal_setupfirsttxdesc(_ah, _ds, _aggrlen, _flags, _txpower, \
_txr0, _txtr0, _antm, _rcr, _rcd) \
OpenPOWER on IntegriCloud