[PATCH 47/71] drivers: Add nmi_addr field to hostapd_sta_add_params

Andrei Otcheretianski andrei.otcheretianski at intel.com
Wed Apr 1 15:01:56 PDT 2026


To indicate the associated peer NMI address when adding NAN data
stations on the NDI.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski at intel.com>
---
 src/drivers/driver.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/drivers/driver.h b/src/drivers/driver.h
index 7c7316ede2..0d2f175763 100644
--- a/src/drivers/driver.h
+++ b/src/drivers/driver.h
@@ -2775,6 +2775,15 @@ struct hostapd_sta_add_params {
 	s8 mld_link_id;
 	const u8 *mld_link_addr;
 	u16 eml_cap;
+
+#ifdef CONFIG_NAN
+	/*
+	 * For a station added to a NAN Data Interface (NDI) indicate the
+	 * address of the NAN Management Interface (NMI) to which this station
+	 * belongs
+	 */
+	const u8 *nmi_addr;
+#endif /* CONFIG_NAN */
 };
 
 struct mac_address {
-- 
2.53.0




More information about the Hostap mailing list