Home
last modified time | relevance | path

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

/linux-6.12.1/net/batman-adv/
Dbat_iv_ogm.c218 batadv_ogm_packet->tq = BATADV_TQ_MAX_VALUE; in batadv_iv_ogm_iface_enable()
299 new_tq = tq * (BATADV_TQ_MAX_VALUE - hop_penalty); in batadv_hop_penalty()
300 new_tq /= BATADV_TQ_MAX_VALUE; in batadv_hop_penalty()
1073 unsigned int tq_iface_hop_penalty = BATADV_TQ_MAX_VALUE; in batadv_iv_ogm_calc_tq()
1140 tq_own = (BATADV_TQ_MAX_VALUE * total_count) / neigh_rq_count; in batadv_iv_ogm_calc_tq()
1152 inv_asym_penalty = BATADV_TQ_MAX_VALUE * neigh_rq_inv_cube; in batadv_iv_ogm_calc_tq()
1154 tq_asym_penalty = BATADV_TQ_MAX_VALUE - inv_asym_penalty; in batadv_iv_ogm_calc_tq()
1170 combined_tq /= BATADV_TQ_MAX_VALUE * in batadv_iv_ogm_calc_tq()
1171 BATADV_TQ_MAX_VALUE * in batadv_iv_ogm_calc_tq()
1172 BATADV_TQ_MAX_VALUE; in batadv_iv_ogm_calc_tq()
[all …]
Dmain.h21 #define BATADV_TQ_MAX_VALUE 255 macro
Dnetwork-coding.c1012 u8 rand_tq = get_random_u32_below(BATADV_TQ_MAX_VALUE + 1 - tq); in batadv_nc_random_weight_tq()
1015 return BATADV_TQ_MAX_VALUE - rand_tq; in batadv_nc_random_weight_tq()
Dgateway_client.c716 curr_tq_avg = BATADV_TQ_MAX_VALUE; in batadv_gw_out_of_range()
Dbat_v_ogm.c482 int hop_penalty_max = BATADV_TQ_MAX_VALUE; in batadv_v_forward_penalty()