sgw: add SmartGatewayMaxCostMaxEtx configuration setting
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 13 Oct 2015 10:42:21 +0000 (12:42 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 15 Oct 2015 12:15:35 +0000 (14:15 +0200)
commit4692673abbad8a473b195f61b9d41cf36c3a3743
tree4aa09e9ebcacc40a83c2e17c784c396f93975561
parentc681a5e748f769ec1e841692953227fe765353e3
sgw: add SmartGatewayMaxCostMaxEtx configuration setting

SmartGatewayMaxCostMaxEtx: When a node advertises the maximum bandwidth
and its ETX is below the value of this setting then the resulting gateway
costs are equal to the ETX, otherwise the normal calculation of the
gateway costs applies (default is 2560).

This avoids instability in the mesh when a far-away node advertises
maximum bandwidth.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
README-Olsr-Extensions
files/olsrd.conf.default.full.txt
src/cfgparser/cfgfile_gen.c
src/cfgparser/olsrd_conf.c
src/cfgparser/oparse.y
src/cfgparser/oscan.lex
src/egressFile.c
src/gateway_costs.c
src/gateway_costs.h
src/gateway_default_handler.c
src/olsr_cfg.h