Search Linux Wireless

MikroTik R11e 5HnD monitor mode

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

 



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




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

  Powered by Linux