1. 19 Jun, 2019 1 commit
  2. 13 Dec, 2016 2 commits
  3. 30 Sep, 2016 2 commits
  4. 17 Jul, 2015 1 commit
  5. 29 Apr, 2014 1 commit
    • Johannes Berg's avatar
      mac80211: remove BUG_ON usage · 8c5bb1fa
      Johannes Berg authored
      These BUG_ON statements should never trigger, but in the unlikely
      event that somebody does manage don't stop everything but simply
      exit the code path with an error.
      
      Leave the one BUG_ON where changing it would result in a NULL
      pointer dereference.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      8c5bb1fa
  6. 16 Dec, 2013 1 commit
    • Thomas Pedersen's avatar
      mac80211: update adjusting TBTT bit in beacon · 43552be1
      Thomas Pedersen authored
      This regression was introduced in "mac80211: cache mesh
      beacon".
      
      mesh_sync_offset_adjust_tbtt()  was assuming that the
      beacon would be rebuilt in every single pre-tbtt
      interrupt, but now the beacon update happens on the
      workqueue, and it must be ready for immediate delivery to
      the driver.
      
      Save a pointer to the meshconf IE in the beacon_data (this
      works because both the IE pointer and beacon buffer are
      protected by the same rcu_{dereference,assign_pointer}())
      for quick updates during pre-tbtt. This is faster and a
      little prettier than iterating over the elements to find
      the meshconf IE every time.
      Signed-off-by: default avatarThomas Pedersen <thomas@cozybit.com>
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      43552be1
  7. 02 Dec, 2013 1 commit
  8. 15 Feb, 2013 1 commit
  9. 30 Nov, 2012 1 commit
  10. 26 Nov, 2012 1 commit
  11. 13 Nov, 2012 1 commit
  12. 18 Oct, 2012 1 commit
  13. 08 Oct, 2012 1 commit
  14. 24 Jun, 2012 1 commit
    • Johannes Berg's avatar
      mac80211: clean up debugging · bdcbd8e0
      Johannes Berg authored
      There are a few things that make the logging and
      debugging in mac80211 less useful than it should
      be right now:
       * a lot of messages should be pr_info, not pr_debug
       * wholesale use of pr_debug makes it require *both*
         Kconfig and dynamic configuration
       * there are still a lot of ifdefs
       * the style is very inconsistent, sometimes the
         sdata->name is printed in front
      
      Clean up everything, introducing new macros and
      separating out the station MLME debugging into
      a new Kconfig symbol.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      bdcbd8e0
  15. 05 Jun, 2012 1 commit
  16. 23 Apr, 2012 1 commit
  17. 16 Apr, 2012 2 commits
  18. 10 Apr, 2012 1 commit
    • Javier Cardona's avatar
      mac80211: Implement mesh synchronization framework · dbf498fb
      Javier Cardona authored
      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: default avatarMarco Porsch <marco.porsch@s2005.tu-chemnitz.de>
      Signed-off-by: default avatarPavel Zubarev <pavel.zubarev@gmail.com>
      Signed-off-by: default avatarJavier Cardona <javier@cozybit.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      dbf498fb