ath10k: about packet injection

Michal Kazior michal.kazior at
Wed Oct 5 23:15:12 PDT 2016

On 6 October 2016 at 04:11, Xuebing Wang <xbing6 at> wrote:
> On 2016年09月19日 19:13, Michal Kazior wrote:
>> On 19 September 2016 at 01:27, Xuebing Wang <xbing6 at> wrote:
>>> Hi Community,
>>> ath10k wiki says packet injection isn't supported yet. Is it difficult to
>>> add packet injection for chip like QCA6174 hw 2.1 in Killer 1525? Thanks.
>> This would require some tricks:
>>   - monitor vdev can't tx so you'll need other vdev type allocated
>> side-by-sdie
>>   - tx often may require peer entries (see offchan code in mac.c)
>>   - getting raw mode to work may be a problem and may require some
>> length-encoding hacks
>>   - injecting protected (software encrypted) frames might be a problem
>> Either way you're at the mercy of firmware blob :)
>> Michal
> Hi Michal,
> It seems QCA6174A hw2.1 firmware-5 does not support rawmode, dmesg shows
> firmware features "ignore-otp,no-4addr-pad". Is rawmode necessary for packet
> injection Tx? Thanks.

It's not strictly necessary if you want to hack it up. Raw tx encap
will be very likely (at least) borked as far as offsets/lengths are
concerned and some hacks/workarounds will be necessary to make it send
out correct frames on the air.


More information about the ath10k mailing list