svn commit: r221622 - head/sys/dev/ath/ath_hal
Adrian Chadd
adrian at FreeBSD.org
Sun May 8 08:18:31 UTC 2011
Author: adrian
Date: Sun May 8 08:18:30 2011
New Revision: 221622
URL: http://svn.freebsd.org/changeset/base/221622
Log:
These EEPROM bits actually defined whether HT/20 and HT/40 support
for the given channel is available.
It isn't used yet; ar5416GetWirelessModes() needs to be taught
about this rather than assuming HT20/HT40 is available.
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 Sun May 8 08:17:16 2011 (r221621)
+++ head/sys/dev/ath/ath_hal/ah_eeprom_v14.h Sun May 8 08:18:30 2011 (r221622)
@@ -95,10 +95,10 @@
#define AR5416_OPFLAGS_11A 0x01
#define AR5416_OPFLAGS_11G 0x02
-#define AR5416_OPFLAGS_5G_HT40 0x04
-#define AR5416_OPFLAGS_2G_HT40 0x08
-#define AR5416_OPFLAGS_5G_HT20 0x10
-#define AR5416_OPFLAGS_2G_HT20 0x20
+#define AR5416_OPFLAGS_N_5G_HT40 0x04 /* If set, disable 5G HT40 */
+#define AR5416_OPFLAGS_N_2G_HT40 0x08
+#define AR5416_OPFLAGS_N_5G_HT20 0x10
+#define AR5416_OPFLAGS_N_2G_HT20 0x20
/* RF silent fields in EEPROM */
#define EEP_RFSILENT_ENABLED 0x0001 /* enabled/disabled */
More information about the svn-src-head
mailing list