From 47af9677b9f97cdf98a9ae03ad1712456dc193fa Mon Sep 17 00:00:00 2001 From: SirLouen Date: Wed, 29 Jul 2026 11:33:29 +0200 Subject: [PATCH] config: default duration to 150, not 0 --- CONFIGURE.md | 2 +- dawn-config | 2 +- src/utils/dawn_uci.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CONFIGURE.md b/CONFIGURE.md index 626b9b5..1fbd127 100644 --- a/CONFIGURE.md +++ b/CONFIGURE.md @@ -154,7 +154,7 @@ grep 'CONFIG-G:' `find . -type f -name "*.[ch]"`| sed 's/^.*CONFIG-.: *\(.*\)$/| |deny_assoc_reason|802.11 code used when ASSOCIATION is denied|[17] (802.11 AP_UNABLE_TO_HANDLE_NEW_STA). See Note 1.| |deny_auth_reason|802.11 code used when AUTHENTICATION is denied|[1] (802.11 UNSPECIFIED_FAILURE). See Note 1.| |disassoc_nr_length|Number of entries to include in a 802.11v DISASSOCIATE Neighbor Report|[6] (Documented for use by iOS)| -|duration|802.11k BEACON request DURATION parameter|[0]| +|duration|802.11k BEACON request measurement duration (TUs), also used as the 802.11v BSS-TM disassociation_timer and validity_period. Must not be 0 because some clients refuse a zero-length measurement, leaving DAWN with no BEACON REPORT data to steer on|[150]| |eval_assoc_req|Control whether ASSOCIATION frames are evaluated for rejection|[0 = No evaluation]; 1 = Evaluated. See Note 1.| |eval_auth_req|Control whether AUTHENTICATION frames are evaluated for rejection|[0 = No evaluation]; 1 = Evaluated. See Note 1.| |eval_probe_req|Control whether PROBE frames are evaluated for rejection|[0 = No evaluation]; 1 = Evaluated. See Note 1.| diff --git a/dawn-config b/dawn-config index d58807d..d82e74d 100644 --- a/dawn-config +++ b/dawn-config @@ -47,7 +47,7 @@ config metric 'global' option min_number_to_kick '3' option chan_util_avg_period '3' option set_hostapd_nr '0' - option duration '0' + option duration '150' option rrm_mode 'pat' config metric '802_11g' diff --git a/src/utils/dawn_uci.c b/src/utils/dawn_uci.c index d130602..23f6ce7 100644 --- a/src/utils/dawn_uci.c +++ b/src/utils/dawn_uci.c @@ -271,7 +271,7 @@ struct probe_metric_s uci_get_dawn_metric() { .bandwidth_threshold = 6, // CONFIG-G: chan_util_avg_period|Number of sampling periods to average channel utilization values over|[3] .chan_util_avg_period = 3, - // CONFIG-G: duration|802.11k BEACON request DURATION parameter|[0] + // CONFIG-G: duration|802.11k BEACON request measurement duration (TUs), also used as the 802.11v BSS-TM disassociation_timer and validity_period. Must not be 0 because some clients refuse a zero-length measurement, leaving DAWN with no BEACON REPORT data to steer on|[150] .duration = 150, // CONFIG-G: rrm_mode|Preferred order for using Passive, Active or Table 802.11k BEACON information|[PAT] String of 'P', 'A' and / or 'T' .rrm_mode_mask = WLAN_RRM_CAPS_BEACON_REPORT_PASSIVE |