linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Allan Matthew <allanm84@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: set channel from radiotap headers during injection
Date: Tue, 25 Aug 2015 11:36:49 +0200	[thread overview]
Message-ID: <1440495409.2192.16.camel@sipsolutions.net> (raw)
In-Reply-To: <CAEnVuW28F2g_x65UzvH-RGpLON+YR2KoJ7dM=3j7gP11VJ8WEg@mail.gmail.com> (sfid-20150825_024629_360431_CBDD71CD)

On Mon, 2015-08-24 at 17:46 -0700, Allan Matthew wrote:
> 
> Johannes- What about txpower?  Should this be configurable through 
> the radiotap headers?

It's ... complicated. First of all, it's currently not supported I
believe, in general, since there's no parsing code. Obviously, parsing
code can be changed, and I think there might even be patches floating
around for that.

However, not all hardware supports per-frame TX power control. Some
might, most will not. Until fairly recently, there was also no API with
drivers to allow setting TX power per frame. This changed with the
addition of TX power control to rate control, of course.

So I think similar to rate control the situation is that it could be
done, but there are many corner cases where it won't work reliably. I'd
apply clean patches that add the functionality while documenting the
issues.

johannes

  reply	other threads:[~2015-08-25  9:36 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-13 18:22 set channel from radiotap headers during injection Allan Matthew
2015-08-14 21:39 ` Allan Matthew
2015-08-19 11:24   ` Johannes Berg
2015-08-19 16:37     ` Allan Matthew
2015-08-19 18:09       ` Johannes Berg
2015-08-19 19:00         ` Allan Matthew
2015-08-19 19:41           ` Johannes Berg
2015-08-19 19:50             ` Allan Matthew
2015-08-19 19:53               ` Johannes Berg
2015-08-19 20:43                 ` Allan Matthew
2015-08-25  0:46                   ` Allan Matthew
2015-08-25  9:36                     ` Johannes Berg [this message]
2015-08-25 17:47                       ` Allan Matthew
2015-08-25 17:48                         ` Johannes Berg
2015-08-19 17:44     ` Ben Greear
2015-08-19 18:02       ` 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=1440495409.2192.16.camel@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=allanm84@gmail.com \
    --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).