Allow driver's SME to enable MLO(Multi-Link Operation) connection when open mode selected for the connection. Signed-off-by: Veerendranath Jakkam <quic_vjakkam@xxxxxxxxxxx> --- src/drivers/driver_nl80211.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 8dca7fe4b..40dc88e57 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -6462,6 +6462,17 @@ static int nl80211_connect_common(struct wpa_driver_nl80211_data *drv, nla_put_flag(msg, NL80211_ATTR_EXTERNAL_AUTH_SUPPORT)) return -1; + /* + * Indicate driver's SME to enable MLO connection only for non-WPA open + * connections. + */ + if ((!(drv->capa.flags & WPA_DRIVER_FLAGS_SME)) && + params->key_mgmt_suite == WPA_KEY_MGMT_NONE && + params->pairwise_suite == WPA_CIPHER_NONE && + params->group_suite == WPA_CIPHER_NONE && + nla_put_flag(msg, NL80211_ATTR_MLO_SUPPORT)) + return -1; + return 0; } -- 2.25.1 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap