Re: [B.A.T.M.A.N.] Routing improvement taking into account links bit-rate

2011-05-07 Thread Marek Lindner
Hi, I have called the new metric PCE (Physical Capacity Estimation), which is defined for each path as the minimum value of (tq_local * bit-rate) among all the link forming it. After a quick and dirty modification of the code, I've done some test on two simple topologies to verify whether

Re: [B.A.T.M.A.N.] [PATCHv3] batctl: rename stuff from *hna* to *tt* (translation table)

2011-05-07 Thread Marek Lindner
On Thursday 05 May 2011 08:43:27 Antonio Quartulli wrote: To be coherent, all the functions/variables/constats have been renamed to the TranslationTable style Applied in revision 621928c. Thanks, Marek

Re: [B.A.T.M.A.N.] [PATCHv3] batman-adv: rename everything from *hna* into *tt* (translation table)

2011-05-07 Thread Marek Lindner
On Thursday 05 May 2011 08:42:45 Antonio Quartulli wrote: To be coherent, all the functions/variables/constats have been renamed to the TranslationTable style Applied in revision 160dd13. Thanks, Marek

Re: [B.A.T.M.A.N.] [PATCH 1/5] batman-adv: Rename bat_printk.c to compat.c

2011-05-07 Thread Marek Lindner
On Wednesday 04 May 2011 10:06:29 Sven Eckelmann wrote: Makefile.kbuild |2 +- bat_printk.c = compat.c |0 2 files changed, 1 insertions(+), 1 deletions(-) rename bat_printk.c = compat.c (100%) Applied in revision adcaaf2. Thanks, Marek

[B.A.T.M.A.N.] [PATCH 1/2] batman-adv: Don't include bat_sysfs.h in compat.h

2011-05-07 Thread Sven Eckelmann
bat_sysfs.h is included in compat.h to provide bat_attribute which is used in bat_wrapper_show and bat_wrapper_store. This could create a include loop which prevents that functions or datastructures defined elsewhere cannot be found in bat_sysfs.h when batman-adv gets compiled as external module,

[B.A.T.M.A.N.] [PATCH 2/2] batman-adv: Remove unused variable r in bat_printk

2011-05-07 Thread Sven Eckelmann
Signed-off-by: Sven Eckelmann s...@narfation.org --- compat.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/compat.c b/compat.c index 34b27a1..70de376 100644 --- a/compat.c +++ b/compat.c @@ -909,11 +909,10 @@ int bat_vscnprintf(char *buf, size_t size, const char

[B.A.T.M.A.N.] [PATCHv3] batman-adv: remove duplicate code from function is_bidirectional_neigh()

2011-05-07 Thread Sven Eckelmann
From: Daniele Furlan daniele.fur...@gmail.com In function is_bidirectional_neigh the code that find out the one hop neighbor is duplicated. Signed-off-by: Daniele Furlan daniele.fur...@gmail.com Signed-off-by: Sven Eckelmann s...@narfation.org --- No answer yet, but I would like to get this