Home
last modified time | relevance | path

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

/linux-6.1.9/net/batman-adv/
Dgateway_common.c174 u32 up_new = 0; in batadv_gw_bandwidth_set() local
180 ret = batadv_parse_gw_bandwidth(net_dev, buff, &down_new, &up_new); in batadv_gw_bandwidth_set()
187 if (!up_new) in batadv_gw_bandwidth_set()
188 up_new = down_new / 5; in batadv_gw_bandwidth_set()
190 if (!up_new) in batadv_gw_bandwidth_set()
191 up_new = 1; in batadv_gw_bandwidth_set()
193 if (down_curr == down_new && up_curr == up_new) in batadv_gw_bandwidth_set()
200 down_new / 10, down_new % 10, up_new / 10, up_new % 10); in batadv_gw_bandwidth_set()
203 atomic_set(&bat_priv->gw.bandwidth_up, up_new); in batadv_gw_bandwidth_set()