1. 26 11月, 2012 1 次提交
  2. 24 10月, 2012 1 次提交
  3. 17 10月, 2012 2 次提交
  4. 20 8月, 2012 1 次提交
    • J
      mac80211: mesh: don't use global channel type · 466f310d
      Johannes Berg 提交于
      Using local->_oper_channel_type in the mesh code is
      completely wrong as this value is the combination
      of the various interface channel types and can be
      a different value from the mesh interface in case
      there are multiple virtual interfaces.
      
      Use sdata->vif.bss_conf.channel_type instead as it
      tracks the per-vif channel type.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      466f310d
  5. 14 8月, 2012 1 次提交
  6. 04 8月, 2012 1 次提交
  7. 02 8月, 2012 2 次提交
  8. 31 7月, 2012 2 次提交
  9. 11 7月, 2012 1 次提交
  10. 24 6月, 2012 1 次提交
    • J
      mac80211: clean up debugging · bdcbd8e0
      Johannes Berg 提交于
      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: NJohannes Berg <johannes.berg@intel.com>
      bdcbd8e0
  11. 18 6月, 2012 1 次提交
  12. 14 6月, 2012 1 次提交
    • C
      mac80211: implement the proactive PREQ generation · a69cc44f
      Chun-Yeow Yeoh 提交于
      Generate the proactive PREQ element as defined in
      Sec. 13.10.9.3 (Case C) of IEEE Std. 802.11-2012
      based on the selection of dot11MeshHWMPRootMode as follow:
      dot11MeshHWMPRootMode (2) is proactivePREQnoPREP
      dot11MeshHWMPRootMode (3) is proactivePREQwithPREP
      
      The proactive PREQ is generated based on the interval
      defined by dot11MeshHWMProotInterval.
      
      With this change, proactive RANN element is now generated
      if the dot11MeshHWMPRootMode is set to (4) instead of (1).
      Signed-off-by: NChun-Yeow Yeoh <yeohchunyeow@gmail.com>
      [line-break commit log]
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      a69cc44f
  13. 06 6月, 2012 1 次提交
  14. 17 5月, 2012 1 次提交
  15. 10 5月, 2012 1 次提交
    • J
      mac80211: Convert compare_ether_addr to ether_addr_equal · b203ca39
      Joe Perches 提交于
      Use the new bool function ether_addr_equal to add
      some clarity and reduce the likelihood for misuse
      of compare_ether_addr for sorting.
      
      Done via cocci script:
      
      $ cat compare_ether_addr.cocci
      @@
      expression a,b;
      @@
      -	!compare_ether_addr(a, b)
      +	ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	compare_ether_addr(a, b)
      +	!ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	!ether_addr_equal(a, b) == 0
      +	ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	!ether_addr_equal(a, b) != 0
      +	!ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	ether_addr_equal(a, b) == 0
      +	!ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	ether_addr_equal(a, b) != 0
      +	ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	!!ether_addr_equal(a, b)
      +	ether_addr_equal(a, b)
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b203ca39
  16. 09 5月, 2012 3 次提交
  17. 24 4月, 2012 1 次提交
  18. 12 4月, 2012 3 次提交
  19. 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
  20. 10 4月, 2012 1 次提交
  21. 06 3月, 2012 1 次提交
  22. 29 11月, 2011 1 次提交
  23. 22 11月, 2011 1 次提交
    • B
      mac80211: Support ht-cap over-rides. · ef96a842
      Ben Greear 提交于
      This implements ht-cap over-rides for mac80211 drivers.
      HT may be disabled, making an /a/b/g/n station act like an
      a/b/g station.  HT40 may be disabled forcing the station to
      be HT20 even if the AP and local hardware support HT40.
      
      MAX-AMSDU may be disabled.
      AMPDU-Density may be increased.
      AMPDU-Factor may be decreased.
      
      This has been successfully tested with ath9k using patched
      wpa_supplicant and iw.
      Signed-off-by: NBen Greear <greearb@candelatech.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ef96a842
  24. 09 11月, 2011 2 次提交
  25. 01 10月, 2011 1 次提交
  26. 15 9月, 2011 1 次提交
  27. 14 9月, 2011 1 次提交
  28. 26 8月, 2011 1 次提交
  29. 25 8月, 2011 2 次提交
  30. 23 8月, 2011 2 次提交