wifi: rtw89: dump dispatch status via debug port
authorChia-Yuan Li <leo.li@realtek.com>
Wed, 2 Nov 2022 01:42:59 +0000 (09:42 +0800)
committerKalle Valo <kvalo@kernel.org>
Tue, 8 Nov 2022 07:39:46 +0000 (09:39 +0200)
commitd6197c9121dd72f35e5702aa55ee5c1583e0bfdb
tree264d7031958900f22bddf6604270fd1a14b76506
parent417f173532cc1398e17a22bff50f93be40a8a7a8
wifi: rtw89: dump dispatch status via debug port

Dispatch is a component to decide packets forward to host, DMAC or
HAXIDMA. It contains CDT standing for CPU dispatcher, HDT standing
for host dispatcher, WDE standing for descriptor engine and PLE standing
for payload engine. STF is one kind of modes, it can be used if packet
send to hardware and doesn't need release report.

These debug port information can help to clarify the reason if
packets stuck in dispatch.

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-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/debug.c
drivers/net/wireless/realtek/rtw89/mac.h
drivers/net/wireless/realtek/rtw89/reg.h