Search Linux Wireless

Re: set channel from radiotap headers during injection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux