Lines Matching full:throughput
74 * batadv_v_elp_get_throughput() - get the throughput towards a neighbour
75 * @neigh: the neighbour for which the throughput has to be obtained
76 * @pthroughput: calculated throughput towards the given neighbour in multiples
89 u32 throughput; in batadv_v_elp_get_throughput() local
92 /* don't query throughput when no longer associated with any in batadv_v_elp_get_throughput()
101 throughput = atomic_read(&hard_iface->bat_v.throughput_override); in batadv_v_elp_get_throughput()
102 if (throughput != 0) { in batadv_v_elp_get_throughput()
103 *pthroughput = throughput; in batadv_v_elp_get_throughput()
107 /* if this is a wireless device, then ask its throughput through in batadv_v_elp_get_throughput()
130 * the throughput metric to 0. in batadv_v_elp_get_throughput()
143 /* try to estimate the expected throughput based on reported tx in batadv_v_elp_get_throughput()
174 throughput = link_settings.base.speed; in batadv_v_elp_get_throughput()
175 if (throughput && throughput != SPEED_UNKNOWN) { in batadv_v_elp_get_throughput()
176 *pthroughput = throughput * 10; in batadv_v_elp_get_throughput()
184 …ace %s, therefore defaulting to hardcoded throughput values of %u.%1u Mbps. Consider overriding th… in batadv_v_elp_get_throughput()
197 * batadv_v_elp_throughput_metric_update() - worker updating the throughput
204 u32 throughput; in batadv_v_elp_throughput_metric_update() local
207 valid = batadv_v_elp_get_throughput(neigh, &throughput); in batadv_v_elp_throughput_metric_update()
211 ewma_throughput_add(&neigh->bat_v.throughput, throughput); in batadv_v_elp_throughput_metric_update()
219 * order to trigger the throughput estimation on this link by the RC algorithm.
263 * throughput estimation effective. in batadv_v_elp_wifi_neigh_probe()
332 /* The throughput metric is updated on each sent packet. This way, if a in batadv_v_elp_periodic_work()
336 * The throughput metric is updated by following these steps: in batadv_v_elp_periodic_work()
339 * 2) update the throughput metric value of each neighbor (note that the in batadv_v_elp_periodic_work()
354 /* Reading the estimated throughput from cfg80211 is a task that in batadv_v_elp_periodic_work()
419 /* warn the user (again) if there is no throughput data is available */ in batadv_v_elp_iface_enable()