summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/realtek/rtw89/regd.c
diff options
context:
space:
mode:
authorChia-Yuan Li <leo.li@realtek.com>2022-11-02 09:43:00 +0800
committerKalle Valo <kvalo@kernel.org>2022-11-08 09:39:47 +0200
commitf7333fc2135b96dc36965a8e711a9275432256df (patch)
tree34484520db4dd55c3a8a225b024a2f7d6396b889 /drivers/net/wireless/realtek/rtw89/regd.c
parentd6197c9121dd72f35e5702aa55ee5c1583e0bfdb (diff)
wifi: rtw89: update D-MAC and C-MAC dump to diagnose SER
To detect TX or RX stuck, we implement SER (system error recovery) in firmware to recover abnormal states of hardware, and report events to driver. This kind of events could happen rarely per day. SER might be true-positive or false-negative cases, and it could be failed to recover true-positive case. We dump related registers to kernel message at that moment and collect them from users, because they occur rarely, randomly and hard to make sure we reproduce the same symptom. To address problems accurately, add more registers by this patch. It also might be false-positive cases that looks like TX or RX get stuck, we need to dump registers from debugfs manually, so also add similar things to debugfs as well. Signed-off-by: Chia-Yuan Li <leo.li@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20221102014300.14091-3-pkshih@realtek.com
Diffstat (limited to 'drivers/net/wireless/realtek/rtw89/regd.c')
0 files changed, 0 insertions, 0 deletions