Searched refs:rand_tq (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/net/batman-adv/
H A Dnetwork-coding.c970 uint8_t rand_val, rand_tq; batadv_nc_random_weight_tq() local
975 rand_tq = rand_val * (BATADV_TQ_MAX_VALUE - tq); batadv_nc_random_weight_tq()
978 rand_tq /= BATADV_TQ_MAX_VALUE; batadv_nc_random_weight_tq()
981 return BATADV_TQ_MAX_VALUE - rand_tq; batadv_nc_random_weight_tq()

Completed in 52 milliseconds