Hi Simon, Sven,
Thanks for your excellent help. We have 50+ sites (and a total of 1000+ nodes running in the field) for over a month, and batman-adv works perfectly, maybe I wasn't notified, but I did not hear a single failure.
We have an edge case: Our nodes are relatively closely placed, which results in 40+ neighbors for each node. And batman-adv seemingly does not work for this edge case. The issue may be that with this many 40+ neighbors, and neighbors' neighbors, ... it is complicated to calculate the route, is this the possible cause?
The resolution I can think of is that we can choose the best 12 or so (configurable) neighbors (based on signal strength). Is this choosing configurable 12 or so best neighbors the best approach? I can try to make the change, and upstream for your code-review / merge.
Thanks again.
Xuebing Wang