diff mbox series

[v3,20/21] MLD STA: Indicate supplicant MLO support to driver's SME

Message ID 20221019141409.535582-21-quic_vjakkam@quicinc.com
State Changes Requested
Headers show
Series MLD STA: Add support for four-way handshake and SAE external authentication | expand

Commit Message

Veerendranath Jakkam Oct. 19, 2022, 2:14 p.m. UTC
Send NL80211_ATTR_MLO_SUPPORT flag in NL80211_CMD_CONNECT to indicate
that wpa_supplicant has support to handle MLO connection like
parsing MLO connection information from connect response, verifying MLO
KDEs validation and adding new MLO KDEs.

Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
---
 src/drivers/driver_nl80211.c | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index ad1ca3348..ea3edc9a4 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -6538,6 +6538,10 @@  static int nl80211_connect_common(struct wpa_driver_nl80211_data *drv,
 	    nla_put_flag(msg, NL80211_ATTR_EXTERNAL_AUTH_SUPPORT))
 		return -1;
 
+	if (!(drv->capa.flags & WPA_DRIVER_FLAGS_SME) &&
+	    nla_put_flag(msg, NL80211_ATTR_MLO_SUPPORT))
+		return -1;
+
 	return 0;
 }