Hi,
it looks like the next version (with B.A.T.M.A.N. V support and cfg80211 dependency) has to be build against the mac80211 compat version. OpenWrt right now uses Linux 3.18, 4.1, 4.3 and 4.4. These kernel versions don't require many changes (which are not already part of the compat layer) to get batman- adv building against it. But most of the required changes are rather ugly (see batman-adv/patches/0000-compat-hacks.patch). But at least it builds with them.
I have the basic changes for openwrt-routing attached. Maybe someone has some visions how to continue from here.
I've also attached the patch to build the current state of B.A.T.M.A.N. V on OpenWrt.
Kind regards, Sven
On Thursday 11 February 2016 23:25:56 Sven Eckelmann wrote: [...]
I've also attached the patch to build the current state of B.A.T.M.A.N. V on OpenWrt.
Btw. the previously proposed way to select the routing algorithm at runtime in OpenWrt requires an additional patch. The setting in /etc/config/network would look something like:
config interface 'batnet' option mtu '1532' option proto 'batadv' option mesh 'bat0' option routing_algo 'BATMAN_IV'
Kind regards, Sven
b.a.t.m.a.n@lists.open-mesh.org