1. 11 7月, 2012 1 次提交
  2. 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
  3. 19 6月, 2012 1 次提交
  4. 18 6月, 2012 2 次提交
  5. 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
  6. 09 6月, 2012 2 次提交
  7. 06 6月, 2012 1 次提交
  8. 16 5月, 2012 1 次提交
  9. 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
  10. 13 4月, 2012 1 次提交
  11. 10 4月, 2012 2 次提交
  12. 07 3月, 2012 1 次提交
  13. 06 3月, 2012 3 次提交
  14. 28 2月, 2012 1 次提交
  15. 28 1月, 2012 1 次提交
  16. 19 1月, 2012 1 次提交
  17. 29 11月, 2011 4 次提交
  18. 22 11月, 2011 1 次提交
  19. 18 11月, 2011 1 次提交
  20. 10 11月, 2011 2 次提交
  21. 09 11月, 2011 1 次提交
  22. 12 10月, 2011 1 次提交
  23. 15 9月, 2011 1 次提交
  24. 14 9月, 2011 1 次提交
  25. 25 8月, 2011 4 次提交
  26. 23 8月, 2011 1 次提交
  27. 11 8月, 2011 1 次提交
    • J
      mac80211: fix erroneous clearing of MESH_PATH_SN_VALID flag · 1b1de7aa
      Javier Cardona 提交于
      When a PREQ or PREP is received from an intermediate node, it contains
      useful information for path selection but it doesn't include the
      originator's sequence number.   Therefore, when updating the mesh path
      to that intermediate node, we should not set the MESH_PATH_SN_VALID
      flag.  BUT, if the flag is set, it should not be unset as we might have
      received a valid sequence number for that intermediate node in the past.
      
      This issue was reported, fixed and tested by Ya Bo (游波) and Pedro
      Larbig (ASPj).
      Signed-off-by: NJavier Cardona <javier@cozybit.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      1b1de7aa
  28. 09 8月, 2011 1 次提交