From owner-svn-src-projects@FreeBSD.ORG Wed May 6 20:48:45 2009 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A08C61065678; Wed, 6 May 2009 20:48:45 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8EE618FC17; Wed, 6 May 2009 20:48:45 +0000 (UTC) (envelope-from rpaulo@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 n46KmjJ1029431; Wed, 6 May 2009 20:48:45 GMT (envelope-from rpaulo@svn.freebsd.org) Received: (from rpaulo@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n46Kmjl9029429; Wed, 6 May 2009 20:48:45 GMT (envelope-from rpaulo@svn.freebsd.org) Message-Id: <200905062048.n46Kmjl9029429@svn.freebsd.org> From: Rui Paulo Date: Wed, 6 May 2009 20:48:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r191859 - projects/mesh11s/sys/dev/ath X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2009 20:48:46 -0000 Author: rpaulo Date: Wed May 6 20:48:45 2009 New Revision: 191859 URL: http://svn.freebsd.org/changeset/base/191859 Log: Prepare beacons in MBSS mode too. Sponsored by: The FreeBSD Foundation Modified: projects/mesh11s/sys/dev/ath/if_ath.c Modified: projects/mesh11s/sys/dev/ath/if_ath.c ============================================================================== --- projects/mesh11s/sys/dev/ath/if_ath.c Wed May 6 20:24:17 2009 (r191858) +++ projects/mesh11s/sys/dev/ath/if_ath.c Wed May 6 20:48:45 2009 (r191859) @@ -3213,10 +3213,12 @@ ath_beacon_config(struct ath_softc *sc, } while (nexttbtt < tsftu); } ath_beaconq_config(sc); - } else if (ic->ic_opmode == IEEE80211_M_HOSTAP) { + } else if (ic->ic_opmode == IEEE80211_M_HOSTAP || + ic->ic_opmode == IEEE80211_M_MBSS) { /* - * In AP mode we enable the beacon timers and - * SWBA interrupts to prepare beacon frames. + * In AP mode and mesh mode we enable the beacon + * timers and * SWBA interrupts to prepare beacon + * frames. */ intval |= HAL_BEACON_ENA; sc->sc_imask |= HAL_INT_SWBA; /* beacon prepare */