Home
last modified time | relevance | path

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

/net/batman-adv/
Dbat_iv_ogm.c2412 u64 tmp_gw_factor = 0; in batadv_iv_gw_get_best_gw_node() local
2436 tmp_gw_factor = tq_avg * tq_avg; in batadv_iv_gw_get_best_gw_node()
2437 tmp_gw_factor *= gw_node->bandwidth_down; in batadv_iv_gw_get_best_gw_node()
2438 tmp_gw_factor *= 100 * 100; in batadv_iv_gw_get_best_gw_node()
2439 tmp_gw_factor >>= 18; in batadv_iv_gw_get_best_gw_node()
2441 if (tmp_gw_factor > max_gw_factor || in batadv_iv_gw_get_best_gw_node()
2442 (tmp_gw_factor == max_gw_factor && in batadv_iv_gw_get_best_gw_node()
2470 if (tmp_gw_factor > max_gw_factor) in batadv_iv_gw_get_best_gw_node()
2471 max_gw_factor = tmp_gw_factor; in batadv_iv_gw_get_best_gw_node()