svn commit: r240002 - head/sys/dev/ath/ath_dfs/null
Adrian Chadd
adrian at FreeBSD.org
Sun Sep 2 05:01:11 UTC 2012
Author: adrian
Date: Sun Sep 2 05:01:10 2012
New Revision: 240002
URL: http://svn.freebsd.org/changeset/base/240002
Log:
Disable strong signal diversity when enabling radar pulse detection
for the AR5212 era NICs.
Modified:
head/sys/dev/ath/ath_dfs/null/dfs_null.c
Modified: head/sys/dev/ath/ath_dfs/null/dfs_null.c
==============================================================================
--- head/sys/dev/ath/ath_dfs/null/dfs_null.c Sun Sep 2 04:56:29 2012 (r240001)
+++ head/sys/dev/ath/ath_dfs/null/dfs_null.c Sun Sep 2 05:01:10 2012 (r240002)
@@ -132,6 +132,13 @@ ath_dfs_radar_enable(struct ath_softc *s
ath_hal_enabledfs(sc->sc_ah, &pe);
+ /*
+ * Disable strong signal fast diversity - needed for
+ * AR5212 and similar PHYs for reliable short pulse
+ * duration.
+ */
+ (void) ath_hal_setcapability(sc->sc_ah, HAL_CAP_DIVERSITY, 2, 0, NULL);
+
return (1);
#else
return (0);
More information about the svn-src-all
mailing list