K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-02-09T18:09:27.213598Z K 7 svn:log V 827 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 END