]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
mac80211: Claim Fast Initial Link Setup (FILS) STA support
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 26 Oct 2016 21:42:06 +0000 (00:42 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 27 Oct 2016 14:03:26 +0000 (16:03 +0200)
With the previous commits, initial FILS authentication/association
support is now functional in mac80211-based drivers for station role
(and FILS AP case is covered by user space in hostapd withotu requiring
mac80211 changes).

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/main.c

index 0d9163c16dda3391b3dc118a5588dade3a877c5b..1822c77f2b1c3125ec1bc63fa6b7de085a26bbed 100644 (file)
@@ -549,6 +549,7 @@ 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;
+       wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_FILS_STA);
 
        if (!ops->hw_scan)
                wiphy->features |= NL80211_FEATURE_LOW_PRIORITY_SCAN |