Home
last modified time | relevance | path

Searched refs:fail_avg (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/net/mac80211/
H A Dmesh_hwmp.c308 ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, failed * 100); in ieee80211s_update_metric()
309 if (ewma_mesh_fail_avg_read(&sta->mesh->fail_avg) > in ieee80211s_update_metric()
328 unsigned long fail_avg = in airtime_link_metric_get() local
329 ewma_mesh_fail_avg_read(&sta->mesh->fail_avg); in airtime_link_metric_get()
344 if (fail_avg > LINK_FAIL_THRESH) in airtime_link_metric_get()
351 err = (fail_avg << ARITH_SHIFT) / 100; in airtime_link_metric_get()
500 ewma_mesh_fail_avg_init(&sta->mesh->fail_avg); in hwmp_route_info_get()
502 ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, 1); in hwmp_route_info_get()
546 ewma_mesh_fail_avg_init(&sta->mesh->fail_avg); in hwmp_route_info_get()
548 ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, in hwmp_route_info_get()
[all...]
H A Dmesh_pathtbl.c764 ewma_mesh_fail_avg_init(&next_hop->mesh->fail_avg); in mesh_path_fix_nexthop()
766 ewma_mesh_fail_avg_add(&next_hop->mesh->fail_avg, 1); in mesh_path_fix_nexthop()
H A Dsta_info.h388 * @fail_avg: moving percentage of failed MSDUs
418 struct ewma_mesh_fail_avg fail_avg; member
/kernel/linux/linux-6.6/net/mac80211/
H A Dmesh_hwmp.c308 ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, failed * 100); in ieee80211s_update_metric()
309 if (ewma_mesh_fail_avg_read(&sta->mesh->fail_avg) > in ieee80211s_update_metric()
333 unsigned long fail_avg = in airtime_link_metric_get() local
334 ewma_mesh_fail_avg_read(&sta->mesh->fail_avg); in airtime_link_metric_get()
349 if (fail_avg > LINK_FAIL_THRESH) in airtime_link_metric_get()
356 err = (fail_avg << ARITH_SHIFT) / 100; in airtime_link_metric_get()
510 ewma_mesh_fail_avg_init(&sta->mesh->fail_avg); in hwmp_route_info_get()
512 ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, 1); in hwmp_route_info_get()
560 ewma_mesh_fail_avg_init(&sta->mesh->fail_avg); in hwmp_route_info_get()
562 ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, in hwmp_route_info_get()
[all...]
H A Dsta_info.h392 * @fail_avg: moving percentage of failed MSDUs
422 struct ewma_mesh_fail_avg fail_avg; member
H A Dmesh_pathtbl.c1031 ewma_mesh_fail_avg_init(&next_hop->mesh->fail_avg); in mesh_path_fix_nexthop()
1033 ewma_mesh_fail_avg_add(&next_hop->mesh->fail_avg, 1); in mesh_path_fix_nexthop()

Completed in 9 milliseconds