Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Sep 2012 05:01:10 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r240002 - head/sys/dev/ath/ath_dfs/null
Message-ID:  <201209020501.q8251ARi041648@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209020501.q8251ARi041648>