Re: [B.A.T.M.A.N.] [RFC 0/3] GSOC 2012: bandwidth meter project

2012-08-10 Thread Simon Wunderlich
Hello Edo, as discussed already, some general remarks: * please squash these patches to one - as far as I can see, the 2 others are mostly fixes to the first one * Don't turn on debugging in the Makefile - we don't want that by default * please also include the batctl patch, it is

[B.A.T.M.A.N.] [PATCH] batman-adv: Remove unused hlist macros in compat.h

2012-08-10 Thread Martin Hundebøll
Signed-off-by: Martin Hundebøll mar...@hundeboll.net --- compat.h | 8 1 file changed, 8 deletions(-) diff --git a/compat.h b/compat.h index 13253dd..8ac22a8 100644 --- a/compat.h +++ b/compat.h @@ -67,14 +67,6 @@ #if LINUX_VERSION_CODE KERNEL_VERSION(2, 6, 34) -#define

Re: [B.A.T.M.A.N.] propagate gw_mode over two mesh linked by ethernet with bla2

2012-08-10 Thread Gui Iribarren
On Tue, Aug 7, 2012 at 7:46 AM, Simon Wunderlich simon.wunderl...@s2003.tu-chemnitz.de wrote: Hello Guido, OGMs flood the ethernet backbone again as expected; running batctl o in mesh1 nodes show nodes from mesh2, and viceversa; i smiled! unfortunately, trying to get a DHCP lease while

[B.A.T.M.A.N.] [PATCH] batman-adv: return proper value in case of hash_add failure

2012-08-10 Thread Antonio Quartulli
In case of hash_add failure tt_global_add() must return 0 (which means on entry insertion). Signed-off-by: Antonio Quartulli or...@autistici.org --- This patch is based on master. This bug exists since a bit but nobody actually found it because this bug should have been triggered in the unlikely

[B.A.T.M.A.N.] [PATCH v3] batman-adv: pass the WIFI flag from the local to global entry

2012-08-10 Thread Antonio Quartulli
in case of client roaming a new global entry is added while a corresponding local one is still present. In this case the node can safely pass the WIFI flag from the local to the global entry. This change is required to let the AP-isolation correctly working in case of roaming: if a generic WIFI