1. 28 May, 2019 2 commits
    • Johannes Berg's avatar
      nl80211: fill all policy .type entries · 1a28ed21
      Johannes Berg authored
      For old commands, it's fine to have .type = NLA_UNSPEC and it
      behaves the same as NLA_MIN_LEN. However, for new commands with
      strict validation this is no longer true, and for policy export
      to userspace these are also ignored.
      
      Fix up the remaining ones that don't have a type.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      1a28ed21
    • Chaitanya Tata's avatar
      cfg80211: Handle bss expiry during connection · a3ce17d1
      Chaitanya Tata authored
      If the BSS is expired during connection, the connect result will
      trigger a kernel warning. Ideally cfg80211 should hold the BSS
      before the connection is attempted, but as the BSSID is not known
      in case of auth/assoc MLME offload (connect op) it doesn't.
      
      For those drivers without the connect op cfg80211 holds down the
      reference so it wil not be removed from list.
      
      Fix this by removing the warning and silently adding the BSS back to
      the bss list which is return by the driver (with proper BSSID set) or
      in case the BSS is already added use that.
      
      The requirements for drivers are documented in the API's.
      Signed-off-by: default avatarChaitanya Tata <chaitanya.tata@bluwireless.co.uk>
      [formatting fixes, keep old timestamp]
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      a3ce17d1
  2. 27 May, 2019 11 commits
  3. 26 May, 2019 27 commits