linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
Cc: linville@tuxdriver.com, linux-wireless@vger.kernel.org, nbd@openwrt.org
Subject: Re: [PATCH 1/2] mac80211: Add support of transmit power control (TPC) per data packet
Date: Mon, 30 Jul 2012 15:38:21 +0200	[thread overview]
Message-ID: <1343655501.4452.15.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <5016702D.8000801@net.t-labs.tu-berlin.de>

On Mon, 2012-07-30 at 13:29 +0200, Thomas Huehn wrote:

> >> - *    { 3, 2 }, { 2, 2 }, { 1, 4 }, { -1, 0 }, { -1, 0 }
> >> + *    { 3, 2, 16 }, { 2, 2, 10 }, { 1, 4, 5 }, { -1, 0, 0 }
> >>   * then this means that the frame should be transmitted
> >> - * up to twice at rate 3, up to twice at rate 2, and up to four
> >> - * times at rate 1 if it doesn't get acknowledged. Say it gets
> >> - * acknowledged by the peer after the fifth attempt, the status
> >> + * up to twice at rate 3 with 16 dBm, up to twice at rate 2 with 10 dBm,
> > 
> > You might want to consider using 1/2 or 1/4 dBm granularity? A lot of
> > hardware can do that.
> > 
> 
> 
> The choice of 1 dBm as step width was based on our experiments with
> Atheros chips that do support up to 0,5dBm step width. We concluded that
> 1dBm is sufficient as it provides 20 steps from 1 till 100 mWatt as
> dynamic range of control. But there is no problem for my tpc algorithm
> to handle a granularity of 0.5 dBm as step size, or any other upcoming
> tpc controller. Should we gather some feedback about todays hardware
> specs in terms of tx_power abilities? Or should I just apply 0.5 dBm
> steps in v2 ?

I have no idea, it was really just a thought. I believe Broadcom HW can
handle 1/4 dBm, but then you'd have to know what the granularity really
is otherwise it all doesn't make much sense...

It really only gets interesting if there's a limit (regulatory or
otherwise) that isn't a full dBm, because then the algorithm couldn't
use the maximum permitted power, right? Say there's a 14.5 dBm limit,
then the algorithm could only go up to 14 dBm.

johannes


  reply	other threads:[~2012-07-30 13:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-27 16:00 [PATCH 0/2] mac80211: Add transmit power control (TPC) support Thomas Huehn
2012-07-27 16:00 ` [PATCH 1/2] mac80211: Add support of transmit power control (TPC) per data packet Thomas Huehn
2012-07-30  7:34   ` Johannes Berg
2012-07-30 11:29     ` Thomas Huehn
2012-07-30 13:38       ` Johannes Berg [this message]
2012-07-27 16:00 ` [PATCH 2/2] mac80211: Add transmit power control support (TPC) for ACK packets Thomas Huehn
2012-07-27 21:36   ` Christian Lamparter
2012-07-28 14:36     ` Thomas Huehn
2012-07-30  7:36   ` Johannes Berg

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=1343655501.4452.15.camel@jlt3.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=nbd@openwrt.org \
    --cc=thomas@net.t-labs.tu-berlin.de \
    /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).