From: "\"Sebastián D. Criado\"" <sebastian.criado@gmail.com>
To: The list for a Better Approach To Mobile Ad-hoc Networking
<b.a.t.m.a.n@lists.open-mesh.net>
Subject: Re: [B.A.T.M.A.N.] VIS labels
Date: Sat, 18 Jul 2009 12:32:50 -0300 [thread overview]
Message-ID: <4A61EB22.8060108@gmail.com> (raw)
In-Reply-To: <200907181338.56870.lindner_marek@yahoo.de>
El 18/07/09 02:38, Marek Lindner escribió:
> On Saturday 18 July 2009 06:43:38 Sebastián D. Criado wrote:
[...]
>> Am I wrong?
>
> The given code converts batman's own format into the format I mentioned
> earlier. Currently, batman uses a so called TQ value which expresses link
> quality as well and has its max value at 255. Performance considerations led
> to this kind of representation (you want to avoid float operations on embedded
> devices). Imagine a link quality of 66.6%:
>
> 255 (TQ max) * 66.6% = 170
>
> 255 / 170 [orig_node->tq_max/(float)neigh->tq_avg] = 1.5 (vis label)
>
> 100 / 1.5 [100 / $number] = 66.6% (link quality)
Thank you very much Marek.
I now understand it better
>
> May be I should put that in the wiki somewhere ... :-)
Yes. Sure that will be helpful for more people
Saludos.-
--
Sebastian.Criado@gmail.com - GPG: 1024D/FB208AA2
797A 6D01 B7FC B8C7 AD5E|counter.li.org: #146768
2A50 66E6 2FFB FB20 8AA2|http://www.lugro.org.ar
http://noalamatricula.wordpress.com/about/ read!
"Si el Universo fuera un programa estaría hecho
en C, y correría sobre un sistema UNIX" Anónimo.
prev parent reply other threads:[~2009-07-18 15:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-16 14:55 [B.A.T.M.A.N.] VIS labels Gustavo Lindberg
2009-07-17 13:54 ` Marek Lindner
2009-07-17 15:12 ` "Sebastián D. Criado"
2009-07-17 18:52 ` Marek Lindner
2009-07-17 22:43 ` "Sebastián D. Criado"
2009-07-18 5:38 ` Marek Lindner
2009-07-18 15:32 ` "Sebastián D. Criado" [this message]
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=4A61EB22.8060108@gmail.com \
--to=sebastian.criado@gmail.com \
--cc=b.a.t.m.a.n@lists.open-mesh.net \
/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