1. 14 2月, 2009 5 次提交
    • J
      mac80211: dont add BSS when creating IBSS · 99cf5f5f
      Johannes Berg 提交于
      There's no need to create a BSS struct only to pass it to
      ieee80211_sta_join_ibss, so refactor this function into
      __ieee80211_sta_join_ibss which takes all the relevant
      paramters, and ieee80211_sta_join_ibss which takes a BSS
      struct (used when joining an IBSS that already has other
      members).
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      99cf5f5f
    • J
      cfg80211/nl80211: scanning (and mac80211 update to use it) · 2a519311
      Johannes Berg 提交于
      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: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      2a519311
    • J
      mac80211: clean up BA session teardown · 2dace10e
      Johannes Berg 提交于
      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: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      2dace10e
    • K
      mac80211: use ps-poll when dynamic power save mode is disabled · 572e0012
      Kalle Valo 提交于
      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: NKalle Valo <kalle.valo@nokia.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      572e0012
    • K
      mac80211: remove multicast check from check_tim() · 1fb3606b
      Kalle Valo 提交于
      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: NKalle Valo <kalle.valo@nokia.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      1fb3606b
  2. 12 2月, 2009 1 次提交
  3. 10 2月, 2009 4 次提交
  4. 30 1月, 2009 21 次提交
  5. 23 1月, 2009 1 次提交
  6. 20 12月, 2008 5 次提交
  7. 13 12月, 2008 1 次提交
  8. 05 12月, 2008 2 次提交