1. 20 9月, 2012 1 次提交
  2. 07 9月, 2012 1 次提交
  3. 20 8月, 2012 1 次提交
  4. 31 7月, 2012 2 次提交
  5. 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
  6. 22 6月, 2012 1 次提交
  7. 21 6月, 2012 1 次提交
  8. 06 6月, 2012 3 次提交
  9. 17 5月, 2012 1 次提交
  10. 16 5月, 2012 1 次提交
  11. 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
  12. 09 5月, 2012 1 次提交
  13. 18 4月, 2012 1 次提交
  14. 12 4月, 2012 1 次提交
  15. 11 4月, 2012 1 次提交
  16. 10 4月, 2012 1 次提交
  17. 06 3月, 2012 1 次提交
  18. 28 2月, 2012 1 次提交
  19. 07 2月, 2012 1 次提交
  20. 31 1月, 2012 2 次提交
  21. 28 1月, 2012 1 次提交
  22. 25 1月, 2012 6 次提交
  23. 13 1月, 2012 1 次提交
  24. 16 12月, 2011 2 次提交
    • J
      mac80211: delay IBSS station insertion · 8bf11d8d
      Johannes Berg 提交于
      In order to notify drivers and simplify the station
      management code, defer IBSS station insertion to a
      work item and don't do it directly while receiving
      a frame.
      
      This increases the complexity in IBSS a little bit,
      but it's pretty straight forward and it allows us
      to reduce the station management complexity (next
      patch) considerably.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      8bf11d8d
    • J
      mac80211: refactor station state transitions · d9a7ddb0
      Johannes Berg 提交于
      Station entries can have various states, the most
      important ones being auth, assoc and authorized.
      This patch prepares us for telling the driver about
      these states, we don't want to confuse drivers with
      strange transitions, so with this we enforce that
      they move in the right order between them (back and
      forth); some transitions might happen before the
      driver even knows about the station, but at least
      runtime transitions will be ordered correctly.
      
      As a consequence, IBSS and MESH stations will now
      have the ASSOC flag set (so they can transition to
      AUTHORIZED), and we can get rid of a special case
      in TX processing.
      
      When freeing a station, unwind the state so that
      other parts of the code (or drivers later) can rely
      on the transitions.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      d9a7ddb0
  25. 15 12月, 2011 1 次提交
  26. 14 12月, 2011 1 次提交
  27. 07 12月, 2011 2 次提交
  28. 12 11月, 2011 1 次提交
  29. 01 10月, 2011 1 次提交
    • J
      mac80211: optimise station flags · c2c98fde
      Johannes Berg 提交于
      The flaglock in struct sta_info has long been
      something that I wanted to get rid of, this
      finally does the conversion to atomic bitops.
      
      The conversion itself is straight-forward in
      most places, a few things needed to change a
      bit since we can no longer use multiple bits
      at the same time.
      
      On x86-64, this is a fairly significant code
      size reduction:
         text	   data	    bss	    dec	    hex
       427861	  23648	   1008	 452517	  6e7a5	before
       425383	  23648	    976	 450007	  6ddd7	after
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      c2c98fde