Searched refs:bat_v (Results 1 – 7 of 7) sorted by relevance
65 msecs = atomic_read(&hard_iface->bat_v.elp_interval) - BATADV_JITTER; in batadv_v_elp_start_timer() 68 queue_delayed_work(batadv_event_workqueue, &hard_iface->bat_v.elp_wq, in batadv_v_elp_start_timer() 100 throughput = atomic_read(&hard_iface->bat_v.throughput_override); in batadv_v_elp_get_throughput() 169 hard_iface->bat_v.flags |= BATADV_FULL_DUPLEX; in batadv_v_elp_get_throughput() 171 hard_iface->bat_v.flags &= ~BATADV_FULL_DUPLEX; in batadv_v_elp_get_throughput() 181 if (!(hard_iface->bat_v.flags & BATADV_WARNING_DEFAULT)) { in batadv_v_elp_get_throughput() 187 hard_iface->bat_v.flags |= BATADV_WARNING_DEFAULT; in batadv_v_elp_get_throughput() 210 ewma_throughput_add(&neigh->bat_v.throughput, throughput); in batadv_v_elp_throughput_metric_update() 245 last_tx_diff = jiffies_to_msecs(jiffies - neigh->bat_v.last_unicast_tx); in batadv_v_elp_wifi_neigh_probe() 253 elp_skb_len = hard_iface->bat_v in batadv_v_elp_wifi_neigh_probe() 288 struct batadv_hard_iface_bat_v *bat_v; batadv_v_elp_periodic_work() local [all...]
91 queue_delayed_work(batadv_event_workqueue, &hard_iface->bat_v.aggr_wq, in batadv_v_ogm_start_queue_timer() 105 if (delayed_work_pending(&bat_priv->bat_v.ogm_wq)) in batadv_v_ogm_start_timer() 110 queue_delayed_work(batadv_event_workqueue, &bat_priv->bat_v.ogm_wq, in batadv_v_ogm_start_timer() 156 * Caller needs to hold the hard_iface->bat_v.aggr_list.lock.167 lockdep_assert_held(&hard_iface->bat_v.aggr_list.lock); in batadv_v_ogm_queue_left() 169 return hard_iface->bat_v.aggr_len + ogm_len <= max; in batadv_v_ogm_queue_left() 178 * Caller needs to hold the hard_iface->bat_v.aggr_list.lock.182 lockdep_assert_held(&hard_iface->bat_v.aggr_list.lock); in batadv_v_ogm_aggr_list_free() 184 __skb_queue_purge(&hard_iface->bat_v.aggr_list); in batadv_v_ogm_aggr_list_free() 185 hard_iface->bat_v in batadv_v_ogm_aggr_list_free() 365 struct batadv_priv_bat_v *bat_v; batadv_v_ogm_send() local [all...]
7 #include "bat_v.h"115 ewma_throughput_init(&hardif_neigh->bat_v.throughput); in batadv_v_hardif_neigh_init() 136 throughput = ewma_throughput_read(&hardif_neigh->bat_v.throughput); in batadv_v_neigh_dump_neigh() 280 throughput = n_ifinfo->bat_v.throughput * 100; in batadv_v_orig_dump_subentry() 463 ret = ifinfo1->bat_v.throughput - ifinfo2->bat_v.throughput; in batadv_v_neigh_cmp() 489 threshold = ifinfo1->bat_v.throughput / 4; in batadv_v_neigh_is_sob() 490 threshold = ifinfo1->bat_v.throughput - threshold; in batadv_v_neigh_is_sob() 492 ret = ifinfo2->bat_v.throughput > threshold; in batadv_v_neigh_is_sob() 541 *bw = router_ifinfo->bat_v in batadv_v_gw_throughput_get() [all...]
223 /** @bat_v: per hard-interface B.A.T.M.A.N. V data */224 struct batadv_hard_iface_bat_v bat_v; member 629 /** @bat_v: B.A.T.M.A.N. V private data */630 struct batadv_hardif_neigh_node_bat_v bat_v; member 730 /** @bat_v: B.A.T.M.A.N. V private data */731 struct batadv_neigh_ifinfo_bat_v bat_v; member 1789 /** @bat_v: B.A.T.M.A.N. V per mesh-interface private data */1790 struct batadv_priv_bat_v bat_v; member
9 batman-adv-$(CONFIG_BATMAN_ADV_BATMAN_V) += bat_v.o
834 atomic_read(&hard_iface->bat_v.elp_interval))) in batadv_netlink_hardif_fill() 838 atomic_read(&hard_iface->bat_v.throughput_override))) in batadv_netlink_hardif_fill() 939 atomic_set(&hard_iface->bat_v.elp_interval, nla_get_u32(attr)); in batadv_netlink_set_hardif() 945 atomic_set(&hard_iface->bat_v.throughput_override, in batadv_netlink_set_hardif()
154 hardif_neigh->bat_v.last_unicast_tx = jiffies; in batadv_send_unicast_skb()