1. 22 12月, 2009 1 次提交
  2. 19 11月, 2009 2 次提交
  3. 28 10月, 2009 1 次提交
  4. 08 10月, 2009 2 次提交
  5. 29 8月, 2009 2 次提交
  6. 20 8月, 2009 3 次提交
  7. 11 8月, 2009 1 次提交
  8. 05 8月, 2009 2 次提交
    • L
      mac80211: redefine usage of the mac80211 workqueue · 42935eca
      Luis R. Rodriguez 提交于
      The mac80211 workqueue exists to enable mac80211 and drivers
      to queue their own work on a single threaded workqueue. mac80211
      takes care to flush the workqueue during suspend but we never
      really had requirements on drivers for how they should use
      the workqueue in consideration for suspend.
      
      We extend mac80211 to document how the mac80211 workqueue should
      be used, how it should not be used and finally move raw access to
      the workqueue to mac80211 only. Drivers and mac80211 use helpers
      to queue work onto the mac80211 workqueue:
      
        * ieee80211_queue_work()
        * ieee80211_queue_delayed_work()
      
      These helpers will now warn if mac80211 already completed its
      suspend cycle and someone is trying to queue work. mac80211
      flushes the mac80211 workqueue prior to suspend a few times,
      but we haven't taken the care to ensure drivers won't add more
      work after suspend. To help with this we add a warning when
      someone tries to add work and mac80211 already completed the
      suspend cycle.
      
      Drivers should ensure they cancel any work or delayed work
      in the mac80211 stop() callback.
      Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      42935eca
    • L
      ar9170: remove unneeded flush_workqueue() · e351cfbf
      Luis R. Rodriguez 提交于
      cancel_delayed_work_sync() and cancel_work_sync() are already being
      used therefore already waiting for all pending work by the driver
      to have been completed, no need to flush the mac80211 workqueue.
      
      Cc: Christian Lamparter <chunkeey@web.de>
      Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      e351cfbf
  9. 30 7月, 2009 1 次提交
  10. 25 7月, 2009 2 次提交
  11. 11 7月, 2009 1 次提交
    • J
      mac80211: push rx status into skb->cb · f1d58c25
      Johannes Berg 提交于
      Within mac80211, we often need to copy the rx status into
      skb->cb. This is wasteful, as drivers could be building it
      in there to start with. This patch changes the API so that
      drivers are expected to pass the RX status in skb->cb, now
      accessible as IEEE80211_SKB_RXCB(skb). It also updates all
      drivers to pass the rx status in there, but only by making
      them memcpy() it into place before the call to the receive
      function (ieee80211_rx(_irqsafe)). Each driver can now be
      optimised on its own schedule.
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      f1d58c25
  12. 11 6月, 2009 2 次提交
  13. 04 6月, 2009 6 次提交
  14. 23 5月, 2009 1 次提交
  15. 07 5月, 2009 3 次提交
  16. 23 4月, 2009 6 次提交
  17. 28 3月, 2009 3 次提交