Commit graph

12 commits

Author SHA1 Message Date
Ian-Clowes
d56c5c4e15 general: add memory auditing
memory_utils: added to wrap memory alloc / free
general: adjusted stabdard and other memory allocs t be audited
2020-08-05 12:28:49 +02:00
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
Polynomialdivision
b7fd0e648a dawn_iwinfo: fix whitespace 2020-05-18 22:36:20 +02:00
twy_2000
273178e05c dawn_iwinfo: indentation 2020-05-18 22:35:00 +02:00
twy_2000
3ff15b9894 dawn_iwinfo:iwinfo_finish(); 2020-05-18 22:34:45 +02:00
twy_2000
42c4e6e0b0 dawn_iwinfo: filter out global interface 2020-05-18 22:34:27 +02:00
twy_2000
b78a01bfb5 dawn_iwinfo: release iwinfo after usage 2020-05-10 10:22:18 +02:00
Polynomialdivision
c7fc2f9c96 print iwinfo debug not to stderr 2020-04-16 15:41:46 +02:00
Polynomialdivision
5709b96a4d dawn: fix typos 2020-04-10 10:26:54 +02:00
Polynomialdivision
a25bb91f37 dawn: change __unit8_t to uint8_t
Fixed #11689.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-03-29 10:57:45 +02:00
Polynomialdivision
f03f55ff92 first version 2020-03-23 21:22:21 +01:00