ath10k: about packet injection
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.
- xuebing wang
_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
Quoted 4 lines · Xuebing Wang
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
_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
Quoted 12 lines · Michal Kazior
Quoted 4 lines · Xuebing Wang
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 inmac.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
Quoted 4 lines
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.
xuebing
_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
Quoted 20 lines · Xuebing Wang
Quoted 19 lines · Michal Kazior
Quoted 5 lines · Xuebing Wang
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 inmac.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 problemEither way you're at the mercy of firmware blob :)
Quoted 7 lines
Quoted 1 line
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.
Michal
_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k