On Mon, Jul 27, 2020 at 04:28:15PM -0000, lavincent15@gmail.com wrote:
Linus
I would love to try it out and help with the development, but unfortunately I do not have the time to do that. My internship is coming to a close, and I need to use a version I know works to provide good data.
Oh, okay, good luck with the results then!
Side note* Do you think you could provide me with a rough equation for when a node decides to use a hop instead of a direct connection? I'm particularly interested in how the nodes use the hop penalty in the equation. Does speeding up the interval increase the speediness of its decision? I'm using this in a mobile node environment and I need it to dynamically switch to the most stable connection.
The metric, including the hop-penalty for BATMAN V is described here:
https://www.open-mesh.org/projects/batman-adv/wiki/Ogmv2#322-Metric-Update
Or here in the code, in this short function:
https://elixir.bootlin.com/linux/v5.7.8/source/net/batman-adv/bat_v_ogm.c#L4...
And then the algorithm will compare if the resulting throughput metric is higher via a direct connection or over another hop even with the (either) hop or half-duplex penalty applied.
Hope that helps.
Regards, Linus