1. 09 2月, 2017 1 次提交
    • L
      cfg80211: fix NAN bands definition · 8585989d
      Luca Coelho 提交于
      The nl80211_nan_dual_band_conf enumeration doesn't make much sense.
      The default value is assigned to a bit, which makes it weird if the
      default bit and other bits are set at the same time.
      
      To improve this, get rid of NL80211_NAN_BAND_DEFAULT and add a wiphy
      configuration to let the drivers define which bands are supported.
      This is exposed to the userspace, which then can make a decision on
      which band(s) to use.  Additionally, rename all "dual_band" elements
      to "bands", to make things clearer.
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      8585989d
  2. 08 2月, 2017 2 次提交
    • A
      cfg80211: Pass new RSSI level in CQM RSSI notification · bee427b8
      Andrzej Zaborowski 提交于
      Update the drivers to pass the RSSI level as a cfg80211_cqm_rssi_notify
      parameter and pass this value to userspace in a new nl80211 attribute.
      This helps both userspace and also helps in the implementation of the
      multiple RSSI thresholds CQM mechanism.
      
      Note for marvell/mwifiex I pass 0 for the RSSI value because the new
      RSSI value is not available to the driver at the time of the
      cfg80211_cqm_rssi_notify call, but the driver queries the new value
      immediately after that, so it is actually available just a moment later
      if we wanted to defer caling cfg80211_cqm_rssi_notify until that moment.
      Without this, the new cfg80211 code (patch 3) will call .get_station
      which will send a duplicate HostCmd_CMD_RSSI_INFO command to the hardware.
      Signed-off-by: NAndrew Zaborowski <andrew.zaborowski@intel.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      bee427b8
    • J
      nl80211: add HT/VHT capabilities to AP parameters · 66cd794e
      Johannes Berg 提交于
      For the benefit of drivers that rebuild IEs in firmware, parse the
      IEs for HT/VHT capabilities and the respective membership selector
      in the (extended) supported rates. This avoids duplicating the same
      code into all drivers that need this information.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      66cd794e
  3. 24 1月, 2017 1 次提交
  4. 13 1月, 2017 3 次提交
  5. 09 1月, 2017 1 次提交
  6. 06 1月, 2017 1 次提交
    • R
      cfg80211: support ieee80211-freq-limit DT property · e691ac2f
      Rafał Miłecki 提交于
      This patch adds a helper for reading that new property and applying
      limitations of supported channels specified this way.
      It is used with devices that normally support a wide wireless band but
      in a given config are limited to some part of it (usually due to board
      design). For example a dual-band chipset may be able to support one band
      only because of used antennas.
      It's also common that tri-band routers have separated radios for lower
      and higher part of 5 GHz band and it may be impossible to say which is
      which without a DT info.
      Signed-off-by: NRafał Miłecki <rafal@milecki.pl>
      [add new function to documentation, fix link]
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      e691ac2f
  7. 13 12月, 2016 1 次提交
  8. 09 12月, 2016 1 次提交
    • J
      cfg80211/mac80211: fix BSS leaks when abandoning assoc attempts · e6f462df
      Johannes Berg 提交于
      When mac80211 abandons an association attempt, it may free
      all the data structures, but inform cfg80211 and userspace
      about it only by sending the deauth frame it received, in
      which case cfg80211 has no link to the BSS struct that was
      used and will not cfg80211_unhold_bss() it.
      
      Fix this by providing a way to inform cfg80211 of this with
      the BSS entry passed, so that it can clean up properly, and
      use this ability in the appropriate places in mac80211.
      
      This isn't ideal: some code is more or less duplicated and
      tracing is missing. However, it's a fairly small change and
      it's thus easier to backport - cleanups can come later.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      e6f462df
  9. 27 10月, 2016 7 次提交
  10. 19 10月, 2016 2 次提交
  11. 13 10月, 2016 2 次提交
  12. 12 10月, 2016 3 次提交
  13. 30 9月, 2016 6 次提交
  14. 26 9月, 2016 2 次提交
  15. 16 9月, 2016 1 次提交
  16. 12 9月, 2016 1 次提交
  17. 30 8月, 2016 1 次提交
  18. 06 7月, 2016 3 次提交
  19. 31 5月, 2016 1 次提交