summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/ath_dfs/null/dfs_null.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/ath/ath_dfs/null/dfs_null.c b/sys/dev/ath/ath_dfs/null/dfs_null.c
index f443b7c..11b3d8a 100644
--- a/sys/dev/ath/ath_dfs/null/dfs_null.c
+++ b/sys/dev/ath/ath_dfs/null/dfs_null.c
@@ -132,6 +132,13 @@ ath_dfs_radar_enable(struct ath_softc *sc, struct ieee80211_channel *chan)
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);
OpenPOWER on IntegriCloud