1. 05 2月, 2013 4 次提交
  2. 31 1月, 2013 1 次提交
  3. 30 11月, 2012 4 次提交
  4. 23 11月, 2012 1 次提交
    • J
      cfg80211: use DS or HT operation IEs to determine BSS channel · 0172bb75
      Johannes Berg 提交于
      Currently, mac80211 checks the DS params IE if present and
      uses it for the (primary) BSS channel, instead of the one
      that the frame was received on. This is particularly useful
      in the 2.4 GHz band since a frame is often received on one
      of the adjacent channels due to overlap.
      
      Move this code to cfg80211 so other drivers also do this.
      
      Additionally, on 5 GHz, in particular with some (possibly)
      upcoming changes in 802.11ai and duplicate transmissions
      when wider channels are used, something similar happens.
      So if present, also use the (primary) channel information
      contained in the HT operation IE.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      0172bb75
  5. 18 10月, 2012 4 次提交
  6. 05 9月, 2012 1 次提交
  7. 12 7月, 2012 1 次提交
  8. 10 5月, 2012 1 次提交
    • J
      wireless: Convert compare_ether_addr to ether_addr_equal · ac422d3c
      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.
      
      I removed a conversion from scan.c/cmp_bss_core
      that appears to be a sorting function.
      
      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>
      ac422d3c
  9. 09 5月, 2012 1 次提交
  10. 17 4月, 2012 1 次提交
  11. 10 4月, 2012 1 次提交
  12. 14 3月, 2012 1 次提交
  13. 07 2月, 2012 1 次提交
  14. 12 11月, 2011 1 次提交
    • D
      cfg80211: merge in beacon ies of hidden bss. · dd9dfb9f
      Dmitry Tarnyagin 提交于
      The problem with PSM when a hidden SSID was used was originally
      reported by Juuso Oikarinen.
      
       - When generally scanning, the AP is getting a bss entry with
         a zero SSID.
       - When associating, a probe-req is sent to the AP with the SSID,
         and as a result a probe-response is received with the hidden
         SSID in place. As a consequence, a second bss entry is created
         for the AP, now with the real SSID.
       - After association, mac80211 executes ieee80211_recalc_ps(),
         but does not switch to powersave because the beacon-ies are missing.
      
      As result, the STA does not ever enter PSM.
      
      The patch merges in beacon ies of hidden bss from beacon to the probe
      response, creating a consistent set of ies in place.
      
      Patch is depended on "cfg80211: fix cmp_ies" made by Johannes.
      Signed-off-by: NDmitry Tarnyagin <dmitry.tarnyagin@stericsson.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      dd9dfb9f
  15. 08 11月, 2011 1 次提交
  16. 20 9月, 2011 1 次提交
  17. 09 8月, 2011 1 次提交
  18. 21 7月, 2011 1 次提交
  19. 20 7月, 2011 1 次提交
  20. 08 7月, 2011 1 次提交
  21. 06 7月, 2011 2 次提交
  22. 02 6月, 2011 1 次提交
  23. 13 5月, 2011 1 次提交
  24. 12 5月, 2011 2 次提交
    • L
      cfg80211/nl80211: add support for scheduled scans · 807f8a8c
      Luciano Coelho 提交于
      Implement new functionality for scheduled scan offload.  With this feature we
      can scan automatically at certain intervals.
      
      The idea is that the hardware can perform scan automatically and filter on
      desired results without waking up the host unnecessarily.
      
      Add NL80211_CMD_START_SCHED_SCAN and NL80211_CMD_STOP_SCHED_SCAN
      commands to the nl80211 interface.  When results are available they are
      reported by NL80211_CMD_SCHED_SCAN_RESULTS events.  The userspace is
      informed when the scheduled scan has stopped with a
      NL80211_CMD_SCHED_SCAN_STOPPED event, which can be triggered either by
      the driver or by a call to NL80211_CMD_STOP_SCHED_SCAN.
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      807f8a8c
    • J
      cfg80211: Use capability info to detect mesh beacons. · 0a35d36d
      Javier Cardona 提交于
      Mesh beacons no longer use all-zeroes BSSID.  Beacon frames for MBSS,
      infrastructure BSS, or IBSS are differentiated by the Capability
      Information field in the Beacon frame.  A mesh STA sets the ESS and IBSS
      subfields to 0 in transmitted Beacon or Probe Response management
      frames.
      Signed-off-by: NJavier Cardona <javier@cozybit.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      0a35d36d
  25. 29 3月, 2011 2 次提交
  26. 14 12月, 2010 1 次提交
  27. 07 10月, 2010 1 次提交
  28. 15 7月, 2010 1 次提交