MLD STA: Indicate MLO support in NL80211_CMD_CONNECT

Send NL80211_ATTR_MLO_SUPPORT flag in NL80211_CMD_CONNECT to indicate
wpa_supplicant has support to handle MLO connection for SME-in-driver
case.

Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
This commit is contained in:
Veerendranath Jakkam 2022-10-19 19:44:08 +05:30 committed by Jouni Malinen
parent c91852044d
commit edfcb2f1a9

View file

@ -6673,6 +6673,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;
}