Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Apr 2011 10:59:20 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r220947 - head/sys/dev/ath/ath_hal
Message-ID:  <201104221059.p3MAxKIu039680@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Fri Apr 22 10:59:20 2011
New Revision: 220947
URL: http://svn.freebsd.org/changeset/base/220947

Log:
  The second regdomain word is a set of bitflags describing
  regulatory domain behaviour. Document what the v14 EEPROM
  flags are.

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

Modified: head/sys/dev/ath/ath_hal/ah_eeprom_v14.h
==============================================================================
--- head/sys/dev/ath/ath_hal/ah_eeprom_v14.h	Fri Apr 22 10:57:46 2011	(r220946)
+++ head/sys/dev/ath/ath_hal/ah_eeprom_v14.h	Fri Apr 22 10:59:20 2011	(r220947)
@@ -143,6 +143,16 @@ typedef struct CalCtlEdges {
 } __packed CAL_CTL_EDGES;
 
 /*
+ * These are the secondary regulatory domain flags
+ * for regDmn[1].
+ */
+#define	AR5416_REGDMN_EN_FCC_MID	0x01	/* 5.47 - 5.7GHz operation */
+#define	AR5416_REGDMN_EN_JAP_MID	0x02	/* 5.47 - 5.7GHz operation */
+#define	AR5416_REGDMN_EN_FCC_DFS_HT40	0x04	/* FCC HT40 + DFS operation */
+#define	AR5416_REGDMN_EN_JAP_HT40	0x08	/* JP HT40 operation */
+#define	AR5416_REGDMN_EN_JAP_DFS_HT40	0x10	/* JP HT40 + DFS operation */
+
+/*
  * NB: The format in EEPROM has words 0 and 2 swapped (i.e. version
  * and length are swapped).  We reverse their position after reading
  * the data into host memory so the version field is at the same



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104221059.p3MAxKIu039680>