[PATCH 5/8] AP: MLD: Extend BSS transition management request

Andrei Otcheretianski andrei.otcheretianski at intel.com
Wed Dec 13 06:04:09 PST 2023


From: Ilan Peer <ilan.peer at intel.com>

To also support link removal imminent indication

Signed-off-by: Ilan Peer <ilan.peer at intel.com>
---
 src/ap/ctrl_iface_ap.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/ap/ctrl_iface_ap.c b/src/ap/ctrl_iface_ap.c
index 3c4c4b1f7b..32a5b8ecdd 100644
--- a/src/ap/ctrl_iface_ap.c
+++ b/src/ap/ctrl_iface_ap.c
@@ -1315,6 +1315,8 @@ int hostapd_ctrl_iface_bss_tm_req(struct hostapd_data *hapd,
 		req_mode |= WNM_BSS_TM_REQ_ABRIDGED;
 	if (os_strstr(cmd, " disassoc_imminent=1"))
 		req_mode |= WNM_BSS_TM_REQ_DISASSOC_IMMINENT;
+	if (os_strstr(cmd, " link_removal_imminent=1"))
+		req_mode |= WNM_BSS_TM_REQ_LINK_REMOVAL_IMMINENT;
 
 #ifdef CONFIG_MBO
 	pos = os_strstr(cmd, "mbo=");
-- 
2.38.1




More information about the Hostap mailing list