Home
last modified time | relevance | path

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

/linux-6.1.9/net/batman-adv/
Dbat_iv_ogm.c219 batadv_ogm_packet->tq = BATADV_TQ_MAX_VALUE; in batadv_iv_ogm_iface_enable()
300 new_tq = tq * (BATADV_TQ_MAX_VALUE - hop_penalty); in batadv_hop_penalty()
301 new_tq /= BATADV_TQ_MAX_VALUE; in batadv_hop_penalty()
1074 unsigned int tq_iface_hop_penalty = BATADV_TQ_MAX_VALUE; in batadv_iv_ogm_calc_tq()
1141 tq_own = (BATADV_TQ_MAX_VALUE * total_count) / neigh_rq_count; in batadv_iv_ogm_calc_tq()
1153 inv_asym_penalty = BATADV_TQ_MAX_VALUE * neigh_rq_inv_cube; in batadv_iv_ogm_calc_tq()
1155 tq_asym_penalty = BATADV_TQ_MAX_VALUE - inv_asym_penalty; in batadv_iv_ogm_calc_tq()
1171 combined_tq /= BATADV_TQ_MAX_VALUE * in batadv_iv_ogm_calc_tq()
1172 BATADV_TQ_MAX_VALUE * in batadv_iv_ogm_calc_tq()
1173 BATADV_TQ_MAX_VALUE; in batadv_iv_ogm_calc_tq()
Dmain.h21 #define BATADV_TQ_MAX_VALUE 255 macro
Dgateway_client.c716 curr_tq_avg = BATADV_TQ_MAX_VALUE; in batadv_gw_out_of_range()
Dnetwork-coding.c1012 u8 rand_tq = prandom_u32_max(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()
Dbat_v_ogm.c481 int hop_penalty_max = BATADV_TQ_MAX_VALUE; in batadv_v_forward_penalty()
Dnetlink.c558 sel_class_max = BATADV_TQ_MAX_VALUE; in batadv_netlink_set_mesh()