All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] cfg80211: minor updates for WPA3 OWE support
@ 2020-02-13 13:16 Sergey Matyukevich
  2020-02-13 13:16 ` [PATCH 1/2] cfg80211: add missing policy for NL80211_ATTR_STATUS_CODE Sergey Matyukevich
  2020-02-13 13:16 ` [PATCH 2/2] ieee80211: add WPA3 OWE AKM suite selector Sergey Matyukevich
  0 siblings, 2 replies; 3+ messages in thread
From: Sergey Matyukevich @ 2020-02-13 13:16 UTC (permalink / raw)
  To: linux-wireless; +Cc: Johannes Berg, Sergey Matyukevich

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(+)

-- 
2.11.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] cfg80211: add missing policy for NL80211_ATTR_STATUS_CODE
  2020-02-13 13:16 [PATCH 0/2] cfg80211: minor updates for WPA3 OWE support Sergey Matyukevich
@ 2020-02-13 13:16 ` Sergey Matyukevich
  2020-02-13 13:16 ` [PATCH 2/2] ieee80211: add WPA3 OWE AKM suite selector Sergey Matyukevich
  1 sibling, 0 replies; 3+ messages in thread
From: Sergey Matyukevich @ 2020-02-13 13:16 UTC (permalink / raw)
  To: linux-wireless; +Cc: Johannes Berg, Sergey Matyukevich

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.

Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
---
 net/wireless/nl80211.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index 33fe6ac1c242..6b2bac002b03 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -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 },
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] ieee80211: add WPA3 OWE AKM suite selector
  2020-02-13 13:16 [PATCH 0/2] cfg80211: minor updates for WPA3 OWE support Sergey Matyukevich
  2020-02-13 13:16 ` [PATCH 1/2] cfg80211: add missing policy for NL80211_ATTR_STATUS_CODE Sergey Matyukevich
@ 2020-02-13 13:16 ` Sergey Matyukevich
  1 sibling, 0 replies; 3+ messages in thread
From: Sergey Matyukevich @ 2020-02-13 13:16 UTC (permalink / raw)
  To: linux-wireless; +Cc: Johannes Berg, Sergey Matyukevich

Add the definition for Opportunistic Wireless Encryption AKM selector.

Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
---
 include/linux/ieee80211.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index 6f3e7c5c600a..33d907eec0b6 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -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
 
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-02-13 13:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-13 13:16 [PATCH 0/2] cfg80211: minor updates for WPA3 OWE support Sergey Matyukevich
2020-02-13 13:16 ` [PATCH 1/2] cfg80211: add missing policy for NL80211_ATTR_STATUS_CODE Sergey Matyukevich
2020-02-13 13:16 ` [PATCH 2/2] ieee80211: add WPA3 OWE AKM suite selector Sergey Matyukevich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.