Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/batman-adv/
H A Dbat_v_ogm.c480 int hop_penalty_max = BATADV_TQ_MAX_VALUE; in batadv_v_forward_penalty() local
483 throughput = throughput * (hop_penalty_max - if_hop_penalty) / in batadv_v_forward_penalty()
484 hop_penalty_max; in batadv_v_forward_penalty()
500 return throughput * (hop_penalty_max - hop_penalty) / hop_penalty_max; in batadv_v_forward_penalty()