Home
last modified time | relevance | path

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

/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()
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, 1); in hwmp_route_info_get()
Dmesh_pathtbl.c753 ewma_mesh_fail_avg_init(&next_hop->mesh->fail_avg); in mesh_path_fix_nexthop()
755 ewma_mesh_fail_avg_add(&next_hop->mesh->fail_avg, 1); in mesh_path_fix_nexthop()
Dsta_info.h408 struct ewma_mesh_fail_avg fail_avg; member