Commit graph

20 commits

Author SHA1 Message Date
Ian Clowes
815c3457d5 Trying to tidy up old work areas 2021-12-11 23:49:53 +00:00
Ian Clowes
90371d4b1b datastorage: fixes to linked list handling
general: fixed whitespace and typos
memory audit: on by default in build
memory audit: enhanced audit info
ubus: refactor denied_req expiry to assist datastorage testing
datastorage: fixed performance bug in handling of linked list entry expiry
datastorage: fixed SEGV in skip list handling
test_storage: added linked list memory allocation stress tests
2020-08-05 11:04:30 +01:00
Ian Clowes
88e5d6050a bug fixes to memory auditing and hearing map
memory auditing: refined auditing code and use in main code
hearing map: fixed bug causing it not be be built correctly
datastorage: fixed memory leak from linked list handling
2020-08-03 19:02:07 +01:00
Ian-Clowes
2b98cd2368 general: add memory auditing
memory_utils: added to wrap memory alloc / free
general: adjusted stabdard and other memory allocs t be audited
2020-08-03 04:01:58 +01:00
Ian-Clowes
be6f9df95c datastorage: fixed use of wrong client search 2020-08-02 15:15:36 +01:00
Ian-Clowes
36fe9998da 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
2020-08-02 12:19:33 +01: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
d64fbf0e46 parent 0f63e00c43
author Ian Clowes <clowes_ian@hotmail.com> 1590603904 +0100
committer Ian Clowes <clowes_ian@hotmail.com> 1594246123 +0100

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
2020-07-10 23:19:13 +01: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