summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-04-16 12:46:46 +0000
committeradrian <adrian@FreeBSD.org>2011-04-16 12:46:46 +0000
commit1d6c475a4a06595be85d2ec5b0d2c78452b696e8 (patch)
tree88a8bd3a9bd799f78f2bf39fe0bb00181817ebcf
parentd10ef1ad6be1a6e584ee48e71f6cf254839bd0c7 (diff)
downloadFreeBSD-src-1d6c475a4a06595be85d2ec5b0d2c78452b696e8.zip
FreeBSD-src-1d6c475a4a06595be85d2ec5b0d2c78452b696e8.tar.gz
Disable classic-style fast diversity on the AR5416 and later.
Antenna diversity on the >= AR5416 is implemented differently than the AR5212 and previous chips. So for now, and not to confuse things, just disable it for now.
-rw-r--r--sys/dev/ath/ath_hal/ar5416/ar5416_misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c b/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c
index f2d13af..359d71d 100644
--- a/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c
+++ b/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c
@@ -290,6 +290,8 @@ ar5416GetCapability(struct ath_hal *ah, HAL_CAPABILITY_TYPE type,
(ah->ah_macVersion == AR_XSREV_VERSION_OWL_PCIE) ||
AR_SREV_SOWL(ah)) ?
HAL_OK : HAL_ENOTSUPP;
+ case HAL_CAP_DIVERSITY: /* disable classic fast diversity */
+ return HAL_ENXIO;
default:
break;
}
OpenPOWER on IntegriCloud