From a52b6c396bdd94cd291fa20ab5df3df17b18e3ea Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Tue, 27 Nov 2012 02:19:35 +0000 Subject: [PATCH] Add a note about the magic values here; don't change them. --- sys/dev/ath/ath_hal/ah.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/dev/ath/ath_hal/ah.h b/sys/dev/ath/ath_hal/ah.h index 0b55f9932aa..7e2ef353bb1 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 */