]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
AP: MLD: Extend BSS transition management request for link removal
authorIlan Peer <ilan.peer@intel.com>
Wed, 13 Dec 2023 14:04:09 +0000 (16:04 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 16 Dec 2023 17:46:41 +0000 (19:46 +0200)
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 <ilan.peer@intel.com>
src/ap/ctrl_iface_ap.c

index 3c4c4b1f7b61e3d409de7cdc563778f0d387e2c2..32a5b8ecdd848ef7b297e51e8a956fb7f22ffeaf 100644 (file)
@@ -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=");