]> git.baikalelectronics.ru Git - kernel.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)
commitd56c7084cc88c309474240f213c485c196b8ca66
tree1f7093d090cbf322a0b85238fb08b42245138e43
parenta4a8e2772d4623a88d2eedb42f1d3a6384af0f2d
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