1. 13 1月, 2017 1 次提交
  2. 09 1月, 2017 1 次提交
  3. 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
  4. 13 12月, 2016 1 次提交
  5. 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
  6. 27 10月, 2016 7 次提交
  7. 19 10月, 2016 2 次提交
  8. 13 10月, 2016 2 次提交
  9. 12 10月, 2016 3 次提交
  10. 30 9月, 2016 6 次提交
  11. 26 9月, 2016 2 次提交
  12. 16 9月, 2016 1 次提交
  13. 12 9月, 2016 1 次提交
  14. 30 8月, 2016 1 次提交
  15. 06 7月, 2016 3 次提交
  16. 31 5月, 2016 2 次提交
    • K
      cfg80211: Advertise extended capabilities per interface type to userspace · 019ae3a9
      Kanchanapally, Vidyullatha 提交于
      The driver extended capabilities may differ for different
      interface types which the userspace needs to know (for
      example the fine timing measurement initiator and responder
      bits might differ for a station and AP). Add a new nl80211
      attribute to provide extended capabilities per interface type
      to userspace.
      Signed-off-by: NVidyullatha Kanchanapally <vkanchan@qti.qualcomm.com>
      Reviewed-by: NJouni Malinen <jouni@qca.qualcomm.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      019ae3a9
    • J
      cfg80211: Allow cfg80211_connect_result() errors to be distinguished · bf1ecd21
      Jouni Malinen 提交于
      Previously, the status parameter to cfg80211_connect_result() was
      documented as using WLAN_STATUS_UNSPECIFIED_FAILURE (1) when the real
      status code for the failure is not known. This value can be used by an
      AP (and often is) and as such, user space cannot distinguish between
      explicitly rejected authentication/association and not being able to
      even try to associate or not receiving a response from the AP.
      
      Add a new inline function, cfg80211_connect_timeout(), to be used when
      the driver knows that the connection attempt failed due to a reason
      where connection could not be attempt or no response was received from
      the AP. The internal functions now allow a negative status value (-1) to
      be used as an indication of this special case. This results in the
      NL80211_ATTR_TIMED_OUT to be added to the NL80211_CMD_CONNECT event to
      allow user space to determine this case was hit. For backwards
      compatibility, NL80211_STATUS_CODE with the value
      WLAN_STATUS_UNSPECIFIED_FAILURE is still indicated in the event in such
      a case.
      Signed-off-by: NJouni Malinen <jouni@qca.qualcomm.com>
      [johannes: fix cfg80211_connect_bss() prototype to use int for status,
       add cfg80211_connect_timeout() to docbook, fix docbook]
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      bf1ecd21
  17. 12 5月, 2016 2 次提交
  18. 26 4月, 2016 2 次提交
  19. 12 4月, 2016 1 次提交