Lines Matching refs:neigh
61 * @neigh: the neighbour for which the throughput has to be obtained
66 static u32 batadv_v_elp_get_throughput(struct batadv_hardif_neigh_node *neigh)
68 struct batadv_hard_iface *hard_iface = neigh->if_incoming;
94 ret = cfg80211_get_station(real_netdev, neigh->addr, &sinfo);
165 struct batadv_hardif_neigh_node *neigh;
169 neigh = container_of(neigh_bat_v, struct batadv_hardif_neigh_node,
172 ewma_throughput_add(&neigh->bat_v.throughput,
173 batadv_v_elp_get_throughput(neigh));
178 batadv_hardif_neigh_put(neigh);
183 * @neigh: the neighbour to probe
193 batadv_v_elp_wifi_neigh_probe(struct batadv_hardif_neigh_node *neigh)
195 struct batadv_hard_iface *hard_iface = neigh->if_incoming;
213 last_tx_diff = jiffies_to_msecs(jiffies - neigh->bat_v.last_unicast_tx);
236 hard_iface->net_dev->name, neigh->addr);
238 batadv_send_skb_packet(skb, hard_iface, neigh->addr);
454 struct batadv_neigh_node *neigh;
464 neigh = batadv_neigh_node_get_or_create(orig_neigh,
466 if (!neigh)
482 neigh->last_seen = jiffies;
491 if (neigh)
492 batadv_neigh_node_put(neigh);