mirror of
https://github.com/openwrt/openwrt.git
synced 2026-11-27 21:11:14 +04:00
del_client with deauth gives an associated station a Disassociation first and the Deauthentication 2 s later. A caller that needs the Deauthentication frame at once, as the DEAUTHENTICATE control command sends it, cannot ask for it. Add deauth_now: with deauth, it sends the Deauthentication at once from the BSS that holds the station, also to an associated one. It replaces a Deauthentication that an earlier call still holds back for the address. An older hostapd ignores the attribute. The replaced Deauthentication keeps the mark that holds the station in the driver, since the Disassociation callback of the earlier call can still run while the new frame waits in the driver. Signed-off-by: Felix Fietkau <nbd@nbd.name>