summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-09-13 07:17:58 +0000
committeradrian <adrian@FreeBSD.org>2012-09-13 07:17:58 +0000
commit155b550f3171e712fb54011d26c09c6c666618b4 (patch)
tree836d238cec6178ae45f0c017c5e83568668e2b06
parent8cae2ecab49d64da20bf3356a1cd2ab6f48dbe17 (diff)
downloadFreeBSD-src-155b550f3171e712fb54011d26c09c6c666618b4.zip
FreeBSD-src-155b550f3171e712fb54011d26c09c6c666618b4.tar.gz
Add register defintions for the AR5416 TX/RX latency fields.
Obtained from: Qualcomm Atheros
-rw-r--r--sys/dev/ath/ath_hal/ar5416/ar5416reg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416reg.h b/sys/dev/ath/ath_hal/ar5416/ar5416reg.h
index ea1a9cd..483d29d 100644
--- a/sys/dev/ath/ath_hal/ar5416/ar5416reg.h
+++ b/sys/dev/ath/ath_hal/ar5416/ar5416reg.h
@@ -123,6 +123,12 @@
#define AR_RTC_DERIVED_CLK_PERIOD_S 1
#endif /* AH_SUPPORT_AR9130 */
+/* AR_USEC: 0x801c */
+#define AR5416_USEC_TX_LAT 0x007FC000 /* tx latency to start of SIGNAL (usec) */
+#define AR5416_USEC_TX_LAT_S 14 /* tx latency to start of SIGNAL (usec) */
+#define AR5416_USEC_RX_LAT 0x1F800000 /* rx latency to start of SIGNAL (usec) */
+#define AR5416_USEC_RX_LAT_S 23 /* rx latency to start of SIGNAL (usec) */
+
#define AR_RESET_TSF 0x8020
/*
OpenPOWER on IntegriCloud