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>
This commit is contained in:
David Bauer
2022-01-21 21:27:39 +01:00
parent 76ccae62df
commit b0dab90887
10 changed files with 158 additions and 1 deletions

View File

@@ -26,6 +26,9 @@ config usteer
# Maximum amount of time (ms) a local unconnected station is tracked
#option local_sta_timeout 120000
# Maximum amount of time (ms) a measurement report is stored
#option measurement_report_timeout 120000
# Local station information update interval (ms)
#option local_sta_update 1000

View File

@@ -76,6 +76,7 @@ uci_usteer() {
debug_level \
sta_block_timeout local_sta_timeout local_sta_update \
max_neighbor_reports max_retry_band seen_policy_timeout \
measurement_report_timeout \
load_balancing_threshold band_steering_threshold \
remote_update_interval remote_node_timeout\
min_connect_snr min_snr min_snr_kick_delay signal_diff_threshold \