[Olsr-dev] [PATCH v2 0/4] Use bandwidth during gateway selection
Ferry Huberts
(spam-protected)
Fri Aug 3 11:33:00 CEST 2012
From: Ferry Huberts <(spam-protected)>
v2: use the newly proposed formula for weighing.
===
Hi guys,
While reviewing the gateway code, I encountered something that works
differently than Teco and I expected so we would like to change it.
The problem: the current gateway selection code doesn't take the
advertised uplink/downlink speeds into account, it only looks at the tc
path cost (sum of ETX-link costs).
The result of the current code is that the 'nearest' gateway is
selected. We would like to change that to 'nearest fat pipe'.
Ferry Huberts (4):
cfg: add SmartGateway weighing parameters
gateway: calculate with uint64_t i.s.o. olsr_linkcost
gateway: add exit link weighing
pud: add SmartGatewayWeightExitLink and SmartGatewayWeightEtx
README-Olsr-Extensions | 49 ++++++++++++++++
files/olsrd.conf.default.full | 24 ++++++++
files/olsrd.conf.default.lq | 24 ++++++++
files/olsrd.conf.default.lq-fisheye | 24 ++++++++
lib/pud/doc/olsrd.conf.default.pud | 24 ++++++++
src/cfgparser/cfgfile_gen.c | 37 ++++++++++++
src/cfgparser/olsrd_conf.c | 11 ++++
src/cfgparser/oparse.y | 40 +++++++++++++
src/cfgparser/oscan.lex | 20 +++++++
src/gateway_default_handler.c | 112 ++++++++++++++++++++++++++++++++----
src/olsr_cfg.h | 8 +++
11 files changed, 362 insertions(+), 11 deletions(-)
--
1.7.11.2
More information about the Olsr-dev
mailing list