[PATCH 12/12] MLD STA: Indicate MLO support for security modes to driver's SME
Veerendranath Jakkam
quic_vjakkam at quicinc.com
Wed Aug 24 22:53:11 PDT 2022
Send NL80211_ATTR_MLO_SUPPORT flag in NL80211_CMD_CONNECT for all
security modes.
Signed-off-by: Veerendranath Jakkam <quic_vjakkam at quicinc.com>
---
src/drivers/driver_nl80211.c | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index af9d53b45..f19b97d1e 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -6482,14 +6482,7 @@ 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 &&
+ if (!(drv->capa.flags & WPA_DRIVER_FLAGS_SME) &&
nla_put_flag(msg, NL80211_ATTR_MLO_SUPPORT))
return -1;
--
2.25.1
More information about the Hostap
mailing list