datastorage/test: improve scalability and performance

datastorage: convert to linked lists and optimise use of pointers
datastorage: AP, client, probe, auth entry and MAC list converted to
             linked list
datastorage: functions adjusted to take pointers as parameters
datastorage: optimised sort and search functions added
mac_utils: struct dawn_mac added and comparisons adjusted
general: adjust code to  call new datastorage functions
test_storage: large scale 100 AP, 3000 client, 70k probe added

[fix commit]
Signed-off-by: Nick Hainke <vincent@systemli.org>
This commit is contained in:
Ian Clowes 2020-08-03 18:49:35 +02:00 committed by Polynomialdivision
parent 2f585043c3
commit 7262cf02d0
20 changed files with 77420 additions and 1437 deletions

View file

@ -1,5 +1,15 @@
dawn default
dawn min_kick_count=2
ap bssid=11:22:33:44:55:66
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
client bssid=11:22:33:44:55:66 client=ff:ee:dd:cc:bb:aa
ap_show
client_show
kick 11:22:33:44:55:66 0
probe bssid=11:22:33:44:55:66 client=ff:ee:dd:cc:bb:aa signal=-60
probe bssid=22:33:44:55:66:77 client=ff:ee:dd:cc:bb:aa signal=-70
kick 11:22:33:44:55:66 0
kick 11:22:33:44:55:66 0
probe bssid=11:22:33:44:55:66 client=ff:ee:dd:cc:bb:aa signal=-85
kick 11:22:33:44:55:66 0
kick 11:22:33:44:55:66 0