Author: adrian
Date: Wed Jan 11 00:18:33 2012
New Revision: 229950
URL: http://svn.freebsd.org/changeset/base/229950

Log:
  Re-enable the PHY radar error frames if sc_dodfs is set.
  
  This was messing up a local port of the atheros reference radar detection
  code; I'll fix the port instead.

Modified:
  head/sys/dev/ath/if_ath.c

Modified: head/sys/dev/ath/if_ath.c
==============================================================================
--- head/sys/dev/ath/if_ath.c   Wed Jan 11 00:16:44 2012        (r229949)
+++ head/sys/dev/ath/if_ath.c   Wed Jan 11 00:18:33 2012        (r229950)
@@ -2486,6 +2486,13 @@ ath_calcrxfilter(struct ath_softc *sc)
        if (IEEE80211_IS_CHAN_HT(ic->ic_curchan))
                rfilt |= HAL_RX_FILTER_COMPBAR;
 
+       /*
+        * Enable radar PHY errors if requested by the
+        * DFS module.
+        */
+       if (sc->sc_dodfs)
+               rfilt |= HAL_RX_FILTER_PHYRADAR;
+
        DPRINTF(sc, ATH_DEBUG_MODE, "%s: RX filter 0x%x, %s if_flags 0x%x\n",
            __func__, rfilt, ieee80211_opmode_name[ic->ic_opmode], 
ifp->if_flags);
        return rfilt;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to