mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
treewide: improve beacon request handling
Updated approach to sending BEACON REQUEST. Each AP asks every 802.11k enabled client for the BEACON REPORT of a single other AP in the network at N second intervals, where N is the refresh period / num-APs. N seconds later the request is sent for the next AP. [cleanup commit message] Signed-off-by: Nick Hainke <vincent@systemli.org>
This commit is contained in:
parent
359dd085aa
commit
92eac61d30
6 changed files with 93 additions and 45 deletions
|
|
@ -269,7 +269,7 @@ struct probe_metric_s uci_get_dawn_metric() {
|
|||
// 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]
|
||||
.duration = 600,
|
||||
.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 |
|
||||
WLAN_RRM_CAPS_BEACON_REPORT_ACTIVE |
|
||||
|
|
@ -551,7 +551,7 @@ int uci_set_network(char* uci_cmd)
|
|||
{
|
||||
ret = uci_lookup_ptr(ctx, &ptr, uci_cmd, 1);
|
||||
}
|
||||
|
||||
|
||||
if (ret == UCI_OK)
|
||||
{
|
||||
// Magic code to add unnamed section like 'config times' exactly once - no idea if this is quite right
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue