[PATCH v2 17/17] MLD STA: Indicate supplicant MLO support to driver's SME

Veerendranath Jakkam quic_vjakkam at quicinc.com
Sat Oct 1 01:21:29 PDT 2022


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 at quicinc.com>
---
 src/drivers/driver_nl80211.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index 329c6ca..77c2c93 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -6531,6 +6531,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;
 }
 
-- 
2.7.4




More information about the Hostap mailing list