path: root/net/batman-adv/main.h
diff options
authorSimon Wunderlich <simon@open-mesh.com>2014-06-17 10:16:03 (GMT)
committerAntonio Quartulli <antonio@meshcoding.com>2014-08-05 07:42:13 (GMT)
commite03366ea6b05c0ac7e53cecb292b6182419dc49c (patch)
treea900f3e6c2d69f4a1c7dd82421e9743a2fd69d68 /net/batman-adv/main.h
parent23c4ec10f4ab926396b7925f13974eef58ef0cce (diff)
batman-adv: increase default hop penalty
The default hop penalty is currently set to 15, which is applied like that for multi interface devices (e.g. dual band APs). Single band devices will still use an effective penalty of 30 (hop penalty + wifi penalty). After receiving reports of too long paths in mesh networks with dual band APs which were fixed by increasing the hop penalty, we'd like to suggest to increase that default value in the default setting as well. We've evaluated that increase in a handful of medium sized mesh networks (5-20 nodes) with single and dual band devices, with changes for the better (shorter routes, higher throughput) or no change at all. This patch changes the hop penalty to 30, which will give an effective penalty of 60 on single band devices (hop penalty + wifi penalty). 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>
Diffstat (limited to 'net/batman-adv/main.h')
0 files changed, 0 insertions, 0 deletions

Privacy Policy