[PATCH v4 5/5] [PATCH v4] [PATCH 05/05] wifi: mt76: mt7922/mt7928: send Tx/Rx statistics to FW for link tuning

Felix Fietkau nbd at nbd.name
Tue Oct 6 07:48:31 PDT 2026


Hi,

On 05.10.26 10:31, Anthony Liu wrote:
> Update Tx/Rx statistics to FW for link speed tuning in FW.
> 
> Signed-off-by: Anthony Liu <anthony.liu at mediatek.com>
A few issues in this series:
1. Please fix the email subject
2. It seems that some places may need checks to exclude mt7921.
3. Some duplication in debugfs.c
4. mt792x_mcu_set_perf_ind could be static
5. Check if the pointer derefs in mt792x_perf_account_rx are safe.

Aside from this, I also have some questions:
- is this on by default or can it only be enabled via debugfs?
- why does the host have to keep statistics on tx/rx, when the firmware 
could do that and handle it internally?

Thanks,

- Felix



More information about the Linux-mediatek mailing list