public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Simon Wunderlich <sw@simonwunderlich.de>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] FW: using Batman-adv
Date: Thu, 07 May 2015 19:25:11 +0200	[thread overview]
Message-ID: <4837729.AoYrTN5tco@prime> (raw)
In-Reply-To: <841E254B092F4FC1839DD066D90CE802@telegridtech.com>

[-- Attachment #1: Type: text/plain, Size: 2090 bytes --]

Hi Joseph,

On Thursday 07 May 2015 13:00:52 Joseph Zimmer wrote:
> Hello,
>  
> I am working with BATMAN-ADV and have successfully setup a mesh. In my
> implementation of the mesh, the network requires BATMAN to operate in a
> linear topology and ideally have node 1 hop to node 2 then through node 3
> and finally node 4.
>  
>         Node1…………………….Node2……………………………..Node3…………………………Node4
>  
> In this network hops are preferred rather than distant links with low RSSI
> values(-70).  The problem that I’m seeing is that the protocol chooses
> routes that have the least hops but have RSSI values at about -78 to -90
> rather than routing through the closest node with RSSI values in the -50
> range.
>  
> We adjusted the hop penalty to a low value (we used 1 and 0) and we did see
> improvement with the hop selection but the throughput is very low due to an
> RSSI of -64 or less.
>  
> Questions:
>  
> 1)       Is there a way to adjust BATMAN using batctl to select routes based
> on the RSSI value?
> a.       That is, choose to hop through a node with an RSSI of -50 and never
> select a node that has a lower RSSI

Nope, BATMAN only uses packet loss as a metric. It could be possibly adjusted 
to do so or low signal links could be filtered otherwise, but we would consider 
that a bad hack.

There is another suggestion: You could increase the multicast rate to a high 
value, e.g. 36 MBit/s or even higher. Higher rates only work with good 
signals, and since batman-adv uses broadcasts (which is multicast for WiFi), 
this will have a direct effect on your network.

> 2)       Does the algorithm for route selection use RSSI in the calculation
> and if so can we modify the algorithm to increase the importance of RSSI in
> the selection?

It currently doesn't use RSSI

> 3)       How do we gain access to the code to make these modifications?

Batman-adv is open source, and so is mac80211 and hopefully the WiFi driver 
you use. However, it'd really suggest to start with tuning the multicast rate. 
:)

Cheers,
    Simon

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

  reply	other threads:[~2015-05-07 17:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-07 17:00 [B.A.T.M.A.N.] FW: using Batman-adv Joseph Zimmer
2015-05-07 17:25 ` Simon Wunderlich [this message]
2015-05-08  6:33   ` Sven Eckelmann
2015-05-08 16:21     ` Joseph Zimmer
2015-05-07 18:19 ` Sven Eckelmann
2015-05-08 15:49 ` Ray Gibson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4837729.AoYrTN5tco@prime \
    --to=sw@simonwunderlich.de \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox