I have tried batman-adv-netifd-proto-batadv.patch along with some Makefile adjustments to
get it compile.
Afaict it works.
On 12/02/2012 02:19 PM, Gui Iribarren wrote:
Really Sorry for the whitespace headaches :( hope to
get it straight this time.
As we discussed on irc with Marek, here's a first stab at netifd integration.
I'm surprised at how simple it actually is to add a custom "proto" with
No race condition with this approach, at least on the hardware i have
at hand (ubnt2 , and tplinks)
an example uci config scheme changes from
batman-adv.bat0.interfaces='mesh0 mesh1 mesh2'
So /etc/config/batman-adv now deals only with bat0 tweakable parameters,
/etc/config/network defines interfaces to be added to bat0
and /etc/config/wireless is unchanged
and netifd is responsible of avoiding race conditions
of course, this makes batman-adv package (on openwrt) depend on
netifd, but openwrt devs are pushing it that way (and it's finally
looking like an elegant move after all ;) )
On Mon, Nov 26, 2012 at 7:45 AM, Sven Eckelmann <sven(a)narfation.org> wrote:
> On Monday 26 November 2012 18:40:20 Marek Lindner wrote:
>> On Friday, November 23, 2012 22:00:47 Gui Iribarren wrote:
>>> Boring bootlog at http://pastebin.com/59FEPttY
>>> Proposed patch follows (against current batman-adv in openwrt
>>> Signed-off-by: Gui Iribarren <gui(a)altermundi.net>
>> I made the necessary changes myself after I successfully de-scrambled your
>> patch. You will find the patch in OpenWrt trunk. Give it try!
>> Next time, please configure your mail client to not wrap lines.
> Kind regards,