From 27ab76d69c67a098d5d8e72237a13c29ca45fdd5 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Tue, 22 Mar 2011 13:35:56 +0000 Subject: [PATCH] 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. --- sys/conf/options | 1 + sys/dev/ath/if_ath.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/conf/options b/sys/conf/options index 9224148efd7..b3642e9f1f1 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 da66241942c..53f6eab55e3 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 */