summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-11-27 02:19:35 +0000
committeradrian <adrian@FreeBSD.org>2012-11-27 02:19:35 +0000
commitdd88093c5e77fb769fc9bd276dc47f4741474283 (patch)
tree8e2ca5287701e8d98c938d1708a188c1e5c631f0
parent8a5d0df8e0ecfd4fdab8206df6f2c4643c939ad7 (diff)
downloadFreeBSD-src-dd88093c5e77fb769fc9bd276dc47f4741474283.zip
FreeBSD-src-dd88093c5e77fb769fc9bd276dc47f4741474283.tar.gz
Add a note about the magic values here; don't change them.
-rw-r--r--sys/dev/ath/ath_hal/ah.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/ath/ath_hal/ah.h b/sys/dev/ath/ath_hal/ah.h
index 0b55f99..7e2ef35 100644
--- a/sys/dev/ath/ath_hal/ah.h
+++ b/sys/dev/ath/ath_hal/ah.h
@@ -777,6 +777,11 @@ typedef struct {
uint32_t bs_nexttbtt; /* next beacon in TU */
uint32_t bs_nextdtim; /* next DTIM in TU */
uint32_t bs_intval; /* beacon interval+flags */
+/*
+ * HAL_BEACON_PERIOD, HAL_BEACON_ENA and HAL_BEACON_RESET_TSF
+ * are all 1:1 correspondances with the pre-11n chip AR_BEACON
+ * register.
+ */
#define HAL_BEACON_PERIOD 0x0000ffff /* beacon interval period */
#define HAL_BEACON_PERIOD_TU8 0x0007ffff /* beacon interval, tu/8 */
#define HAL_BEACON_ENA 0x00800000 /* beacon xmit enable */
OpenPOWER on IntegriCloud