1. 25 4月, 2012 1 次提交
  2. 24 4月, 2012 1 次提交
  3. 12 4月, 2012 1 次提交
  4. 11 4月, 2012 1 次提交
    • J
      mac80211: Implement mesh synchronization framework · dbf498fb
      Javier Cardona 提交于
      This patch adds MBSS extensible synchronization framework (Sec.
      13.13.2 of IEEE Std. 802.11-2012).
      
      The framework is implemented via an ops table which defines the
      following functions:
      
          rx_bcn_presp() - this is called every time a mesh beacon is
      received.
          adjust_tbtt() - this is called immediately before a beacon is about
      to be transmitted.
      
      The default neighbor offset synchronization defined in the standard is
      implemented.  We also provide template functions for vendor specific
      methods.
      
      When neighbor offset synchronization is active (which is the default)
      mesh neighbors in the same MBSS will track timing offsets to each other
      and compensate clock drift.
      
      In our tests we observed that this mesh synchronization implementation
      successfully corrected drifts between stations of ~2PPM while
      introducing a jitter of ~20us.
      
      It is also possible to test this framework on mac80211_hwsim simulated
      phys to see how it behaves under different topologies, over poor links,
      etc.
      Signed-off-by: NMarco Porsch <marco.porsch@s2005.tu-chemnitz.de>
      Signed-off-by: NPavel Zubarev <pavel.zubarev@gmail.com>
      Signed-off-by: NJavier Cardona <javier@cozybit.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      dbf498fb
  5. 10 4月, 2012 2 次提交
  6. 06 3月, 2012 1 次提交
  7. 28 2月, 2012 1 次提交
  8. 29 11月, 2011 1 次提交
  9. 10 11月, 2011 1 次提交
  10. 09 11月, 2011 1 次提交
  11. 01 10月, 2011 1 次提交
  12. 14 9月, 2011 2 次提交
  13. 25 8月, 2011 2 次提交
  14. 23 8月, 2011 2 次提交
  15. 17 5月, 2011 3 次提交
    • J
      mac80211: annotate and fix RCU in mesh code · 349eb8cf
      Johannes Berg 提交于
      This adds proper RCU annotations to the mesh path
      table code, and fixes a number of bugs in the code
      that I found while checking the sparse warnings I
      got as a result of the annotations.
      
      Some things like the changes in mesh_path_add() or
      mesh_pathtbl_init() only serve to shut up sparse,
      but other changes like the changes surrounding the
      for_each_mesh_entry() macro fix real RCU bugs in
      the code.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      349eb8cf
    • J
      mac80211: fix and simplify mesh locking · 1928ecab
      Johannes Berg 提交于
      The locking in mesh_{mpath,mpp}_table_grow not only
      has an rcu_read_unlock() missing, it's also racy
      (though really only technically since it's invoked
      from a single function only) since it obtains the
      new size of the table without any locking, so two
      invocations of the function could attempt the same
      resize.
      
      Additionally, it uses synchronize_rcu() which is
      rather expensive and can be avoided trivially here.
      
      Modify the functions to only use the table lock
      and use call_rcu() instead of synchronize_rcu().
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      1928ecab
    • J
      mac80211: sparse RCU annotations · 40b275b6
      Johannes Berg 提交于
      This adds sparse RCU annotations to most of
      mac80211, only the mesh code remains to be
      done.
      
      Due the the previous patches, the annotations
      are pretty simple. The only thing that this
      actually changes is removing the RCU usage of
      key->sta in debugfs since this pointer isn't
      actually an RCU-managed pointer (it only has
      a single assignment done before the key even
      goes live). As that is otherwise harmless, I
      decided to make it part of this patch.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      40b275b6
  16. 13 5月, 2011 1 次提交
  17. 13 4月, 2011 1 次提交
  18. 21 12月, 2010 2 次提交
  19. 16 12月, 2010 1 次提交
  20. 07 12月, 2010 2 次提交
  21. 09 8月, 2010 1 次提交
  22. 15 6月, 2010 1 次提交
  23. 09 4月, 2010 1 次提交
  24. 11 12月, 2009 1 次提交
  25. 19 11月, 2009 1 次提交
  26. 14 11月, 2009 5 次提交
  27. 12 11月, 2009 2 次提交