Lines Matching refs:throughput
115 ewma_throughput_init(&hardif_neigh->bat_v.throughput);
135 u32 throughput;
138 throughput = ewma_throughput_read(&hardif_neigh->bat_v.throughput);
139 throughput = throughput * 100;
154 nla_put_u32(msg, BATADV_ATTR_THROUGHPUT, throughput))
277 u32 throughput;
284 throughput = n_ifinfo->bat_v.throughput * 100;
306 nla_put_u32(msg, BATADV_ATTR_THROUGHPUT, throughput) ||
467 ret = ifinfo1->bat_v.throughput - ifinfo2->bat_v.throughput;
493 threshold = ifinfo1->bat_v.throughput / 4;
494 threshold = ifinfo1->bat_v.throughput - threshold;
496 ret = ifinfo2->bat_v.throughput > threshold;
511 /* set default throughput difference threshold to 5Mbps */
519 * the minimum between the GW advertised throughput and the path throughput to
540 /* the GW metric is computed as the minimum between the path throughput
542 * This gives us an approximation of the effective throughput that the
545 *bw = router_ifinfo->bat_v.throughput;
636 "Restarting gateway selection: better gateway found (throughput curr: %u, throughput new: %u)\n",
704 router_ifinfo->bat_v.throughput)) {
816 /* enable link throughput auto-detection by setting the throughput