Lines Matching refs:neigh
67 static u32 batadv_v_elp_get_throughput(struct batadv_hardif_neigh_node *neigh) in batadv_v_elp_get_throughput() argument
69 struct batadv_hard_iface *hard_iface = neigh->if_incoming; in batadv_v_elp_get_throughput()
95 ret = cfg80211_get_station(real_netdev, neigh->addr, &sinfo); in batadv_v_elp_get_throughput()
166 struct batadv_hardif_neigh_node *neigh; in batadv_v_elp_throughput_metric_update() local
170 neigh = container_of(neigh_bat_v, struct batadv_hardif_neigh_node, in batadv_v_elp_throughput_metric_update()
173 ewma_throughput_add(&neigh->bat_v.throughput, in batadv_v_elp_throughput_metric_update()
174 batadv_v_elp_get_throughput(neigh)); in batadv_v_elp_throughput_metric_update()
179 batadv_hardif_neigh_put(neigh); in batadv_v_elp_throughput_metric_update()
194 batadv_v_elp_wifi_neigh_probe(struct batadv_hardif_neigh_node *neigh) in batadv_v_elp_wifi_neigh_probe() argument
196 struct batadv_hard_iface *hard_iface = neigh->if_incoming; in batadv_v_elp_wifi_neigh_probe()
214 last_tx_diff = jiffies_to_msecs(jiffies - neigh->bat_v.last_unicast_tx); in batadv_v_elp_wifi_neigh_probe()
237 hard_iface->net_dev->name, neigh->addr); in batadv_v_elp_wifi_neigh_probe()
239 batadv_send_skb_packet(skb, hard_iface, neigh->addr); in batadv_v_elp_wifi_neigh_probe()
455 struct batadv_neigh_node *neigh; in batadv_v_elp_neigh_update() local
465 neigh = batadv_neigh_node_get_or_create(orig_neigh, in batadv_v_elp_neigh_update()
467 if (!neigh) in batadv_v_elp_neigh_update()
483 neigh->last_seen = jiffies; in batadv_v_elp_neigh_update()
491 batadv_neigh_node_put(neigh); in batadv_v_elp_neigh_update()