[PATCH v3 20/21] MLD STA: Indicate supplicant MLO support to driver's SME
Veerendranath Jakkam
quic_vjakkam at quicinc.com
Wed Oct 19 07:14:08 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 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;
}
--
2.25.1
More information about the Hostap
mailing list