Searched refs:BATADV_TQ_MAX_VALUE (Results 1 – 6 of 6) sorted by relevance
386 batadv_ogm_packet->tq = BATADV_TQ_MAX_VALUE; in batadv_iv_ogm_iface_enable()443 new_tq = tq * (BATADV_TQ_MAX_VALUE - hop_penalty); in batadv_hop_penalty()444 new_tq /= BATADV_TQ_MAX_VALUE; in batadv_hop_penalty()1253 tq_own = (BATADV_TQ_MAX_VALUE * total_count) / neigh_rq_count; in batadv_iv_ogm_calc_tq()1265 inv_asym_penalty = BATADV_TQ_MAX_VALUE * neigh_rq_inv_cube; in batadv_iv_ogm_calc_tq()1267 tq_asym_penalty = BATADV_TQ_MAX_VALUE - inv_asym_penalty; in batadv_iv_ogm_calc_tq()1273 tq_iface_penalty = BATADV_TQ_MAX_VALUE; in batadv_iv_ogm_calc_tq()1276 tq_iface_penalty = batadv_hop_penalty(BATADV_TQ_MAX_VALUE, in batadv_iv_ogm_calc_tq()1283 combined_tq /= BATADV_TQ_MAX_VALUE * in batadv_iv_ogm_calc_tq()1284 BATADV_TQ_MAX_VALUE * in batadv_iv_ogm_calc_tq()[all …]
32 #define BATADV_TQ_MAX_VALUE 255 macro
1017 rand_tq = rand_val * (BATADV_TQ_MAX_VALUE - tq); in batadv_nc_random_weight_tq()1020 rand_tq /= BATADV_TQ_MAX_VALUE; in batadv_nc_random_weight_tq()1023 return BATADV_TQ_MAX_VALUE - rand_tq; in batadv_nc_random_weight_tq()
570 return __batadv_store_uint_attr(buff, count, 1, BATADV_TQ_MAX_VALUE, in batadv_store_gw_sel_class()686 BATADV_TQ_MAX_VALUE, NULL);
732 curr_tq_avg = BATADV_TQ_MAX_VALUE; in batadv_gw_out_of_range()
272 int hop_penalty_max = BATADV_TQ_MAX_VALUE; in batadv_v_forward_penalty()