1. 31 10月, 2009 2 次提交
  2. 28 10月, 2009 1 次提交
  3. 09 9月, 2009 1 次提交
  4. 03 9月, 2009 1 次提交
  5. 20 8月, 2009 1 次提交
    • J
      mac80211: allow configure_filter callback to sleep · 3ac64bee
      Johannes Berg 提交于
      Over time, a whole bunch of drivers have come up
      with their own scheme to delay the configure_filter
      operation to a workqueue. To be able to simplify
      things, allow configure_filter to sleep, and add
      a new prepare_multicast callback that drivers that
      need the multicast address list implement. This new
      callback must be atomic, but most drivers either
      don't care or just calculate a hash which can be
      done atomically and then uploaded to the hardware
      non-atomically.
      
      A cursory look suggests that at76c50x-usb, ar9170,
      mwl8k (which is actually very broken now), rt2x00,
      wl1251, wl1271 and zd1211 should make use of this
      new capability.
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      3ac64bee
  6. 05 8月, 2009 2 次提交
    • L
      b43legacy: Work around mac80211 race condition · c1be5152
      Larry Finger 提交于
      As shown in http://thread.gmane.org/gmane.linux.kernel.wireless.general/36497,
      mac80211 has a bug that allows a call to the TX routine after the queues have
      been stopped. This situation will only occur under extreme stress. Although
      b43legacy does not crash when this condition occurs, it does generate a WARN_ON
      and also logs a queue overrun message. This patch recognizes b43legacy is not
      at fault and logs a message only when the most verbose debugging mode is
      enabled. In the unlikely event that the queue is not stopped when the DMA
      queue becomes full, then a warning is issued.
      
      This patch is based on the one used by b43.
      Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      c1be5152
    • 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
  7. 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
  8. 08 7月, 2009 1 次提交
  9. 11 6月, 2009 1 次提交
  10. 04 6月, 2009 1 次提交
    • J
      rfkill: rewrite · 19d337df
      Johannes Berg 提交于
      This patch completely rewrites the rfkill core to address
      the following deficiencies:
      
       * all rfkill drivers need to implement polling where necessary
         rather than having one central implementation
      
       * updating the rfkill state cannot be done from arbitrary
         contexts, forcing drivers to use schedule_work and requiring
         lots of code
      
       * rfkill drivers need to keep track of soft/hard blocked
         internally -- the core should do this
      
       * the rfkill API has many unexpected quirks, for example being
         asymmetric wrt. alloc/free and register/unregister
      
       * rfkill can call back into a driver from within a function the
         driver called -- this is prone to deadlocks and generally
         should be avoided
      
       * rfkill-input pointlessly is a separate module
      
       * drivers need to #ifdef rfkill functions (unless they want to
         depend on or select RFKILL) -- rfkill should provide inlines
         that do nothing if it isn't compiled in
      
       * the rfkill structure is not opaque -- drivers need to initialise
         it correctly (lots of sanity checking code required) -- instead
         force drivers to pass the right variables to rfkill_alloc()
      
       * the documentation is hard to read because it always assumes the
         reader is completely clueless and contains way TOO MANY CAPS
      
       * the rfkill code needlessly uses a lot of locks and atomic
         operations in locked sections
      
       * fix LED trigger to actually change the LED when the radio state
         changes -- this wasn't done before
      Tested-by: NAlan Jenkins <alan-jenkins@tuffmail.co.uk>
      Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> [thinkpad]
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      19d337df
  11. 21 5月, 2009 2 次提交
  12. 07 5月, 2009 2 次提交
  13. 23 4月, 2009 4 次提交
  14. 07 4月, 2009 3 次提交
  15. 10 2月, 2009 1 次提交
  16. 30 1月, 2009 1 次提交
  17. 13 1月, 2009 1 次提交
  18. 13 12月, 2008 1 次提交
    • L
      b43legacy: Fix sparse warnings · d8004cb9
      Larry Finger 提交于
      Sparse yields the following warnings for b43legacy:
      
        CHECK   drivers/net/wireless/b43legacy/phy.c
      drivers/net/wireless/b43legacy/phy.c:1304:31: warning: potentially expensive pointer subtraction
      drivers/net/wireless/b43legacy/phy.c:1304:31: warning: potentially expensive pointer subtraction
      drivers/net/wireless/b43legacy/phy.c:1304:31: warning: potentially expensive pointer subtraction
        CHECK   drivers/net/wireless/b43legacy/debugfs.c
      drivers/net/wireless/b43legacy/debugfs.c:243:9: warning: memset with byte count of 131072
      Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      d8004cb9
  19. 22 11月, 2008 1 次提交
  20. 11 11月, 2008 2 次提交
  21. 01 11月, 2008 4 次提交
  22. 07 10月, 2008 2 次提交
  23. 17 9月, 2008 1 次提交
  24. 16 9月, 2008 2 次提交
  25. 12 9月, 2008 1 次提交