1. 14 2月, 2009 1 次提交
    • 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
  2. 12 2月, 2009 1 次提交
  3. 30 1月, 2009 18 次提交
  4. 20 12月, 2008 4 次提交
  5. 13 12月, 2008 1 次提交
  6. 05 12月, 2008 1 次提交
  7. 11 11月, 2008 1 次提交
  8. 01 11月, 2008 10 次提交
  9. 15 10月, 2008 1 次提交
  10. 25 9月, 2008 2 次提交
    • J
      mac80211: clean up rate control API · 4b7679a5
      Johannes Berg 提交于
      Long awaited, hard work. This patch totally cleans up the rate control
      API to remove the requirement to include internal headers outside of
      net/mac80211/.
      
      There's one internal use in the PID algorithm left for mesh networking,
      we'll have to figure out a way to clean that one up and decide how to
      do the peer link evaluation, possibly independent of the rate control
      algorithm or via new API.
      
      Additionally, ath9k is left using the cross-inclusion hack for now, we
      will add new API where necessary to make this work properly, but right
      now I'm not expert enough to do it. It's still off better than before.
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      4b7679a5
    • J
      mac80211: make master iface not wireless · 133b8226
      Johannes Berg 提交于
      There's no need to register the master netdev with cfg80211,
      in fact, this is quite dangerous and lead to having to add
      checks for the master interface all over the config handlers.
      This patch removes the "ieee80211_ptr" from the master iface
      in favour of having a small netdev_priv() associated with
      the master interface that stores the ieee80211_local pointer.
      Because of this, a lot of code in the configuration handlers
      can go away. To make this patch easier to verify I have also
      removed a number of wiphy_priv() calls in favour of getting
      the sdata first and then the local pointer from that.
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      133b8226