patches: update patches for v4.17-rc1
authorArend Van Spriel <arend.vanspriel@broadcom.com>
Mon, 30 Apr 2018 11:15:44 +0000 (13:15 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 2 May 2018 21:47:09 +0000 (23:47 +0200)
Few patches do not apply to source code in v4.17-rc1 so updating
those.

Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
patches/0004-disable-wext-kconfig.patch
patches/0070-mac80211-fils.patch

index 313ea9064bf11487b5eec449e3223694f60ea663..1ed420abace691e04375827695397be5085a3160 100644 (file)
@@ -25,10 +25,10 @@ so remove the Kconfig options for them.
  config CFG80211
        tristate "cfg80211 - wireless configuration API"
        depends on RFKILL || !RFKILL
-@@ -191,7 +173,7 @@ config CFG80211_CRDA_SUPPORT
+@@ -187,7 +169,7 @@ config CFG80211_CRDA_SUPPORT
+
  config CFG80211_WEXT
        bool "cfg80211 wireless extensions compatibility" if !CFG80211_WEXT_EXPORT
-       depends on CFG80211
 -      select WEXT_CORE
 +      depends on WEXT_CORE
        default y if CFG80211_WEXT_EXPORT
index 345e70748c92ad830431793ecdb808e14accc0b4..d7274e5739be714ff5555a9240785562c7ee428a 100644 (file)
@@ -5,7 +5,7 @@
  /*
   * FILS AEAD for (Re)Association Request/Response frames
   * Copyright 2016, Qualcomm Atheros, Inc.
-@@ -332,3 +333,4 @@ int fils_decrypt_assoc_resp(struct ieee8
+@@ -332,3 +333,4 @@ int fils_decrypt_assoc_resp(struct ieee80211_sub_if_data *sdata,
        *frame_len -= AES_BLOCK_SIZE;
        return 0;
  }
  #endif /* FILS_AEAD_H */
 --- a/net/mac80211/main.c
 +++ b/net/mac80211/main.c
-@@ -553,7 +553,9 @@ struct ieee80211_hw *ieee80211_alloc_hw_
+@@ -553,7 +553,9 @@ struct ieee80211_hw *ieee80211_alloc_hw_nm(size_t priv_data_len,
                           NL80211_FEATURE_MAC_ON_CREATE |
                           NL80211_FEATURE_USERSPACE_MPM |
                           NL80211_FEATURE_FULL_AP_CLIENT_STATE;
 +#if LINUX_VERSION_IS_GEQ(4,3,0)
        wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_FILS_STA);
 +#endif
+       wiphy_ext_feature_set(wiphy,
+                             NL80211_EXT_FEATURE_CONTROL_PORT_OVER_NL80211);
  
-       if (!ops->hw_scan)
-               wiphy->features |= NL80211_FEATURE_LOW_PRIORITY_SCAN |