Date: Thu, 25 Apr 2013 08:33:54 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r249887 - user/adrian/net80211_tx/sys/dev/ath Message-ID: <201304250833.r3P8XsVu071225@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Thu Apr 25 08:33:54 2013 New Revision: 249887 URL: http://svnweb.freebsd.org/changeset/base/249887 Log: Post missed/resume beacon notifications. Modified: user/adrian/net80211_tx/sys/dev/ath/if_ath_beacon.c Modified: user/adrian/net80211_tx/sys/dev/ath/if_ath_beacon.c ============================================================================== --- user/adrian/net80211_tx/sys/dev/ath/if_ath_beacon.c Thu Apr 25 08:33:39 2013 (r249886) +++ user/adrian/net80211_tx/sys/dev/ath/if_ath_beacon.c Thu Apr 25 08:33:54 2013 (r249887) @@ -399,6 +399,11 @@ ath_beacon_miss(struct ath_softc *sc) hangs); } +#ifdef ATH_DEBUG_ALQ + if (if_ath_alq_checkdebug(&sc->sc_alq, ATH_ALQ_MISSED_BEACON)) + if_ath_alq_post(&sc->sc_alq, ATH_ALQ_MISSED_BEACON, 0, NULL); +#endif + DPRINTF(sc, ATH_DEBUG_BEACON, "%s: valid=%d, txbusy=%u, rxbusy=%u, chanbusy=%u, " "extchanbusy=%u, cyclecount=%u\n", @@ -451,6 +456,10 @@ ath_beacon_proc(void *arg, int pending) "%s: resume beacon xmit after %u misses\n", __func__, sc->sc_bmisscount); sc->sc_bmisscount = 0; +#ifdef ATH_DEBUG_ALQ + if (if_ath_alq_checkdebug(&sc->sc_alq, ATH_ALQ_RESUME_BEACON)) + if_ath_alq_post(&sc->sc_alq, ATH_ALQ_RESUME_BEACON, 0, NULL); +#endif } if (sc->sc_stagbeacons) { /* staggered beacons */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304250833.r3P8XsVu071225>