we also faced this, while doing roaming.
i workaround is to have something like:
#!/bin/sh
iw event | while read -r LINE; do
case "$LINE" in
*': del station '*|*': new station '*)
# wlan0-1: del station 00:21:6a:32:7c:1c
# wlan0: new station dc:9f:db:02:b8:ee
...your own logic here...
;;
esac
done
what we do e.g. is if a station connects for the
first time and signal is below -70, we just kick.
#!/bin/sh
dev='wlan0-1'
mac=...
ubus call hostapd.$dev del_client '{ "addr" : "$mac", "reason" : "assoc
toomany", "ban_time" : 1 }'
if the same mac connects during a specific time again,
we dont kick 8-) - really, it's just a workaround.
bye ,bastian
评论