Home
last modified time | relevance | path

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

/linux-6.1.9/net/batman-adv/
Dgateway_common.c173 u32 down_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()
184 if (!down_new) in batadv_gw_bandwidth_set()
185 down_new = 1; in batadv_gw_bandwidth_set()
188 up_new = down_new / 5; 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()
202 atomic_set(&bat_priv->gw.bandwidth_down, down_new); in batadv_gw_bandwidth_set()