batman-adv: ELP - send unicast ELP packets for throughput sampling
authorAntonio Quartulli <antonio@open-mesh.com>
Tue, 10 Nov 2015 17:51:22 +0000 (18:51 +0100)
committerAntonio Quartulli <a@unstable.cc>
Mon, 29 Feb 2016 08:25:07 +0000 (16:25 +0800)
commit8d2d499e08145d9851097e1241ef15aad8c9170a
tree02d3b8e088dbd3eefb48b67745efac068fa02581
parentc833484e5f3872a38fe232c663586069d5ad9645
batman-adv: ELP - send unicast ELP packets for throughput sampling

In case of an unused wireless link, the mac80211 throughput estimation
won't get updated further. Consequently, the reported throughput metric
will become obsolete.

With this patch unicast sampling is introduced by periodically sending
unicast ELP packets to each neighbor on idle WiFi links. These sampling
packets will fill an entire frame, so that the measurement is as
reliable as possible

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
net/batman-adv/bat_v_elp.c
net/batman-adv/main.h