Home
last modified time | relevance | path

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

/openbmc/linux/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, 1); in hwmp_route_info_get()
H A Dmesh_pathtbl.c1053 ewma_mesh_fail_avg_init(&next_hop->mesh->fail_avg); in mesh_path_fix_nexthop()
1055 ewma_mesh_fail_avg_add(&next_hop->mesh->fail_avg, 1); in mesh_path_fix_nexthop()
H A Dsta_info.h422 struct ewma_mesh_fail_avg fail_avg; member