linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Antonio Quartulli <antonio@open-mesh.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Helmut Schaa <helmut.schaa@googlemail.com>,
	linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH 1/3] cfg80211: add get_max_tp() API
Date: Fri, 12 Apr 2013 16:10:40 +0200	[thread overview]
Message-ID: <20130412141040.GF4717@open-mesh.com> (raw)
In-Reply-To: <1365674261.8272.38.camel@jlt4.sipsolutions.net>

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

On Thu, Apr 11, 2013 at 02:57:41AM -0700, Johannes Berg wrote:
> On Thu, 2013-04-11 at 11:56 +0200, Johannes Berg wrote:
> > On Tue, 2013-04-09 at 13:34 +0200, Antonio Quartulli wrote:
> > 
> > > > Anyway my concern is that you're adding something that's rather minstrel
> > > > specific. It's not really usable by any other algorithm, you're
> > > > reporting minstrel's estimation of the throughput. If you report the
> > > > current "best" rate, that'll probably get you pretty much the same
> > > > behaviour overall, but be more portable to other algorithms I think.
> > > 
> > > I understand your concern. My guess was that every algorithm was "somehow" able
> > > to provide such measurement. The point is that the throughput value is computed
> > > so that it also take probability of success into consideration.
> > > This means that two nodes using the same rate may have different throughputs
> > > (and this is important when building our distributed metric).
> > > 
> > > However, nothing prevents any algorithm to implement the API the way it can do.
> > > I've not looked into other RC implementations yet, but I guess they would have a
> > > similar value to return too?
> > 
> > Maybe, yeah.
> > 
> > Anyway, I think having a separate externally visible API here is
> > overkill. It would seem a lot simpler to return it (to userspace) in the
> > station information, and (separately) allow other kernel modules to
> > request station information as well.

Ok, sounds good!

> > 
> > Also I'm not sure it should be called "max_tp"? It's more like "expected
> > throughput" or something like that?
> 
> Hm, no, that's not really it either ... It's maybe more like "current
> usable data rate" (as opposed to PHY rate?)
> 

Mh..well, it is not a "real" value, so I would not use neither "expected" nor
"usable". It is supposed to be the result of a computation giving us an
estimation of the current/last throughput. "estimated throughput" sounds bad?

Well the name is not really important I guess :) I start sending some code using
the latter. We may change it at the end before merging (if you decide to do so).

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-12 14:12 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
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 [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=20130412141040.GF4717@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).