All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Allan Matthew <allanm84@gmail.com>, linux-wireless@vger.kernel.org
Subject: Re: set channel from radiotap headers during injection
Date: Wed, 19 Aug 2015 13:24:55 +0200	[thread overview]
Message-ID: <1439983495.2089.7.camel@sipsolutions.net> (raw)
In-Reply-To: <CAEnVuW1FcyBj2+ti8U8KF+rM0xO_Q+rw6PxXqgWy8WO0vRX6yg@mail.gmail.com> (sfid-20150814_234019_925894_43212D3A)

On Fri, 2015-08-14 at 14:39 -0700, Allan Matthew wrote:
> Anyone have any thoughts on this?
> 
> Is it possible with channel context enabled somehow?
> 

I don't think it's possible - per-packet configuration would have to be
basically instantaneous (cannot sleep etc.) and setting the channel is
necessarily a much longer operation.

If your device supports channel contexts, you might be able to *pick*
the channel you want to inject on, but you could probably achieve that
through the existing MAC address selection that picks an interface.
It's also not clear how monitor + chanctx would work at all, since
monitor expects to be on the channel all the time.

You could possibly select other parameters like the bitrate, but the
channel width - especially 5/10 MHz - doesn't seem feasible.

johannes

  reply	other threads:[~2015-08-19 11:24 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 [this message]
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
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=1439983495.2089.7.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.