Home
last modified time | relevance | path

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

/net/batman-adv/
Dbat_iv_ogm.c386 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 …]
Dmain.h32 #define BATADV_TQ_MAX_VALUE 255 macro
Dnetwork-coding.c1017 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()
Dsysfs.c570 return __batadv_store_uint_attr(buff, count, 1, BATADV_TQ_MAX_VALUE, in batadv_store_gw_sel_class()
686 BATADV_TQ_MAX_VALUE, NULL);
Dgateway_client.c732 curr_tq_avg = BATADV_TQ_MAX_VALUE; in batadv_gw_out_of_range()
Dbat_v_ogm.c272 int hop_penalty_max = BATADV_TQ_MAX_VALUE; in batadv_v_forward_penalty()