[PATCH 03/50] driver: Add MLD link id to AP parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



To be used in later patches, e.g., for link tracking etc.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@xxxxxxxxx>
Signed-off-by: Ilan Peer <ilan.peer@xxxxxxxxx>
---
 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


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux