From owner-cvs-src-old@FreeBSD.ORG Wed Feb 9 18:09:52 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA4FA1065674 for ; Wed, 9 Feb 2011 18:09:52 +0000 (UTC) (envelope-from bschmidt@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C7D7C8FC0C for ; Wed, 9 Feb 2011 18:09:52 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p19I9qGh057578 for ; Wed, 9 Feb 2011 18:09:52 GMT (envelope-from bschmidt@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p19I9qZh057577 for cvs-src-old@freebsd.org; Wed, 9 Feb 2011 18:09:52 GMT (envelope-from bschmidt@repoman.freebsd.org) Message-Id: <201102091809.p19I9qZh057577@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to bschmidt@repoman.freebsd.org using -f From: Bernhard Schmidt Date: Wed, 9 Feb 2011 18:09:27 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/usb/wlan if_run.c if_runvar.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2011 18:09:52 -0000 bschmidt 2011-02-09 18:09:27 UTC FreeBSD src repository Modified files: sys/dev/usb/wlan if_run.c if_runvar.h Log: SVN rev 218492 on 2011-02-09 18:09:27Z by bschmidt Rework beacon handling re-enable run_updateslot(). Drivers which rely on net80211 to create the beacon need to call ieee80211_beacon_update() on iv_update_beacon() calls. This is required that certain bits, e.g. TIM, get updated. A call to ieee80211_beacon_alloc() is not enough because it does not care about flags which can only change during runtime. By design a beacon is supposed to be allocated only once while moving into RUN state. To handle all possible calls to iv_update_beacon() the run_updateslot() function has been revived and run_updateprot() has been added. run_updateslot() handles slot time changes and run_updateprot() changes to protection, both can change while nodes associate/leave. Submitted by: Alexander Zagrebin , PseudoCylon MFC after: 3 weeks Revision Changes Path 1.19 +77 -9 src/sys/dev/usb/wlan/if_run.c 1.7 +1 -0 src/sys/dev/usb/wlan/if_runvar.h