1. 25 7月, 2009 1 次提交
  2. 22 7月, 2009 2 次提交
    • J
      mac80211: use correct address for mesh Path Error · 35946a57
      Javier Cardona 提交于
      For forwarded frames, we save the precursor address in addr1 in case it
      needs to be used to send a Path Error.  mesh_path_discard_frame,
      however, was using addr2 instead of addr1 to send Path Error frames, so
      correct that and also make the comment regarding this more clear.
      Signed-off-by: NAndrey Yurovsky <andrey@cozybit.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      35946a57
    • J
      mac80211: disable mesh · e2e414d9
      Johannes Berg 提交于
      My kvm instance was complaining a lot about sleeping
      in atomic contexts in the mesh code, and it turns out
      that both mesh_path_add() and mpp_path_add() need to
      be able to sleep (they even use synchronize_rcu()!).
      I put in a might_sleep() to annotate that, but I see
      no way, at least right now, of actually making sure
      those functions are only called from process context
      since they are both called during TX and RX and the
      mesh code itself even calls them with rcu_read_lock()
      "held".
      
      Therefore, let's disable it completely for now.
      
      It's possible that I'm only seeing this because the
      hwsim's beaconing is broken and thus the peers aren't
      discovered right away, but it is possible that this
      happens even if beaconing is working, for a peer that
      doesn't exist or so.
      
      It should be possible to solve this by deferring the
      freeing of the tables to call_rcu() instead of using
      synchronize_rcu(), and also using atomic allocations,
      but maybe it makes more sense to rework the code to
      not call these from atomic contexts and defer more of
      the work to the workqueue. Right now, I can't work on
      either of those solutions though.
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      e2e414d9
  3. 25 9月, 2008 1 次提交
  4. 16 9月, 2008 1 次提交
  5. 23 8月, 2008 1 次提交
  6. 07 8月, 2008 1 次提交
  7. 01 7月, 2008 1 次提交
    • A
      build algorithms into the mac80211 module · e5f5e733
      Adrian Bunk 提交于
      The old infrastructure was:
      - the default algorithm is built into mac80211
      - other algorithms get into their own modules
      
      The implementation of this complicated scheme was horrible
      (just look at net/mac80211/Makefile), and anyone adding a new
      algorithm would most likely not get it right at his first attempt.
      
      This patch therefore builds all enabled algorithms into the mac80211
      module.
      
      The user interface for the rate control algorithms changes as follows:
      - first the user can choose which algorithms to enable (currently only
        MAC80211_RC_PID is available)
      - if more than one algorithm is enabled (currently not possible since
        only one algorithm is present) the user then chooses the default one
      
      Note:
      - MAC80211_RC_PID is always enables for CONFIG_EMBEDDED=n
      
      Technical changes:
      - all selected algorithms get into the mac80211 module
      - net/mac80211/Makefile can now become much less complicated
      - support for rc80211_pid_algo.c being modular is no longer required
      - this includes unexporting mesh_plink_broken
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      e5f5e733
  8. 22 5月, 2008 6 次提交
  9. 13 5月, 2008 3 次提交
  10. 07 3月, 2008 8 次提交