aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ath/if_athvar.h
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2011-04-18 12:15:43 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2011-04-18 12:15:43 +0000
commit6ad02dbafe6826656b54e59661e5f1054a9a2a24 (patch)
tree347dccdd55cc3f722f7e0dcd971cdbdf806bad9f /sys/dev/ath/if_athvar.h
parent66f3a31ff930ce74cf6f15f9228b3b8f1403ba43 (diff)
downloadsrc-6ad02dbafe6826656b54e59661e5f1054a9a2a24.tar.gz
src-6ad02dbafe6826656b54e59661e5f1054a9a2a24.zip
Add global TX timeout handling.
The global TX timeout counter increments whenever a frame is ready to be transmitted and the medium is busy.
Notes
Notes: svn path=/head/; revision=220772
Diffstat (limited to 'sys/dev/ath/if_athvar.h')
-rw-r--r--sys/dev/ath/if_athvar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ath/if_athvar.h b/sys/dev/ath/if_athvar.h
index dcb57ef5cdc0..26a50bc5d65a 100644
--- a/sys/dev/ath/if_athvar.h
+++ b/sys/dev/ath/if_athvar.h
@@ -649,6 +649,8 @@ void ath_intr(void *);
(ath_hal_getcapability(_ah, HAP_CAP_SPLIT_4KB_TRANS, 0, NULL) == HAL_OK)
#define ath_hal_self_linked_final_rxdesc(_ah) \
(ath_hal_getcapability(_ah, HAL_CAP_RXDESC_SELFLINK, 0, NULL) == HAL_OK)
+#define ath_hal_gtxto_supported(_ah) \
+ (ath_hal_getcapability(_ah, HAL_CAP_GTXTO, 0, NULL) == HAL_OK)
#define ath_hal_setuprxdesc(_ah, _ds, _size, _intreq) \
((*(_ah)->ah_setupRxDesc)((_ah), (_ds), (_size), (_intreq)))