How to check if Wi-Fi client is still here ? by mac (check inactivity how?))

When client moved to another AP its MAC is still here for inactivity time i guess.
i need commands that i can check within 1 secund if the client is active to curent hostapd
for my script

have you tried this ?

my clients using 11r migrate seamlessly without leaving a trace on the old AP (when checking in LuCI).

i am googling my clients using 11r migrate seamlessly without leaving a trace
cant find anything OpenWrt relaited

..... so ?

are you using 802.11r ?

yes kv as well

if they move between APs, where do you see them still listed on the old AP?
somewhere in cli, I guess ?

ubus call hostapd.$wlan get_clients
MACs are still there for at least 100 seconds
there is a parametr max inactivity timer
so i need those commands so i can determinate inctiviti earlier within 1-2 secunds

In the LuCi web UI, it's under "Advanced Settings" for each defined SSID.

Via command line

uci set wireless.wifinet1.max_inactivity 300

Obviously you can set your own value there, but making it too aggressive could give you problems.

for now i just use ubus call hostapd.wlan0 get_clients and see if the MAC has a signal , works good but not all the cases