Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/batman-adv/
Dbat_iv_ogm.c220 batadv_ogm_packet->tq = BATADV_TQ_MAX_VALUE; in batadv_iv_ogm_iface_enable()
301 new_tq = tq * (BATADV_TQ_MAX_VALUE - hop_penalty); in batadv_hop_penalty()
302 new_tq /= BATADV_TQ_MAX_VALUE; in batadv_hop_penalty()
1081 unsigned int tq_iface_hop_penalty = BATADV_TQ_MAX_VALUE; in batadv_iv_ogm_calc_tq()
1148 tq_own = (BATADV_TQ_MAX_VALUE * total_count) / neigh_rq_count; in batadv_iv_ogm_calc_tq()
1160 inv_asym_penalty = BATADV_TQ_MAX_VALUE * neigh_rq_inv_cube; in batadv_iv_ogm_calc_tq()
1162 tq_asym_penalty = BATADV_TQ_MAX_VALUE - inv_asym_penalty; in batadv_iv_ogm_calc_tq()
1178 combined_tq /= BATADV_TQ_MAX_VALUE * in batadv_iv_ogm_calc_tq()
1179 BATADV_TQ_MAX_VALUE * in batadv_iv_ogm_calc_tq()
1180 BATADV_TQ_MAX_VALUE; in batadv_iv_ogm_calc_tq()
Dmain.h21 #define BATADV_TQ_MAX_VALUE 255 macro
Dsysfs.c609 length = __batadv_store_uint_attr(buff, count, 1, BATADV_TQ_MAX_VALUE, in batadv_store_gw_sel_class()
740 BATADV_ATTR_SIF_UINT(hop_penalty, hop_penalty, 0644, 0, BATADV_TQ_MAX_VALUE,
Dgateway_client.c775 curr_tq_avg = BATADV_TQ_MAX_VALUE; in batadv_gw_out_of_range()
Dnetwork-coding.c1015 u8 rand_tq = prandom_u32_max(BATADV_TQ_MAX_VALUE + 1 - tq); in batadv_nc_random_weight_tq()
1018 return BATADV_TQ_MAX_VALUE - rand_tq; in batadv_nc_random_weight_tq()
Dbat_v_ogm.c480 int hop_penalty_max = BATADV_TQ_MAX_VALUE; in batadv_v_forward_penalty()
Dnetlink.c559 sel_class_max = BATADV_TQ_MAX_VALUE; in batadv_netlink_set_mesh()