[PATCH wireless v2] wifi: mt76: mt7925: get the survey airtime from the firmware
Chris
hoopyfrood42 at gmail.com
Wed Nov 18 04:43:03 PST 2026
On Wed, Nov 18, 2026 at 2:23 AM Michael Shih (史君仲)
<Michael.Shih at mediatek.com> wrote:
>
> Hi Chris,
> Thanks for digging into this.
> Short answer: on MT7925 the noise floor is not exposed to the host
> today.
>
> For additional info, the MT7915 and MT7996 chips are for AP. While
> MT7925/MT7928 are STA roles.
>
> I've also checked on our MT7925/MT7928 chip's FW, and here is what I
> know:
>
> 1. It's not in GET_MIB_INFO.
> Neither the MIB_INFO response nor the UNI MIB counter set carries a
> noise / NF / IPI field — they're CCA/ED/channel-idle time counters
> only. That's consistent with what you saw: mt792x_phy_get_nf()
> returning 0 is accurate, there's simply no MIB field to read.
>
> 2. Why reading IRPI directly gives zeros, and why IPI_EN "didn't stick"
> + caused MCU timeouts.
> The IRPI histogram registers and the IPI_EN control do exist on this
> chip.
>
> Thanks.
>
Hi Michael,
Thanks, that settles the MIB side: no noise field in GET_MIB_INFO, so
mt792x_phy_get_nf() returning 0 is accurate, not a bug.
On point 2, it looks like the explanation was cut off:
> 2. Why reading IRPI directly gives zeros, and why IPI_EN "didn't stick"
> + caused MCU timeouts.
> The IRPI histogram registers and the IPI_EN control do exist on this
> chip.
The mail ends there. Could you send the rest? In particular:
- Why do the IRPI bins read zero from the host? Is the histogram owned
or reset by the firmware, or does it need some other enable or bank
select first?
- Is there a supported way for the host to turn on IPI collection on
MT7925 (a firmware command rather than a direct register write) that
won't trip the MCU timeouts we saw?
- If there isn't one today, could it be added with the firmware change
you mentioned for tx time?
A noise floor or IPI histogram is the one RF figure we can't get from
MT7925 in monitor mode. I'm happy to test any firmware or driver change
on an MT7925 USB adapter (Netgear A9000).
Thanks,
Chris
More information about the Linux-mediatek
mailing list