Hi Benjamin,
On Fri, Mar 09, 2012 at 10:17:47AM +0100, Benjamin Henrion wrote:
On Fri, Mar 9, 2012 at 9:56 AM, Simon Wunderlich
Maybe "algorithm" is a big word for a little feature like that. The bonding and interface alternating basically work in two steps:
1) detect that a neighbor is reachable via two different links 2) use the two different links for various manipulations (bonding, interface alternation)
Hoping over the same frequency should be made costly.
Do you add a cost if the packet comes from the same wireless interface?
AFAIU, Batman will never send a packet back on the same interface (be it wired or wireless, whatever the frequency, etc. – they don’t care at all). Except if this is the only available one, of course, or if the alternative interfaces have been dismissed for some reason (too low quality, etc.).
They just decide upfront a set of alternative interfaces, and then choose the best interface that it is not the incoming one among this set, for each packet. You have no way to declare that two different wifi interfaces interfere, for instance; it is roughly similar to babel -z1.