]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
wifi: rtw89: add counters of register-based H2C/C2H
authorPing-Ke Shih <pkshih@realtek.com>
Thu, 16 Mar 2023 06:39:56 +0000 (14:39 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 3 Apr 2023 13:36:26 +0000 (16:36 +0300)
commite749ef968f14a92155b2c3138d7720cf39e65e00
tree5f28f01424cbca67ef62f63177ab238f3dd10ca0
parent7527251f77664dd19716f36f53b723845d537eec
wifi: rtw89: add counters of register-based H2C/C2H

The register-based H2C/C2H are used to exchange information between driver
and firmware, but only apply to narrow area because its data size is
smaller than regular packet-based H2C/C2H.

This kind of H2C/C2H must be paired. To identify if any H2C/C2H is missing,
update counters to help diagnose this kind of problems.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230316063956.71687-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/fw.c
drivers/net/wireless/realtek/rtw89/mac.c
drivers/net/wireless/realtek/rtw89/reg.h
drivers/net/wireless/realtek/rtw89/rtw8852a.c
drivers/net/wireless/realtek/rtw89/rtw8852b.c
drivers/net/wireless/realtek/rtw89/rtw8852c.c