linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* MikroTik R11e 5HnD monitor mode
@ 2025-05-13 16:19 Oleksiy Protas
  2025-05-14 18:04 ` [PATCH] " Oleksiy Protas
  0 siblings, 1 reply; 5+ messages in thread
From: Oleksiy Protas @ 2025-05-13 16:19 UTC (permalink / raw)
  To: linux-wireless

Hello,

I'm sampling different wifi cards for a drone radio project (OpenHD).
Essentially it puts the card into monitor mode and injects/sniffs out
frames directly bypassing the whole 802.11 stack. This works fine with
"conventional" RTL8812au, but I get very strange behavior with
MikroTik R11e 5HnD.

The card is served by the ath9k driver, AR9580 chipset. lspci:
> 01:00.0 Network controller: Qualcomm Atheros AR958x 802.11abgn Wireless Network Adapter (rev 01)
Manufacturer page: https://mikrotik.com/product/R11e-5HnD

What I see happening is that on the TX side what essentially uses
PF_PACKET sockets, the monitor mode code is unable to find a correct
queue and goes into the following error:
> af_packet: wlan0 selects TX queue 2, but real number of TX queues is 1

On the RX side it's even more confusing. The card goes into monitor
mode as intended (via command line, without any extra software being
involved) and can see the radio frames, but only for a split second
after switching channels. Whenever I do "iw wlan0 set channel XXX" it
captures like 2-5 frames according to ifconfig and just stops. If I
switch to another channel and back, it captures a bunch again and
stops another time.

To me it seems that there is some mismatch with TX/RX queues in the
driver or somewhere higher up in the stack. I wonder if anyone can
give some guidance on how to investigate it further. (Got embedded
experience, not so much for the wifi drivers specifically).

Thank you.

Kind regards,
Alex

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-08-11 12:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-13 16:19 MikroTik R11e 5HnD monitor mode Oleksiy Protas
2025-05-14 18:04 ` [PATCH] " Oleksiy Protas
2025-05-14 18:04   ` [PATCH] ath9k: keep ANI in " Oleksiy Protas
2025-08-11 12:18     ` Toke Høiland-Jørgensen
2025-05-14 19:11   ` MikroTik R11e 5HnD " Oleksiy Protas

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).