Commit graph

14 commits

Author SHA1 Message Date
Ian Clowes
7262cf02d0 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>
2020-08-04 09:50:48 +02:00
Ian Clowes
67c3ed0d0a test_storage: extend test harness; datastorage: two bug fixes
datastorage (bug fix): deleting expired array item would fail to test next item
test_storage: extended to cover all required datastorage entry points
test_storage: added ability to read script file
test_storage: added new and revised test scripts
TESTING.md: added to describe testing approach
general: added various TODO notes on things to come back to
general: revised #includes to make each "self-compiling"
general: revised #includes to minimise usage across source files
general: moved declarations and defintions to simplify and rationalise code
datastorage: refactor to support scalability testing
datastorage: made independent of time() calls to support testing
datastorage: fixed redundant use of both SORT_NUM and SORT_LENGTH defines
datastorage: fake kicking to test clients move between access points
msghandler: new module to reduce compile time interdependencies
mshhandler: (issue #100?) fixed SEGV memcpy() in dump_client() using strncpy()
ubus: merged uface into ubus
mac_utils: new module for MAC address utilites
test_header: added target to help #include rationalisation

Tested-by: Nick Hainke <vincent@systemli.org>
2020-07-12 13:47:23 +02:00
Ian Clowes
292ccb01f2 test_storage: further refactoring, added test functionality, and TESTING.md to describe testing approach 2020-06-10 12:30:43 +02:00
Polynomialdivision
ffa08dbccd ubus/uci/datastorage: add iface and hostname
The network overview now displays the interface name and hostname.
2020-06-09 11:19:56 +02:00
twy_2000
5ce4c978c8 ubus/datastorage: don't repeatedly ask devices for beacon reports if they don't support it 2020-06-01 18:47:00 +02:00
Ian Clowes
50d347c233 datastorage: refactor to support scalability testing 2020-05-28 00:29:15 +02:00
Polynomialdivision
3a6ef89998 ubus: addd empty aps
It was requested that DAWN should show the whole network, even
if no client is connected to an AP.
2020-05-27 11:17:26 +02:00
twy_2000
73c7998967 ubus: make decide_function consist with configuration
in luci-app-dawn, if eval_probe_req is not ticked, eval_probe_req would be -1.
however, in c language, !(-1) is false.
Since only zero in if statement is false, non-zero number is true.
2020-05-20 15:06:47 +02:00
Polynomialdivision
2ff3b3017f remove unecessary params and debug output 2020-04-17 12:59:06 +02:00
Polynomialdivision
9c6bc1b2fe fix null mac in beacon-report 2020-04-17 12:58:21 +02:00
Polynomialdivision
a63c723e31 feed hostapd with nr reports 2020-04-17 09:46:12 +02:00
Polynomialdivision
0fbef59869 implement 802.11v/k 2020-04-16 15:39:29 +02:00
Polynomialdivision
5709b96a4d dawn: fix typos 2020-04-10 10:26:54 +02:00
Polynomialdivision
f03f55ff92 first version 2020-03-23 21:22:21 +01:00