diff options
author | adrian <adrian@FreeBSD.org> | 2012-08-29 04:11:00 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-08-29 04:11:00 +0000 |
commit | 6866af3b1892f6e2c46907cefb825d741acecb89 (patch) | |
tree | 1ebc5f44d95bd7c98721f798dcd76af090eaf6e3 | |
parent | 6640c26a5211b90fe2c8154e06ccb0f62266ed89 (diff) | |
download | FreeBSD-src-6866af3b1892f6e2c46907cefb825d741acecb89.zip FreeBSD-src-6866af3b1892f6e2c46907cefb825d741acecb89.tar.gz |
Set the HAL combined antenna diversity capability if the AR9285
EEPROM settings allow it.
-rw-r--r-- | sys/dev/ath/ath_hal/ar9002/ar9285_attach.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c b/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c index 940c6a5..13bf316 100644 --- a/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c +++ b/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c @@ -504,6 +504,9 @@ ar9285FillCapabilityInfo(struct ath_hal *ah) pCap->halTxStreams = 1; pCap->halRxStreams = 1; + if (ar9285_check_div_comb(ah)) + pCap->halAntDivCombSupport = AH_TRUE; + pCap->halCSTSupport = AH_TRUE; pCap->halRifsRxSupport = AH_TRUE; pCap->halRifsTxSupport = AH_TRUE; |