From owner-svn-src-head@FreeBSD.ORG Mon Apr 13 20:57:34 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A750D106564A; Mon, 13 Apr 2009 20:57:34 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 95FF28FC14; Mon, 13 Apr 2009 20:57:34 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n3DKvYmk083324; Mon, 13 Apr 2009 20:57:34 GMT (envelope-from sam@svn.freebsd.org) Received: (from sam@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n3DKvYpC083322; Mon, 13 Apr 2009 20:57:34 GMT (envelope-from sam@svn.freebsd.org) Message-Id: <200904132057.n3DKvYpC083322@svn.freebsd.org> From: Sam Leffler Date: Mon, 13 Apr 2009 20:57:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r191020 - head/sys/dev/ath X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2009 20:57:35 -0000 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 */