aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2011-03-22 13:35:56 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2011-03-22 13:35:56 +0000
commit27ab76d69c67a098d5d8e72237a13c29ca45fdd5 (patch)
treed992d999e8f551c95d14b8ecf098e71cadcaa669
parent44a3316e1f4cac740c0b9b78da56bc4f5314adc2 (diff)
downloadsrc-27ab76d69c67a098d5d8e72237a13c29ca45fdd5.tar.gz
src-27ab76d69c67a098d5d8e72237a13c29ca45fdd5.zip
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.
Notes
Notes: svn path=/head/; revision=219869
-rw-r--r--sys/conf/options1
-rw-r--r--sys/dev/ath/if_ath.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/conf/options b/sys/conf/options
index 9224148efd7e..b3642e9f1f1d 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -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
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index da66241942c6..53f6eab55e3b 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -612,7 +612,7 @@ ath_attach(u_int16_t devid, struct ath_softc *sc)
* Don't think of doing that unless you know what you're doing.
*/
-#ifdef DO_ATH_11N
+#ifdef AH_ENABLE_11N
/*
* Query HT capabilities
*/