1. 03 1月, 2013 5 次提交
  2. 26 11月, 2012 2 次提交
  3. 24 10月, 2012 1 次提交
  4. 17 10月, 2012 2 次提交
  5. 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
  6. 14 8月, 2012 1 次提交
  7. 04 8月, 2012 1 次提交
  8. 02 8月, 2012 2 次提交
  9. 31 7月, 2012 2 次提交
  10. 11 7月, 2012 1 次提交
  11. 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
  12. 18 6月, 2012 1 次提交
  13. 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
  14. 06 6月, 2012 1 次提交
  15. 17 5月, 2012 1 次提交
  16. 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
  17. 09 5月, 2012 3 次提交
  18. 24 4月, 2012 1 次提交
  19. 12 4月, 2012 3 次提交
  20. 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
  21. 10 4月, 2012 1 次提交
  22. 06 3月, 2012 1 次提交
  23. 29 11月, 2011 1 次提交
  24. 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
  25. 09 11月, 2011 2 次提交
  26. 01 10月, 2011 1 次提交
  27. 15 9月, 2011 1 次提交