cfg80211: minor updates for WPA3 OWE support
cover cfg80211: minor updates for WPA3 OWE support
Hello Johannes and all,
This patch series suggests a couple of minor changes related to WPA3 OWE. One patch adds definition for OWE AKM suite. Another patch adds missing validation policy for NL80211_ATTR_STATUS_CODE.
Validation policy patch fixes hostapd OWE offload for SME-enabled drivers.
Regards,
Sergey
Sergey Matyukevich (2):
cfg80211: add missing policy for NL80211_ATTR_STATUS_CODE
ieee80211: add WPA3 OWE AKM suite selector
include/linux/ieee80211.h | 1 + net/wireless/nl80211.c | 1 + 2 files changed, 2 insertions(+)
Signature · 1 line
2.11.0
PATCH 1/2 cfg80211: add missing policy for NL80211_ATTR_STATUS_CODE
The nl80211_policy is missing for NL80211_ATTR_STATUS_CODE attribute. As a result, for strictly validated commands, it's assumed to not be supported.
--- net/wireless/nl80211.c | 1 + 1 file changed, 1 insertion(+)
net/wireless/nl80211.c +1 -0
@@ -444,6 +444,7 @@ const struct nla_policy nl80211_policy[NUM_NL80211_ATTR] = { [NL80211_ATTR_CONTROL_PORT_NO_ENCRYPT] = { .type = NLA_FLAG }, [NL80211_ATTR_CONTROL_PORT_OVER_NL80211] = { .type = NLA_FLAG }, [NL80211_ATTR_PRIVACY] = { .type = NLA_FLAG }, + [NL80211_ATTR_STATUS_CODE] = { .type = NLA_U16 }, [NL80211_ATTR_CIPHER_SUITE_GROUP] = { .type = NLA_U32 }, [NL80211_ATTR_WPA_VERSIONS] = { .type = NLA_U32 }, [NL80211_ATTR_PID] = { .type = NLA_U32 },
Signature · 1 line
2.11.0
PATCH 2/2 ieee80211: add WPA3 OWE AKM suite selector
In reply to Sergey MatyukevichAdd the definition for Opportunistic Wireless Encryption AKM selector.
--- include/linux/ieee80211.h | 1 + 1 file changed, 1 insertion(+)
include/linux/ieee80211.h +1 -0
@@ -3044,6 +3044,7 @@ struct ieee80211_multiple_bssid_configuration {#define WLAN_AKM_SUITE_FILS_SHA384 SUITE(0x000FAC, 15)#define WLAN_AKM_SUITE_FT_FILS_SHA256 SUITE(0x000FAC, 16)#define WLAN_AKM_SUITE_FT_FILS_SHA384 SUITE(0x000FAC, 17) +#define WLAN_AKM_SUITE_OWE SUITE(0x000FAC, 18)#define WLAN_MAX_KEY_LEN 32
Signature · 1 line
2.11.0