svn commit: r219869 - in head/sys: conf dev/ath

Adrian Chadd adrian at FreeBSD.org
Tue Mar 22 13:35:57 UTC 2011


Author: adrian
Date: Tue Mar 22 13:35:56 2011
New Revision: 219869
URL: http://svn.freebsd.org/changeset/base/219869

Log:
  Flip this over to be a configurable option for people who wish to play with it.
  
  It's still not ready for prime-time - there's some TX niggles with these 11n
  cards that I'm still trying to wrap my head around, and AMPDU-TX is just not
  implemented so things will come to a crashing halt if you're not careful.

Modified:
  head/sys/conf/options
  head/sys/dev/ath/if_ath.c

Modified: head/sys/conf/options
==============================================================================
--- head/sys/conf/options	Tue Mar 22 13:20:11 2011	(r219868)
+++ head/sys/conf/options	Tue Mar 22 13:35:56 2011	(r219869)
@@ -783,6 +783,7 @@ AH_NEED_DESC_SWAP	opt_ah.h
 AH_USE_INIPDGAIN	opt_ah.h
 AH_MAXCHAN		opt_ah.h
 AH_RXCFG_SDMAMW_4BYTES	opt_ah.h
+AH_ENABLE_11N		opt_ah.h
 
 # options for the Broadcom BCM43xx driver (bwi)
 BWI_DEBUG		opt_bwi.h

Modified: head/sys/dev/ath/if_ath.c
==============================================================================
--- head/sys/dev/ath/if_ath.c	Tue Mar 22 13:20:11 2011	(r219868)
+++ head/sys/dev/ath/if_ath.c	Tue Mar 22 13:35:56 2011	(r219869)
@@ -612,7 +612,7 @@ ath_attach(u_int16_t devid, struct ath_s
 	 * Don't think of doing that unless you know what you're doing.
 	 */
 
-#ifdef	DO_ATH_11N
+#ifdef	AH_ENABLE_11N
 	/*
 	 * Query HT capabilities
 	 */


More information about the svn-src-all mailing list