Searched refs:tq_avg (Results 1 – 4 of 4) sorted by relevance
139 uint8_t tq_avg; in batadv_gw_get_best_gw_node() local163 tq_avg = router_ifinfo->bat_iv.tq_avg; in batadv_gw_get_best_gw_node()167 tmp_gw_factor = tq_avg * tq_avg; in batadv_gw_get_best_gw_node()174 (tq_avg > max_tq))) { in batadv_gw_get_best_gw_node()189 if (tq_avg > max_tq) { in batadv_gw_get_best_gw_node()198 if (tq_avg > max_tq) in batadv_gw_get_best_gw_node()199 max_tq = tq_avg; in batadv_gw_get_best_gw_node()299 router_ifinfo->bat_iv.tq_avg); in batadv_gw_election()310 router_ifinfo->bat_iv.tq_avg); in batadv_gw_election()363 gw_tq_avg = router_gw_tq->bat_iv.tq_avg; in batadv_gw_check_election()[all …]
986 uint8_t tq_avg; in batadv_iv_ogm_orig_update() local1016 tq_avg = batadv_ring_buffer_avg(neigh_ifinfo->bat_iv.tq_recv); in batadv_iv_ogm_orig_update()1017 neigh_ifinfo->bat_iv.tq_avg = tq_avg; in batadv_iv_ogm_orig_update()1053 tq_avg = batadv_ring_buffer_avg(neigh_ifinfo->bat_iv.tq_recv); in batadv_iv_ogm_orig_update()1054 neigh_ifinfo->bat_iv.tq_avg = tq_avg; in batadv_iv_ogm_orig_update()1077 if (router_ifinfo->bat_iv.tq_avg > neigh_ifinfo->bat_iv.tq_avg) in batadv_iv_ogm_orig_update()1085 (neigh_ifinfo->bat_iv.tq_avg == router_ifinfo->bat_iv.tq_avg)) { in batadv_iv_ogm_orig_update()1430 if ((router_ifinfo && router_ifinfo->bat_iv.tq_avg != 0) && in batadv_iv_ogm_process_per_outif()1785 n_ifinfo->bat_iv.tq_avg); in batadv_iv_ogm_orig_print_neigh()1830 if (n_ifinfo->bat_iv.tq_avg == 0) in batadv_iv_ogm_orig_print()[all …]
365 uint8_t tq_avg; member
1060 tq_tmp = router_neigh_ifinfo->bat_iv.tq_avg; in batadv_nc_code_packets()1062 tq_tmp = router_coding_ifinfo->bat_iv.tq_avg; in batadv_nc_code_packets()