From: Marek Lindner <lindner_marek@yahoo.de>
To: The list for a Better Approach To Mobile Ad-hoc Networking
<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] [PATCH 3/5] batman-adv: Make hop_penalty configurable via sysfs
Date: Sun, 10 Oct 2010 14:49:51 +0200 [thread overview]
Message-ID: <201010101449.52124.lindner_marek@yahoo.de> (raw)
In-Reply-To: <1286685001-15227-3-git-send-email-linus.luessing@web.de>
On Sunday 10 October 2010 06:29:59 Linus Lüssing wrote:
> When having a mixed topology of both very mobile and rather static
> nodes, you are usually best advised to set the originator interval on
> all nodes to a level best suited for the most mobile node.
>
> However, if most of the nodes are rather static, this can create a lot
> of undesired overhead as a trade-off then. If setting the interval too
> low on the static nodes, a mobile node might be chosen as a router for
> too long, not switching away from it fast enough because of its
> mobility and the low frequency of ogms of static nodes.
Any good reason for all these "originator interval" explanations here ?
> @@ -592,6 +592,7 @@ struct net_device *softif_create(char *name)
> atomic_set(&bat_priv->gw_mode, GW_MODE_OFF);
> atomic_set(&bat_priv->gw_class, 0);
> atomic_set(&bat_priv->orig_interval, 1000);
> + atomic_set(&bat_priv->hop_penalty, 30);
Either you initialize the value with TQ_HOP_PENALTY or you remove the define
from the main.h file.
Regards,
Marek
next prev parent reply other threads:[~2010-10-10 12:49 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-10 4:29 [B.A.T.M.A.N.] [PATCH 1/5] batman-adv: Wrapper functions for sysfs storing Linus Lüssing
2010-10-10 4:29 ` [B.A.T.M.A.N.] [PATCH 2/5] batman-adv: Introduce generic BAT_ATTR_* macros Linus Lüssing
2010-10-10 4:39 ` Linus Lüssing
2010-10-10 8:45 ` Andrew Lunn
2010-10-10 10:34 ` Sven Eckelmann
2010-10-10 12:42 ` Marek Lindner
2010-10-10 19:00 ` Linus Lüssing
2010-10-11 8:04 ` Sven Eckelmann
2010-10-10 4:29 ` [B.A.T.M.A.N.] [PATCH 3/5] batman-adv: Make hop_penalty configurable via sysfs Linus Lüssing
2010-10-10 12:49 ` Marek Lindner [this message]
2010-10-10 14:51 ` Linus Lüssing
2010-10-10 4:30 ` [B.A.T.M.A.N.] [PATCH 4/5] batman-adv: Make number of (re)broadcasts " Linus Lüssing
2010-10-10 12:53 ` Marek Lindner
2010-10-10 14:49 ` Linus Lüssing
2010-10-10 4:30 ` [B.A.T.M.A.N.] [PATCH 5/5] batman-adv: Fix resizing of broadcast seqno buffers on if deletion Linus Lüssing
2010-10-12 9:51 ` Marek Lindner
2010-10-10 8:12 ` [B.A.T.M.A.N.] [PATCH 1/5] batman-adv: Wrapper functions for sysfs storing Andrew Lunn
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=201010101449.52124.lindner_marek@yahoo.de \
--to=lindner_marek@yahoo.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