mt76: MT7921K monitor mode not working
Lorenzo Bianconi
lorenzo at kernel.org
Fri Dec 3 08:09:20 PST 2021
> On Thursday, 2 December 2021 23:13:31 CET Lorenzo Bianconi wrote:
> > IIRC you need to disable runtime-pm and deep-sleep to proper enable monitor
> > mode:
> >
> > echo 0 > /sys/kernel/debug/ieee80211/phy<x>/mt76/runtime-pm
> > echo 0 > /sys/kernel/debug/ieee80211/phy<x>/mt76/deep-sleep
> >
> > Can you please give it whirl?
>
> Jan gave me the card. I've set it to a rather busy channel (2.4GHz channel
> 11), created a monitor interface, attached tcpdump and then waited what
> happens. I didn't get anything and then I've tried to set runtime-pm and deep-
> sleep to 0. This didn't change the behavior for me at lot. I saw two packets
> and then it went silent again.
>
> I wanted to try the same on a different card (ath11k) in the same system. But
> it crashed my complete system - so I had to recreate the test setup. This time,
> I've set runtime-pm + deep-sleep to 0 before creating mon0. After doing this,
> it seemed to work.
interesting, adding Sean to the loop here.
It seems the fw is mainting a different state in this case.
@Sean: any pointers?
Regards,
Lorenzo
>
> Kind regards,
> Sven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20211203/5e069324/attachment.sig>
More information about the Linux-mediatek
mailing list