Linux wireless drivers development
 help / color / mirror / Atom feed
* Re: [PATCH v4 5/5] [PATCH v4] [PATCH 05/05] wifi: mt76: mt7922/mt7928: send Tx/Rx statistics to FW for link tuning
@ 2026-11-02  7:17 Anthony Liu (劉良棟)
  2026-11-26  9:54 ` [PATCH v5 0/5] wifi: mt76: optimize mt7922/mt7928 T-put per Tx/Rx stats Anthony Liu
  0 siblings, 1 reply; 8+ messages in thread
From: Anthony Liu (劉良棟) @ 2026-11-02  7:17 UTC (permalink / raw)
  To: Felix Fietkau, lorenzo@kernel.org
  Cc: Sean Wang, Leon Yen (顏良儒),
	Quan Zhou (周全), Ryder Lee,
	Litien Chang (張立典),
	Kun Wu (吳謹至),
	JB Tsai (蔡志彬),
	Emery Hsin (辛承宣),
	linux-wireless@vger.kernel.org,
	linux-mediatek@lists.infradead.org

Hi, Felix,

Thanks for reviewing.

On Tue, 2026-10-06 at 16:48 +0200, Felix Fietkau wrote:

> 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@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.

I'll revise accordingly. One issue occurred is this is a 5-patches
series. But I found the first patch is already in nbd/wireless.

Should I upload 4 v5 patches (2~5) or how to do this properly?

> 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?

1. It's meant to be turned on via debugfs so customers can turn
   turn on/off based on their need.

2. There are a few reasons for this:

a. This is a working and common design among several chips' F/W
   and other platform drivers.
b. F/W size is approaching it's limits in several chip branches.
   To keep design consistent, we chose to not add more complexity
   to the maintenance of F/W.

br, anthony

> Thanks,
> 
> - Felix


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-11-26 16:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-02  7:17 [PATCH v4 5/5] [PATCH v4] [PATCH 05/05] wifi: mt76: mt7922/mt7928: send Tx/Rx statistics to FW for link tuning Anthony Liu (劉良棟)
2026-11-26  9:54 ` [PATCH v5 0/5] wifi: mt76: optimize mt7922/mt7928 T-put per Tx/Rx stats Anthony Liu
2026-11-26  9:54   ` [PATCH v5 1/5] wifi: mt76: refactor chip_config to accept generic commands Anthony Liu
2026-11-26  9:54   ` [PATCH v5 2/5] wifi: mt76: refactor chip_cfg commands to be a generic API Anthony Liu
2026-11-26  9:54   ` [PATCH v5 3/5] wifi: mt76: add ACPI MTFG option for bus configuration Anthony Liu
2026-11-26  9:54   ` [PATCH v5 4/5] wifi: mt76: add PCIe speed tuning for mt7922/mt7928 Anthony Liu
2026-11-26  9:54   ` [PATCH v5 5/5] wifi: mt76: mt7922/mt7928: send Tx/Rx statistics to FW for link tuning Anthony Liu
2026-11-26 16:03   ` [PATCH v5 0/5] wifi: mt76: optimize mt7922/mt7928 T-put per Tx/Rx stats Felix Fietkau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox