From: Ben Greear <greearb@candelatech.com>
To: Johannes Berg <johannes@sipsolutions.net>,
Allan Matthew <allanm84@gmail.com>,
linux-wireless@vger.kernel.org
Subject: Re: set channel from radiotap headers during injection
Date: Wed, 19 Aug 2015 10:44:08 -0700 [thread overview]
Message-ID: <55D4C068.70607@candelatech.com> (raw)
In-Reply-To: <1439983495.2089.7.camel@sipsolutions.net>
On 08/19/2015 04:24 AM, Johannes Berg wrote:
> 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.
At least with ath9k, it is possible to send HT20 frames
when the radio has other vifs on the same radio sending HT40 frames, for instance.
(And rate-ctrl will do the same thing even for an 'ht40' vif).
ath10k hardware has same general ability, but you have no good way to
get radiotap info to the firmware at this time.
As long as the center freq is the same, it might also be possible to do smaller
bandwith encodings as well.
I would agree that if you are changing the center freq you have little to no chance
of this working as expected.
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next prev parent reply other threads:[~2015-08-19 17:44 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
2015-08-25 17:47 ` Allan Matthew
2015-08-25 17:48 ` Johannes Berg
2015-08-19 17:44 ` Ben Greear [this message]
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=55D4C068.70607@candelatech.com \
--to=greearb@candelatech.com \
--cc=allanm84@gmail.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).