]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
MLD STA: Indicate MLO support in NL80211_CMD_CONNECT
authorVeerendranath Jakkam <quic_vjakkam@quicinc.com>
Wed, 19 Oct 2022 14:14:08 +0000 (19:44 +0530)
committerJouni Malinen <j@w1.fi>
Wed, 15 Feb 2023 21:50:03 +0000 (23:50 +0200)
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>
src/drivers/driver_nl80211.c

index 3f6c05c094850ced09d7bf848d37a95766a27353..24d25922ab9997fc5c7e5bcc23b9e07741f43afd 100644 (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;
 }