Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Feb 2011 18:09:27 +0000 (UTC)
From:      Bernhard Schmidt <bschmidt@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/usb/wlan if_run.c if_runvar.h
Message-ID:  <201102091809.p19I9qZh057577@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <alex at zagrebin.ru>,
                  PseudoCylon <moonlightakkiy atyahoo.ca>
  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



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