measurement: add handling of measurements
authorDavid Bauer <mail@david-bauer.net>
Fri, 21 Jan 2022 20:27:39 +0000 (21:27 +0100)
committerDavid Bauer <mail@david-bauer.net>
Thu, 3 Feb 2022 21:50:13 +0000 (22:50 +0100)
commitb0dab9088798419de7e10fa9c4e4fa0504a49bc9
treeb472cbf777c88c31cf69f42cbff78705866ceaac
parent76ccae62df64ad2cb01690e64178a7db4e63c434
measurement: add handling of measurements

Add logic for saving measurement-reports from STAs.

This commit does not yet save the measurement-reports received from
clients but adds the necessary code to do so. Currently the codes can
only handle beacon-reports, but link measurements can be added to it in
the future.

It also adds the new config-key measurement_report_timeout which
controls how long measurements are saved upon they are received by a
STA.

Signed-off-by: David Bauer <mail@david-bauer.net>
CMakeLists.txt
local_node.c
main.c
measurement.c [new file with mode: 0644]
openwrt/usteer/files/etc/config/usteer
openwrt/usteer/files/etc/init.d/usteer
remote.c
sta.c
ubus.c
usteer.h