Home
last modified time | relevance | path

Searched refs:fail_avg (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/net/mac80211/
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()
341 if (fail_avg > LINK_FAIL_THRESH) in airtime_link_metric_get()
348 err = (fail_avg << ARITH_SHIFT) / 100; in airtime_link_metric_get()
497 ewma_mesh_fail_avg_init(&sta->mesh->fail_avg); in hwmp_route_info_get()
499 ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, 1); in hwmp_route_info_get()
543 ewma_mesh_fail_avg_init(&sta->mesh->fail_avg); in hwmp_route_info_get()
545 ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, 1); in hwmp_route_info_get()
Dmesh_pathtbl.c756 ewma_mesh_fail_avg_init(&next_hop->mesh->fail_avg); in mesh_path_fix_nexthop()
758 ewma_mesh_fail_avg_add(&next_hop->mesh->fail_avg, 1); in mesh_path_fix_nexthop()
Dsta_info.h405 struct ewma_mesh_fail_avg fail_avg; member