[B.A.T.M.A.N.] Suggestion for routing improvement on poor links

whangarei & opua
2014-02-19T20:56:35Z

Hi all,

have running batman-adv 2013.4.0 on a hamburg.freifunk.net out-of-the-
box router.
Have 3 uplinks over Wlan, with trees in the way and some rain at this
time... So not perfect conditions...

Have seen via 'batctl o' 3 uplinks to the other side of the park.
(logging was unfortunately not compiled in)
Of cause, one was the best link based on the metric (or what you
called it) at this time.

But also seen that the metric was not changed during packet lost =>
increased last-seen time on this best link :-(

So there was a entry with a last-seen of up to 180 sec while other
links have had much better update times because of less packet lost,
but not so good metric like the main link at his 'best time'.
So the 'old' best link was also active, at least by the metric shown
by 'batctl o'. Expect the traffic will be sent to this way...

Is it maybe a good idea to decrease the metric after a last seen time
of a links has increased 15 or 20 sec, step by step on the best link
(or all links with increased last seen time) , so a more reliable link
( at this time) has a chance to be activated? I only think about the
local routing decision, not about to announce anything to a neighbor...

Sorry, have not much experiences with Wlan links, also be not familiar
with programming, but with some layer 3 routing protocols... Hope you
understand my issue anyway :)

By, Joe