Searched refs:rand_tq (Results 1 – 1 of 1) sorted by relevance
1012 u8 rand_val, rand_tq; in batadv_nc_random_weight_tq() local1017 rand_tq = rand_val * (BATADV_TQ_MAX_VALUE - tq); in batadv_nc_random_weight_tq()1020 rand_tq /= BATADV_TQ_MAX_VALUE; in batadv_nc_random_weight_tq()1023 return BATADV_TQ_MAX_VALUE - rand_tq; in batadv_nc_random_weight_tq()