diff options
author | Antonio Quartulli <antonio@open-mesh.com> | 2016-01-16 09:40:12 +0100 |
---|---|---|
committer | Antonio Quartulli <a@unstable.cc> | 2016-02-29 09:05:31 +0100 |
commit | 0da0035942d47766c32843143fb5dba7a29cb48c (patch) | |
tree | 53a71e5f8e319fa78cdeeea770224816b36a672a /net/batman-adv/main.h | |
parent | batman-adv: ELP - adding sysfs parameter for elp interval (diff) | |
download | linux-0da0035942d47766c32843143fb5dba7a29cb48c.tar.xz linux-0da0035942d47766c32843143fb5dba7a29cb48c.zip |
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>
Diffstat (limited to 'net/batman-adv/main.h')
-rw-r--r-- | net/batman-adv/main.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h index d91bae270f42..fa0b067e589d 100644 --- a/net/batman-adv/main.h +++ b/net/batman-adv/main.h @@ -30,6 +30,7 @@ /* B.A.T.M.A.N. parameters */ #define BATADV_TQ_MAX_VALUE 255 +#define BATADV_THROUGHPUT_MAX_VALUE 0xFFFFFFFF #define BATADV_JITTER 20 /* Time To Live of broadcast messages */ |