linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Antonio Quartulli <antonio@open-mesh.com>
To: Helmut Schaa <helmut.schaa@googlemail.com>
Cc: Johannes Berg <johannes@sipsolutions.net>,
	linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH 1/3] cfg80211: add get_max_tp() API
Date: Fri, 5 Apr 2013 10:39:56 +0200	[thread overview]
Message-ID: <20130405083956.GA14463@open-mesh.com> (raw)
In-Reply-To: <CAGXE3d98a4pBG=gWKUm9A2RJRN+eic4Zi8dh4grTuqQmW3GOsg@mail.gmail.com>

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

Hi Helmut,

On Fri, Apr 05, 2013 at 01:21:06AM -0700, Helmut Schaa wrote:
> Hi Antonio,
> 
> On Thu, Apr 4, 2013 at 9:57 PM, Antonio Quartulli <antonio@open-mesh.com> wrote:
> > This new API is aimed to let other modules in the kernel
> > fetch the maximum throughput value towards a peer over
> > a given VIF.
> 
> Just curios, what's the intended use for this?
> 

In the batman-adv module (which implements a routing protocol for mesh networks
on layer 2) we are trying to switch metric from packet loss to throughput and
the idea is to read the estimation from the rate control component (thanks to
the API mechanism in cfg/mac80211 this can be eventually changed later).

I am not entirely sure that the value I proposed to read (the maximum in the
rate table) is the one which better plays the needed role. But the preliminar
tests demonstrated that it  :)


Cheers,


-- 
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2013-04-05  8:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-04 19:57 [PATCH 1/3] cfg80211: add get_max_tp() API Antonio Quartulli
2013-04-04 19:57 ` [PATCH 2/3] mac80211: add rate_control_ops::get_max_tp() and implement it Antonio Quartulli
2013-04-04 19:57 ` [PATCH 3/3] mac80211: implement cfg80211_ops::get_max_tp() API Antonio Quartulli
2013-04-05  8:21 ` [PATCH 1/3] cfg80211: add get_max_tp() API Helmut Schaa
2013-04-05  8:39   ` Antonio Quartulli [this message]
2013-04-05 13:20     ` Johannes Berg
2013-04-06  7:33       ` Antonio Quartulli
2013-04-09 10:25         ` Johannes Berg
2013-04-09 11:34           ` Antonio Quartulli
2013-04-11  9:56             ` Johannes Berg
2013-04-11  9:57               ` Johannes Berg
2013-04-12 14:10                 ` Antonio Quartulli

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=20130405083956.GA14463@open-mesh.com \
    --to=antonio@open-mesh.com \
    --cc=helmut.schaa@googlemail.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.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).