[PATCH v2 10/15] nl80211: Get MLO support capability
Andrei Otcheretianski
andrei.otcheretianski at intel.com
Wed Nov 30 05:09:34 PST 2022
From: Ilan Peer <ilan.peer at intel.com>
Signed-off-by: Ilan Peer <ilan.peer at intel.com>
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski at intel.com>
---
src/drivers/driver_nl80211_capa.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/drivers/driver_nl80211_capa.c b/src/drivers/driver_nl80211_capa.c
index 512bbb6de2..7cb1a1dec7 100644
--- a/src/drivers/driver_nl80211_capa.c
+++ b/src/drivers/driver_nl80211_capa.c
@@ -1113,6 +1113,9 @@ static int wiphy_info_handler(struct nl_msg *msg, void *arg)
capa->max_num_akms =
nla_get_u16(tb[NL80211_ATTR_MAX_NUM_AKM_SUITES]);
+ if (tb[NL80211_ATTR_MLO_SUPPORT])
+ capa->flags2 |= WPA_DRIVER_FLAGS2_MLO;
+
return NL_SKIP;
}
--
2.25.1
More information about the Hostap
mailing list