From ec70d14f7c24f0fc88622e5f61b1247f53c03d55 Mon Sep 17 00:00:00 2001 From: Ilan Peer Date: Wed, 13 Dec 2023 16:04:09 +0200 Subject: [PATCH] AP: MLD: Extend BSS transition management request for link removal Allow link removal imminent indication to be added with the new link_removal_imminent=1 parameter to BSS_TM_REQ. Signed-off-by: Ilan Peer --- 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 3c4c4b1f7..32a5b8ecd 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=");