wifi: rtw89: add to dump TX FIFO 0/1 for 8852C
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 30 Sep 2022 13:44:17 +0000 (21:44 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 5 Oct 2022 07:43:19 +0000 (10:43 +0300)
commit732dd91db3d3a1b7a767598549ffed358c9fbb89
tree0f7ffac9ad4ae5c1afd3fa2a4fafc46acc69f69f
parentd187691ab63f53f199a07904422e0911bc6f9390
wifi: rtw89: add to dump TX FIFO 0/1 for 8852C

MAC maintains TX FIFO to transmit packets with meta data to BB layer. To
debug abnormal transmission, we need to dump the content to dig problem.
Since FIFO of 8852C locates on different address with different size and
need additional switch to enable read operation, this patch adds the
changes accordingly.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220930134417.10282-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/debug.c
drivers/net/wireless/realtek/rtw89/mac.c
drivers/net/wireless/realtek/rtw89/mac.h