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 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"