* [B.A.T.M.A.N.] Question about sliding windows in Batman-adv 2015.0
@ 2016-01-19 13:34 Jérôme GRIES
2016-01-20 1:38 ` Marek Lindner
0 siblings, 1 reply; 2+ messages in thread
From: Jérôme GRIES @ 2016-01-19 13:34 UTC (permalink / raw)
To: b.a.t.m.a.n
Hello everybody (thx to Marek Lindner for the answer)
My name is Jérôme, i'm a French student in informatics and networks,
for a project i use BATMAN ( i use it with raspberry Pi in cars).
I would like to change the duration of the sliding windows, i understand
that the duration of the sliding windows is equals to 128*intervall it
(intervall beetween every hello packets)
So normally the sliding windows is equals to 128 seconds because the
interval is 1s in default mode.
I would like to change the code to change this duration but not just
with the interval it value but directly with the 128. Because when i use
this protocol in a mobile environment like cars this value is to high,
and i would like to reduce in something like sliding windows duration =
30*5(=interval it which i can change easily).
Could you tell me where i can find something like that in the code :
#define _timeslidingwindows 128
Thank you and have a nice day.
Jérôme Gries
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [B.A.T.M.A.N.] Question about sliding windows in Batman-adv 2015.0
2016-01-19 13:34 [B.A.T.M.A.N.] Question about sliding windows in Batman-adv 2015.0 Jérôme GRIES
@ 2016-01-20 1:38 ` Marek Lindner
0 siblings, 0 replies; 2+ messages in thread
From: Marek Lindner @ 2016-01-20 1:38 UTC (permalink / raw)
To: b.a.t.m.a.n; +Cc: Jérôme GRIES
[-- Attachment #1: Type: text/plain, Size: 694 bytes --]
Hi Jérôme,
On Tuesday, January 19, 2016 14:34:58 Jérôme GRIES wrote:
> I would like to change the duration of the sliding windows, i understand
> that the duration of the sliding windows is equals to 128*intervall it
> (intervall beetween every hello packets)
>
> [..]
>
> Could you tell me where i can find something like that in the code :
>
> #define _timeslidingwindows 128
all protocol defines / parameters can be found in net/batman-adv/main.h. The
one you are looking for is this:
/* sliding packet range of received originator messages in sequence numbers
* (should be a multiple of our word size)
*/
#define BATADV_TQ_LOCAL_WINDOW_SIZE 64
Cheers,
Marek
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-20 1:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-19 13:34 [B.A.T.M.A.N.] Question about sliding windows in Batman-adv 2015.0 Jérôme GRIES
2016-01-20 1:38 ` Marek Lindner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.