batman-adv: split tq information in neigh_node struct
authorSimon Wunderlich <simon@open-mesh.com>
Wed, 13 Nov 2013 18:14:46 +0000 (19:14 +0100)
committerAntonio Quartulli <antonio@meshcoding.com>
Sun, 12 Jan 2014 13:41:10 +0000 (14:41 +0100)
commit89652331c00f43574515059ecbf262d26d885717
tree907828c7834896ef46ad868466cbeb4b87b58583
parentf6c8b71173ad50e48e6569a1ef5d7d4486268b4d
batman-adv: split tq information in neigh_node struct

For the network wide multi interface optimization it is required to save
metrics per outgoing interface in one neighbor. Therefore a new type is
introduced to keep interface-specific information. This also requires
some changes in access and list management.

The compare and equiv_or_better API calls are changed to take the
outgoing interface into consideration.

Signed-off-by: Simon Wunderlich <simon@open-mesh.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
net/batman-adv/bat_iv_ogm.c
net/batman-adv/gateway_client.c
net/batman-adv/hard-interface.h
net/batman-adv/main.h
net/batman-adv/network-coding.c
net/batman-adv/originator.c
net/batman-adv/originator.h
net/batman-adv/translation-table.c
net/batman-adv/types.h