batman-adv: OGMv2 - add basic infrastructure
authorAntonio Quartulli <antonio@open-mesh.com>
Sat, 16 Jan 2016 08:40:12 +0000 (16:40 +0800)
committerAntonio Quartulli <a@unstable.cc>
Mon, 29 Feb 2016 08:05:31 +0000 (16:05 +0800)
commit0da0035942d47766c32843143fb5dba7a29cb48c
tree53a71e5f8e319fa78cdeeea770224816b36a672a
parent7f136cd491013285442ee1e7854fab1736f5757c
batman-adv: OGMv2 - add basic infrastructure

This is the initial implementation of the new OGM protocol
(version 2). It has been designed to work on top of the
newly added ELP.

In the previous version the OGM protocol was used to both
measure link qualities and flood the network with the metric
information. In this version the protocol is in charge of
the latter task only, leaving the former to ELP.

This means being able to decouple the interval used by the
neighbor discovery from the OGM broadcasting, which revealed
to be costly in dense networks and needed to be relaxed so
leading to a less responsive routing protocol.

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
net/batman-adv/Makefile
net/batman-adv/bat_algo.h
net/batman-adv/bat_v.c
net/batman-adv/bat_v_ogm.c [new file with mode: 0644]
net/batman-adv/bat_v_ogm.h [new file with mode: 0644]
net/batman-adv/main.c
net/batman-adv/main.h
net/batman-adv/packet.h
net/batman-adv/types.h