]> git.karo-electronics.de Git - karo-tx-linux.git/commit
batman-adv: Use own timer for multicast TT and TVLV updates
authorLinus Lüssing <linus.luessing@c0d3.blue>
Sat, 6 Aug 2016 20:23:16 +0000 (22:23 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Sun, 30 Oct 2016 10:11:35 +0000 (11:11 +0100)
commitcbebd363b2e92841e2e5ffc52c2d618e7b1003f0
tree1f7093d090cbf322a0b85238fb08b42245138e43
parenteb6915e2eb254fd83dc4472e22ebd6c54bf8ba47
batman-adv: Use own timer for multicast TT and TVLV updates

Instead of latching onto the OGM period, this patch introduces a worker
dedicated to multicast TT and TVLV updates.

The reasoning is, that upon roaming especially the translation table
should be updated timely to minimize connectivity issues.

With BATMAN V, the idea is to greatly increase the OGM interval to
reduce overhead. Unfortunately, right now this could lead to
a bad user experience if multicast traffic is involved.

Therefore this patch introduces a fixed 500ms update interval for
multicast TT entries and the multicast TVLV.

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/main.h
net/batman-adv/multicast.c
net/batman-adv/multicast.h
net/batman-adv/translation-table.c
net/batman-adv/types.h