batman-adv: BATMAN_V: aggregate OGMv2 packets
authorLinus Lüssing <linus.luessing@c0d3.blue>
Sun, 4 Aug 2019 18:54:54 +0000 (20:54 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Sun, 4 Aug 2019 20:22:00 +0000 (22:22 +0200)
commit9cb9a17813bf0de1f8ad6deb9538296d5148b5a8
treea6426dc77bd31fdf5f9b02d71545bd8a19874ea2
parentf89255a02f1d75d8e1b9d1c31435fcb64840cb2a
batman-adv: BATMAN_V: aggregate OGMv2 packets

Instead of transmitting individual OGMv2 packets from the aggregation
queue merge those OGMv2 packets into a single one and transmit this
aggregate instead.

This reduces overhead as it saves an ethernet header and a transmission
per aggregated OGMv2 packet.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/bat_v_ogm.c