List all neighbors with same score when kicking

The wnm_disassoc_imminent procedure takes a list of neighbor reports to
send to the client.

Instead of picking just one AP to be sent, send all that have the same
score.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
This commit is contained in:
Eneas U de Queiroz 2021-07-12 15:20:10 -03:00 committed by Polynomdivision
parent 3ba0fa4947
commit a7a830950a
10 changed files with 211 additions and 153 deletions

View file

@ -1,7 +1,7 @@
dawn default
dawn min_kick_count=2
ap bssid=11:22:33:44:55:66 neighbors=11:22:33:44:55:66
ap bssid=22:33:44:55:66:77 neighbors=22:33:44:55:66:77
ap bssid=11:22:33:44:55:66 neighbors=112233445566
ap bssid=22:33:44:55:66:77 neighbors=223344556677
client bssid=11:22:33:44:55:66 client=ff:ee:dd:cc:bb:aa
ap_show
client_show