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()
165 struct batadv_hardif_neigh_node *neigh; in batadv_v_elp_throughput_metric_update() local
169 neigh = container_of(neigh_bat_v, struct batadv_hardif_neigh_node, in batadv_v_elp_throughput_metric_update()
172 ewma_throughput_add(&neigh->bat_v.throughput, in batadv_v_elp_throughput_metric_update()
173 batadv_v_elp_get_throughput(neigh)); in batadv_v_elp_throughput_metric_update()
178 batadv_hardif_neigh_put(neigh); in batadv_v_elp_throughput_metric_update()
193 batadv_v_elp_wifi_neigh_probe(struct batadv_hardif_neigh_node *neigh) in batadv_v_elp_wifi_neigh_probe() argument
195 struct batadv_hard_iface *hard_iface = neigh->if_incoming; in batadv_v_elp_wifi_neigh_probe()
213 last_tx_diff = jiffies_to_msecs(jiffies - neigh->bat_v.last_unicast_tx); in batadv_v_elp_wifi_neigh_probe()
236 hard_iface->net_dev->name, neigh->addr); in batadv_v_elp_wifi_neigh_probe()
238 batadv_send_skb_packet(skb, hard_iface, neigh->addr); in batadv_v_elp_wifi_neigh_probe()
454 struct batadv_neigh_node *neigh; in batadv_v_elp_neigh_update() local
464 neigh = batadv_neigh_node_get_or_create(orig_neigh, in batadv_v_elp_neigh_update()
466 if (!neigh) in batadv_v_elp_neigh_update()
482 neigh->last_seen = jiffies; in batadv_v_elp_neigh_update()
490 batadv_neigh_node_put(neigh); in batadv_v_elp_neigh_update()