[B.A.T.M.A.N.] [PATCH] batman-adv: Fix build with linux 2.6.25-2.6.27

2011-05-09 Thread Sven Eckelmann
We must prevent that IPPROTO_UDP gets redefined using compat.h. Otherwise the build will fail when including things like net/addrconf.h Signed-off-by: Sven Eckelmann s...@narfation.org --- compat.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/compat.c b/compat.c index

[B.A.T.M.A.N.] [PATCHv3 2/3] batman-adv: improved roaming mechanism

2011-05-09 Thread Antonio Quartulli
Exploting the new announcement implementation, it has been possible to improve the roaming mechanism and reduce the number of packet drops. For details, please visit: http://www.open-mesh.org/wiki/batman-adv/Roaming-improvements Signed-off-by: Antonio Quartulli or...@autistici.org --- 1) To

[B.A.T.M.A.N.] [PATCHv2 3/3] batman-adv: improved gateway tq-based selection

2011-05-09 Thread Antonio Quartulli
If a client issues a DHCPREQUEST for renewal, the packet is dropped if the old destination (the old gateway for the client) TQ is smaller than the current best gateway TQ less GW_THRESHOLD Signed-off-by: Antonio Quartulli or...@autistici.org --- 1) Following Andrew's suggestion, the dhcp unicast

Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Fix build with linux 2.6.25-2.6.27

2011-05-09 Thread Marek Lindner
On Monday 09 May 2011 10:15:32 Sven Eckelmann wrote: We must prevent that IPPROTO_UDP gets redefined using compat.h. Otherwise the build will fail when including things like net/addrconf.h Applied in revision ef0df12. Thanks, Marek

[B.A.T.M.A.N.] [PATCHv3 1/3] batman-adv: add wrapper function to throw uevent in userspace

2011-05-09 Thread Antonio Quartulli
Using throw_uevent() is now possible to trigger uevent signal that can be recognised in userspace. Uevents will be triggered through the /devices/virtual/net/{MESH_IFACE} kobject. A triggered uevent has three properties: - type: the event class. Who generates the event (only 'gw' is currently

Re: [B.A.T.M.A.N.] [PATCHv3 3/3] batman-adv: improved gateway tq-based selection

2011-05-09 Thread Andrew Lunn
On Mon, May 09, 2011 at 03:02:30PM +0200, Antonio Quartulli wrote: If a client issues a DHCPREQUEST for renewal, the packet is dropped if the old destination (the old gateway for the client) TQ is smaller than the current best gateway TQ less GW_THRESHOLD Signed-off-by: Antonio Quartulli

Re: [B.A.T.M.A.N.] [PATCHv3 1/3] batman-adv: add wrapper function to throw uevent in userspace

2011-05-09 Thread Andrew Lunn
On Mon, May 09, 2011 at 03:02:28PM +0200, Antonio Quartulli wrote: Using throw_uevent() is now possible to trigger uevent signal that can be recognised in userspace. Uevents will be triggered through the /devices/virtual/net/{MESH_IFACE} kobject. Hi Antonio Since this is part of sysfs you