Home
last modified time | relevance | path

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

/net/batman-adv/
Dbat_iv_ogm.c340 batadv_ogm_packet->tq = BATADV_TQ_MAX_VALUE; in batadv_iv_ogm_iface_enable()
417 static u8 batadv_hop_penalty(u8 tq, const struct batadv_priv *bat_priv) in batadv_hop_penalty() argument
422 new_tq = tq * (BATADV_TQ_MAX_VALUE - hop_penalty); in batadv_hop_penalty()
488 batadv_ogm_packet->tq, batadv_ogm_packet->ttl, in batadv_iv_ogm_send_to_if()
875 batadv_ogm_packet->tq = batadv_hop_penalty(batadv_ogm_packet->tq, in batadv_iv_ogm_forward()
880 batadv_ogm_packet->tq, batadv_ogm_packet->ttl); in batadv_iv_ogm_forward()
1113 batadv_ogm_packet->tq); in batadv_iv_ogm_orig_update()
1296 combined_tq = batadv_ogm_packet->tq * in batadv_iv_ogm_calc_tq()
1303 batadv_ogm_packet->tq = combined_tq; in batadv_iv_ogm_calc_tq()
1309 batadv_ogm_packet->tq, if_incoming->net_dev->name, in batadv_iv_ogm_calc_tq()
[all …]
Dpacket.h224 u8 tq; member
Dnetwork-coding.c766 if (ogm_packet->tq < bat_priv->nc.min_tq) in batadv_can_nc_with_orig()
994 static u8 batadv_nc_random_weight_tq(u8 tq) in batadv_nc_random_weight_tq() argument
997 u8 rand_tq = prandom_u32_max(BATADV_TQ_MAX_VALUE + 1 - tq); in batadv_nc_random_weight_tq()