1. 13 Feb, 2009 4 commits
    • Johannes Berg's avatar
      cfg80211/nl80211: scanning (and mac80211 update to use it) · 2a519311
      Johannes Berg authored
      
      
      This patch adds basic scan capability to cfg80211/nl80211 and
      changes mac80211 to use it. The BSS list that cfg80211 maintains
      is made driver-accessible with a private area in each BSS struct,
      but mac80211 doesn't yet use it. That's another large project.
      
      Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      2a519311
    • Johannes Berg's avatar
      mac80211: clean up BA session teardown · 2dace10e
      Johannes Berg authored
      
      
      The sta_info pointer can very well be passed to
      ieee80211_sta_tear_down_BA_sessions, this will
      later allow us to pass it through even further.
      
      Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      2dace10e
    • Kalle Valo's avatar
      mac80211: use ps-poll when dynamic power save mode is disabled · 572e0012
      Kalle Valo authored
      
      
      When a directed tim bit is set, mac80211 currently disables power save
      ands sends a null frame to the AP. But if dynamic power save is
      disabled, mac80211 will not enable power save ever gain. Fix this by
      adding ps-poll functionality to mac80211. When a directed tim bit is
      set, mac80211 sends a ps-poll frame to the AP and checks for the more
      data bit in the returned data frames.
      
      Using ps-poll is slower than waking up with null frame, but it's saves more
      power in cases where the traffic is low. Userspace can control if either
      ps-poll or null wakeup method is used by enabling and disabling dynamic
      power save.
      
      Signed-off-by: default avatarKalle Valo <kalle.valo@nokia.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      572e0012
    • Kalle Valo's avatar
      mac80211: remove multicast check from check_tim() · 1fb3606b
      Kalle Valo authored
      
      
      Currently mac80211 checks for the multicast tim bit from beacons,
      disables power save and sends a null frame if the bit is set. This was
      added to support ath9k. But this is a bit controversial because the AP will
      send multicast frames immediately after the beacon and the time constraints
      are really high. Relying mac80211 to be fast enough here might not be
      reliable in all situations. And there's no need to send a null frame, AP
      will send the frames immediately after the dtim beacon no matter what.
      
      Also if dynamic power save is disabled (iwconfig wlan0 power timeout 0)
      currently mac80211 disables power save whenever the multicast bit is set
      but it's never enabled again after receiving the first multicast/broadcast
      frame.
      
      The current implementation is not usable on p54/stlc45xx and the
      easiest way to fix this is to remove the multicast tim bit check
      altogether. Handling multicast tim bit in host is rare, most of the
      designs do this in firmware/hardware, so it's better not to have it in
      mac80211. It's a lot better to do this in firmware/hardware, or if
      that's not possible it could be done in the driver.
      
      Also renamed the function to ieee80211_check_tim() to follow the style
      of the file.
      
      Signed-off-by: default avatarKalle Valo <kalle.valo@nokia.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      1fb3606b
  2. 11 Feb, 2009 1 commit
  3. 09 Feb, 2009 4 commits
  4. 29 Jan, 2009 21 commits
  5. 22 Jan, 2009 1 commit
  6. 19 Dec, 2008 5 commits
  7. 12 Dec, 2008 1 commit
  8. 05 Dec, 2008 2 commits
  9. 26 Nov, 2008 1 commit