svn commit: r191020 - head/sys/dev/ath
Sam Leffler
sam at FreeBSD.org
Mon Apr 13 20:57:35 UTC 2009
Author: sam
Date: Mon Apr 13 20:57:34 2009
New Revision: 191020
URL: http://svn.freebsd.org/changeset/base/191020
Log:
o fix dynamic slave-side tdma slot length updating: we need to re-setup the
burst length in the tx q's
o remove re-config of the beaconq on update; it's not needed
Modified:
head/sys/dev/ath/if_ath.c
Modified: head/sys/dev/ath/if_ath.c
==============================================================================
--- head/sys/dev/ath/if_ath.c Mon Apr 13 20:54:08 2009 (r191019)
+++ head/sys/dev/ath/if_ath.c Mon Apr 13 20:57:34 2009 (r191020)
@@ -7120,6 +7120,8 @@ ath_tdma_update(struct ieee80211_node *n
const struct ieee80211_tdma_state *ts = vap->iv_tdma;
ath_tdma_bintvalsetup(sc, ts);
+ if (changed & TDMA_UPDATE_SLOTLEN)
+ ath_wme_update(ic);
DPRINTF(sc, ATH_DEBUG_TDMA,
"%s: adopt slot %u slotcnt %u slotlen %u us "
@@ -7127,7 +7129,6 @@ ath_tdma_update(struct ieee80211_node *n
ts->tdma_slot, ts->tdma_slotcnt, ts->tdma_slotlen,
sc->sc_tdmabintval);
- ath_beaconq_config(sc);
/* XXX right? */
ath_hal_intrset(ah, sc->sc_imask);
/* NB: beacon timers programmed below */
More information about the svn-src-head
mailing list