[RFC PATCH wireless] wifi: mt76: mt7925: get the survey airtime from the firmware
Devin Wittmayer
lucid_duck at justthetip.ca
Fri Nov 13 08:38:23 PST 2026
On Thu, Nov 12, 2026 at 11:30:19PM -0500, Chris wrote:
> Just checking in on this one. Is a v2 still planned? I’ve been running
> the RFC on a Netgear A9000 (MT7925U) since late October. Busy time now
> follows the channel, and the readings look right.
Yes, but it is on hold. With the A9000 at USB 2.0 the firmware is slow
to answer the query during a download, the query times out and the
chip gets reset. MediaTek's series for the same counters does it too.
I wrote that up here:
https://lore.kernel.org/linux-wireless/20261113150048.5271-1-lucid_duck@justthetip.ca/
v2 has to get past that first.
> As I mentioned in my last reply, I take the busy, rx and tx deltas in
> 32 bits, since offset 19 wraps about every 72 minutes. Since then,
> about one reading a day still comes out near 2^64, so roughly 2^32 µs
> below the previous one, as if the counter stepped back. All but one
> were on 2412 MHz. I haven’t dug into it, but it may be worth a look
> before v2.
v2 takes all three differences in 32 bits, the way you suggested. With
a wrap forced early the RFC steps back by 2^32 us and v2 does not.
After that change the totals can only go up, so is your once-a-day
reading from the RFC as posted, or with the change in your driver?
Thanks for keeping it running.
Devin
More information about the Linux-mediatek
mailing list