Searched refs:tmp_gw_factor (Results 1 – 1 of 1) sorted by relevance
2254 u64 tmp_gw_factor = 0; in batadv_iv_gw_get_best_gw_node() local2278 tmp_gw_factor = tq_avg * tq_avg; in batadv_iv_gw_get_best_gw_node()2279 tmp_gw_factor *= gw_node->bandwidth_down; in batadv_iv_gw_get_best_gw_node()2280 tmp_gw_factor *= 100 * 100; in batadv_iv_gw_get_best_gw_node()2281 tmp_gw_factor >>= 18; in batadv_iv_gw_get_best_gw_node()2283 if (tmp_gw_factor > max_gw_factor || in batadv_iv_gw_get_best_gw_node()2284 (tmp_gw_factor == max_gw_factor && in batadv_iv_gw_get_best_gw_node()2310 if (tmp_gw_factor > max_gw_factor) in batadv_iv_gw_get_best_gw_node()2311 max_gw_factor = tmp_gw_factor; in batadv_iv_gw_get_best_gw_node()