Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2009 20:57:34 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r191020 - head/sys/dev/ath
Message-ID:  <200904132057.n3DKvYpC083322@svn.freebsd.org>

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



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