svn commit: r220718 - head/sys/dev/ath/ath_hal/ar5416
Adrian Chadd
adrian at FreeBSD.org
Sat Apr 16 12:46:47 UTC 2011
Author: adrian
Date: Sat Apr 16 12:46:46 2011
New Revision: 220718
URL: http://svn.freebsd.org/changeset/base/220718
Log:
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.
Modified:
head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c
Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c Sat Apr 16 12:45:09 2011 (r220717)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c Sat Apr 16 12:46:46 2011 (r220718)
@@ -290,6 +290,8 @@ ar5416GetCapability(struct ath_hal *ah,
(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;
}
More information about the svn-src-all
mailing list