svn commit: r243589 - head/sys/dev/ath/ath_hal

Adrian Chadd adrian at FreeBSD.org
Tue Nov 27 02:19:35 UTC 2012


Author: adrian
Date: Tue Nov 27 02:19:35 2012
New Revision: 243589
URL: http://svnweb.freebsd.org/changeset/base/243589

Log:
  Add a note about the magic values here; don't change them.

Modified:
  head/sys/dev/ath/ath_hal/ah.h

Modified: head/sys/dev/ath/ath_hal/ah.h
==============================================================================
--- head/sys/dev/ath/ath_hal/ah.h	Tue Nov 27 02:18:41 2012	(r243588)
+++ head/sys/dev/ath/ath_hal/ah.h	Tue Nov 27 02:19:35 2012	(r243589)
@@ -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 */


More information about the svn-src-head mailing list