1. 03 6月, 2015 1 次提交
  2. 20 4月, 2015 1 次提交
  3. 30 3月, 2015 1 次提交
  4. 04 3月, 2015 2 次提交
  5. 23 1月, 2015 1 次提交
  6. 17 12月, 2014 1 次提交
  7. 26 8月, 2014 2 次提交
  8. 15 8月, 2014 1 次提交
  9. 23 6月, 2014 1 次提交
    • B
      mac80211: remove ignore_plink_timer flag · 2b470c39
      Bob Copeland 提交于
      The mesh_plink code is doing some interesting things with the
      ignore_plink_timer flag.  It seems the original intent was to
      handle this race:
      
      cpu 0                           cpu 1
      -----                           -----
                                      start timer handler for state X
      acquire sta_lock
      change state from X to Y
      mod_timer() / del_timer()
      release sta_lock
                                      acquire sta_lock
                                      execute state Y timer too soon
      
      However, using the mod_timer()/del_timer() return values to
      detect these cases is broken.  As a result, timers get ignored
      unnecessarily, and stations can get stuck in the peering state
      machine.
      
      Instead, we can detect the case by looking at the timer expiration.
      In the case of del_timer, just ignore the timers in the following
      (LISTEN/ESTAB) states since they won't have timers anyway.
      Signed-off-by: NBob Copeland <me@bobcopeland.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      2b470c39
  10. 07 1月, 2014 1 次提交
  11. 26 11月, 2013 16 次提交
  12. 28 10月, 2013 1 次提交
    • M
      mac80211: fixes for mesh powersave logic · 446075d7
      Marco Porsch 提交于
      This patch fixes errors in the mesh powersave logic which
      cause that remote peers do not get peer power mode change
      notifications and mesh peer service periods (MPSPs) got
      stuck.
      
      When closing a peer link, set the (now invalid) peer-specific
      power mode to 'unknown'.
      
      Avoid overhead when local power mode is unchanged.
      
      Reliably clear MPSP flags on peering status update.
      
      Avoid MPSP flags getting stuck by not requesting a further
      MPSP ownership if we already are an MPSP owner.
      Signed-off-by: NMarco Porsch <marco@cozybit.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      446075d7
  13. 16 7月, 2013 1 次提交
  14. 18 6月, 2013 1 次提交
  15. 11 6月, 2013 1 次提交
    • T
      mac80211: fix mesh deadlock · ecccd072
      Thomas Pedersen 提交于
      The patch "cfg80211/mac80211: use cfg80211 wdev mutex in
      mac80211" introduced several deadlocks by converting the
      ifmsh->mtx to wdev->mtx. Solve these by:
      
      1. drop the cancel_work_sync() in ieee80211_stop_mesh().
         Instead make the mesh work conditional on whether the mesh
         is running or not.
      2. lock the mesh work with sdata_lock() to protect beacon
         updates and prevent races with wdev->mesh_id_len or
         cfg80211.
      Signed-off-by: NThomas Pedersen <thomas@cozybit.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      ecccd072
  16. 25 5月, 2013 1 次提交
    • J
      cfg80211/mac80211: use cfg80211 wdev mutex in mac80211 · 8d61ffa5
      Johannes Berg 提交于
      Using separate locks in cfg80211 and mac80211 has always
      caused issues, for example having to unlock in places in
      mac80211 to call cfg80211, which even needed a framework
      to make cfg80211 calls after some functions returned etc.
      
      Additionally, I suspect some issues people have reported
      with the cfg80211 state getting confused could be due to
      such issues, when cfg80211 is asking mac80211 to change
      state but mac80211 is in the process of telling cfg80211
      that the state changed (in another way.)
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      8d61ffa5
  17. 16 4月, 2013 1 次提交
    • J
      mac80211: parse VHT channel switch IEs · b2e506bf
      Johannes Berg 提交于
      VHT introduces multiple IEs that need to be parsed for a
      wide bandwidth channel switch. Two are (currently) needed
      in mac80211:
       * wide bandwidth channel switch element
       * channel switch wrapper element
      
      The former is contained in the latter for beacons and probe
      responses, but not for the spectrum management action frames
      so the IE parser needs a new argument to differentiate them.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      b2e506bf
  18. 11 4月, 2013 1 次提交
  19. 06 3月, 2013 3 次提交
  20. 18 2月, 2013 2 次提交