[PATCH 03/50] driver: Add MLD link id to AP parameters
Andrei Otcheretianski
andrei.otcheretianski at intel.com
Wed Feb 15 15:08:17 PST 2023
To be used in later patches, e.g., for link tracking etc.
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski at intel.com>
Signed-off-by: Ilan Peer <ilan.peer at intel.com>
---
src/ap/beacon.c | 8 ++++++++
src/drivers/driver.h | 10 ++++++++++
2 files changed, 18 insertions(+)
diff --git a/src/ap/beacon.c b/src/ap/beacon.c
index dbc6b062b8..14cde4c584 100644
--- a/src/ap/beacon.c
+++ b/src/ap/beacon.c
@@ -1974,6 +1974,14 @@ int ieee802_11_build_ap_params(struct hostapd_data *hapd,
}
}
+#ifdef CONFIG_IEEE80211BE
+ if (hapd->conf->mld_ap && hapd->iconf->ieee80211be &&
+ !hapd->conf->disable_11be) {
+ params->mld_ap = true;
+ params->mld_link_id = hapd->conf->mld_link_id;
+ }
+#endif /* CONFIG_IEEE80211BE */
+
return 0;
}
diff --git a/src/drivers/driver.h b/src/drivers/driver.h
index a2bea930f9..3c5f41b087 100644
--- a/src/drivers/driver.h
+++ b/src/drivers/driver.h
@@ -1724,6 +1724,16 @@ struct wpa_driver_ap_params {
* ema - Enhanced MBSSID advertisements support.
*/
bool ema;
+
+ /**
+ * MLD AP
+ */
+ bool mld_ap;
+
+ /**
+ * Link id for MLD BSS's
+ */
+ u8 mld_link_id;
};
struct wpa_driver_mesh_bss_params {
--
2.38.1
More information about the Hostap
mailing list