thanks for the advice. I managed somehow to integrate batman inside my backport tree and changed the Makefiles etc. Now the mesh is up and BATMAn V seems to work, at least I can ping other nodes and measure throughput.
But unfortunately now batctl always says that the mesh is not activated (no interface), which is obviously wrong. Maybe I made somewhere a mistake while porting the code.
Can you guess what goes wrong?
Best Regards, Hannes
Am 08.06.2016 um 13:20 schrieb Sven Eckelmann:
On Wednesday 08 June 2016 12:03:32 Harms, Hannes wrote:
I want to test the new batman V with throughput based metric, but I could not find out how to compile batman-adv against cfg80211 from linux backports.
You cannot build against the backports modules with the batman-adv Makefile. This is only for systems which don't replace cfg80211 with an incompatible version. But you should have a look at the OpenWrt compile rules (especially NOSTDINC_FLAGS ). It basically uses its own compat-hack header and uses the rest from the backports compat layer + the new cfg80211 headers.
Most important here is that you don't compile against cfg80211.h of your kernel when your backports stuff uses complete different struct definitions (this is most likely what causes the crash on your system).
Kind regards, Sven