From: Ilan Peer Date: Wed, 13 Dec 2023 14:04:09 +0000 (+0200) Subject: AP: MLD: Extend BSS transition management request for link removal X-Git-Tag: hostap_2_11~652 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec70d14f7c24f0fc88622e5f61b1247f53c03d55;p=thirdparty%2Fhostap.git 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 --- 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=");