Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 May 2011 08:18:31 +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: r221622 - head/sys/dev/ath/ath_hal
Message-ID:  <201105080818.p488IVAB035985@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



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