Searched refs:fail_avg (Results 1 – 3 of 3) sorted by relevance
309 ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, failed * 100); in ieee80211s_update_metric()310 if (ewma_mesh_fail_avg_read(&sta->mesh->fail_avg) > in ieee80211s_update_metric()326 unsigned long fail_avg = in airtime_link_metric_get() local327 ewma_mesh_fail_avg_read(&sta->mesh->fail_avg); in airtime_link_metric_get()339 if (fail_avg > LINK_FAIL_THRESH) in airtime_link_metric_get()347 err = (fail_avg << ARITH_SHIFT) / 100; in airtime_link_metric_get()487 ewma_mesh_fail_avg_init(&sta->mesh->fail_avg); in hwmp_route_info_get()489 ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, 1); in hwmp_route_info_get()528 ewma_mesh_fail_avg_init(&sta->mesh->fail_avg); in hwmp_route_info_get()530 ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, 1); in hwmp_route_info_get()
818 ewma_mesh_fail_avg_init(&next_hop->mesh->fail_avg); in mesh_path_fix_nexthop()820 ewma_mesh_fail_avg_add(&next_hop->mesh->fail_avg, 1); in mesh_path_fix_nexthop()
394 struct ewma_mesh_fail_avg fail_avg; member