Rename AH_ENABLE_11N to ATH_ENABLE_11 - the HAL supports 11n by

default but the ath driver doesn't. This is a much more consistent
name.
This commit is contained in:
Adrian Chadd 2011-03-27 08:47:55 +00:00
parent c720b9bd9e
commit 8fd67f92b0
3 changed files with 3 additions and 3 deletions

View file

@ -768,6 +768,7 @@ ATH_TXBUF opt_ath.h
ATH_RXBUF opt_ath.h ATH_RXBUF opt_ath.h
ATH_DIAGAPI opt_ath.h ATH_DIAGAPI opt_ath.h
ATH_TX99_DIAG opt_ath.h ATH_TX99_DIAG opt_ath.h
ATH_ENABLE_11N opt_ah.h
# options for the Atheros hal # options for the Atheros hal
AH_SUPPORT_AR5416 opt_ah.h AH_SUPPORT_AR5416 opt_ah.h
@ -784,7 +785,6 @@ AH_NEED_DESC_SWAP opt_ah.h
AH_USE_INIPDGAIN opt_ah.h AH_USE_INIPDGAIN opt_ah.h
AH_MAXCHAN opt_ah.h AH_MAXCHAN opt_ah.h
AH_RXCFG_SDMAMW_4BYTES opt_ah.h AH_RXCFG_SDMAMW_4BYTES opt_ah.h
AH_ENABLE_11N opt_ah.h
# options for the Broadcom BCM43xx driver (bwi) # options for the Broadcom BCM43xx driver (bwi)
BWI_DEBUG opt_bwi.h BWI_DEBUG opt_bwi.h

View file

@ -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. * Don't think of doing that unless you know what you're doing.
*/ */
#ifdef AH_ENABLE_11N #ifdef ATH_ENABLE_11N
/* /*
* Query HT capabilities * Query HT capabilities
*/ */

View file

@ -46,7 +46,7 @@
/* /*
* 802.11n requires more TX and RX buffers to do AMPDU. * 802.11n requires more TX and RX buffers to do AMPDU.
*/ */
#ifdef AH_ENABLE_11N #ifdef ATH_ENABLE_11N
#define ATH_TXBUF 512 #define ATH_TXBUF 512
#define ATH_RXBUF 512 #define ATH_RXBUF 512
#endif #endif