From: Marek Lindner <mareklindner@neomailbox.ch>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Antonio Quartulli <antonio@open-mesh.com>
Subject: Re: [B.A.T.M.A.N.] [PATCH v2 09/12] batman-adv: ELP - compute the metric based on the estimated throughput
Date: Tue, 19 Jan 2016 23:22:09 +0800 [thread overview]
Message-ID: <2738035.KKfpO6mouK@voltaire> (raw)
In-Reply-To: <1452933619-6712-9-git-send-email-mareklindner@neomailbox.ch>
[-- Attachment #1: Type: text/plain, Size: 1211 bytes --]
On Saturday, January 16, 2016 16:40:16 Marek Lindner wrote:
> From: Antonio Quartulli <antonio@open-mesh.com>
>
> In case of wireless interface retrieve the throughput by
> querying cfg80211. To perform this call a separate work
> must be scheduled because the function may sleep and this
> is not allowed within an RCU protected context (RCU in this
> case is used to iterate over all the neighbours).
>
> Use ethtool to retrieve information about an Ethernet link
> like HALF/FULL_DUPLEX and advertised bandwidth (e.g.
> 100/10Mbps).
>
> The metric is updated each time a new ELP packet is sent,
> this way it is possible to timely react to a metric
> variation which can imply (for example) a neighbour
> disconnection.
>
> Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
> ---
> compat.h | 21 +++++
> net/batman-adv/bat_v.c | 3 +
> net/batman-adv/bat_v_elp.c | 207
> +++++++++++++++++++++++++++++++++++++++++++++ net/batman-adv/bat_v_elp.h
> | 2 +
> net/batman-adv/bat_v_ogm.c | 2 +-
> net/batman-adv/main.h | 4 +
> net/batman-adv/types.h | 16 ++++
> 7 files changed, 254 insertions(+), 1 deletion(-)
Applied in revision 5c32451.
Thanks,
Marek
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2016-01-19 15:22 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-16 8:39 [B.A.T.M.A.N.] B.A.T.M.A.N. V leaves the nest v2 Marek Lindner
2016-01-16 8:40 ` [B.A.T.M.A.N.] [PATCH v2 01/12] batman-adv: Add hard_iface specific sysfs wrapper macros for UINT Marek Lindner
2016-01-19 15:08 ` Marek Lindner
2016-01-16 8:40 ` [B.A.T.M.A.N.] [PATCH v2 02/12] batman-adv: ELP - adding basic infrastructure Marek Lindner
2016-01-19 15:10 ` Marek Lindner
2016-01-16 8:40 ` [B.A.T.M.A.N.] [PATCH v2 03/12] batman-adv: ELP - creating neighbor structures Marek Lindner
2016-01-19 15:11 ` Marek Lindner
2016-01-16 8:40 ` [B.A.T.M.A.N.] [PATCH v2 04/12] batman-adv: ELP - adding sysfs parameter for elp interval Marek Lindner
2016-01-19 15:12 ` Marek Lindner
2016-01-16 8:40 ` [B.A.T.M.A.N.] [PATCH v2 05/12] batman-adv: OGMv2 - add basic infrastructure Marek Lindner
2016-01-19 15:14 ` Marek Lindner
2016-01-16 8:40 ` [B.A.T.M.A.N.] [PATCH v2 06/12] batman-adv: OGMv2 - implement originators logic Marek Lindner
2016-01-19 15:15 ` Marek Lindner
2016-01-16 8:40 ` [B.A.T.M.A.N.] [PATCH v2 07/12] batman-adv: add throughput override attribute to hard_ifaces Marek Lindner
2016-01-19 15:16 ` Marek Lindner
2016-01-16 8:40 ` [B.A.T.M.A.N.] [PATCH v2 08/12] batman-adv: keep track of when unicast packets are sent Marek Lindner
2016-01-19 15:20 ` Marek Lindner
2016-01-16 8:40 ` [B.A.T.M.A.N.] [PATCH v2 09/12] batman-adv: ELP - compute the metric based on the estimated throughput Marek Lindner
2016-01-19 15:22 ` Marek Lindner [this message]
2016-01-16 8:40 ` [B.A.T.M.A.N.] [PATCH v2 10/12] batman-adv: B.A.T.M.A.N. V - implement neighbor comparison API calls Marek Lindner
2016-01-19 15:24 ` Marek Lindner
2016-01-16 8:40 ` [B.A.T.M.A.N.] [PATCH v2 11/12] batman-adv: B.A.T.M.A.N. V - implement bat_orig_print API Marek Lindner
2016-01-19 15:25 ` Marek Lindner
2016-01-16 8:40 ` [B.A.T.M.A.N.] [PATCH v2 12/12] batman-adv: B.A.T.M.A.N. V - implement bat_neigh_print API Marek Lindner
2016-01-19 15:26 ` Marek Lindner
2016-01-21 11:56 ` [B.A.T.M.A.N.] B.A.T.M.A.N. V leaves the nest v2 Sven Eckelmann
2016-01-21 13:47 ` [B.A.T.M.A.N.] OpenWrt cfg80211.h station_info incompatibility with kernel+mac80211 [was: B.A.T.M.A.N. V leaves the nest v2] Sven Eckelmann
2016-01-21 13:55 ` Felix Fietkau
2016-01-21 14:03 ` Sven Eckelmann
2016-01-21 14:02 ` Antonio Quartulli
2016-01-21 14:34 ` Sven Eckelmann
2016-01-21 14:26 ` Sven Eckelmann
2016-01-21 14:47 ` Felix Fietkau
2016-01-21 15:16 ` Sven Eckelmann
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=2738035.KKfpO6mouK@voltaire \
--to=mareklindner@neomailbox.ch \
--cc=antonio@open-mesh.com \
--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;
as well as URLs for NNTP newsgroup(s).