Re: [B.A.T.M.A.N.] [RFC 15/23] batman-adv: ELP - send unicast ELP packets for throughput sampling

Andrew Lunn
2014-02-13T09:55:27Z

> > Right. If I remember correctly, if you send less than 1 packet per 100
> > ms, then all packets should end up being probing packets. If that
> > doesn't work, we can change minstrel's probing pattern to allow things
> > like batman to get a desirable amount of rate control probing simply by
> > sending unicast packets.
>
> This is what I am trying to achieve here: if no unicast packets have
> been sent for the last 100ms (at least) then send N probing packets in a
> row (with N = 2 at the moment - it is a define in main.h).

Hi Antonio

One minor thing to consider is that your statement is actually:

if no _batman_ unicast packets have been sent for the last 100ms ...

I've used batman in setups where it has not been the exclusive user of
the hard interface. So there could be other traffic which is keeping
the RC algorithm up to date. So maybe it would be better to use the
hard interface statistic counters rather than last time batman sent a
packet?

Andrew