wifi: rtw89: use chip_info::small_fifo_size to choose debug_mask
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 21 Apr 2023 02:45:48 +0000 (10:45 +0800)
committerKalle Valo <kvalo@kernel.org>
Fri, 5 May 2023 12:00:14 +0000 (15:00 +0300)
commitce816ab54bc927f893e17e7e6b9b68e30dd4b4a1
tree48beae0a9bf0908fb74d9386fbb8425b4ebd013d
parent0789881aa3703b2ceb4c0f9a9c7d69f3fb7efd8d
wifi: rtw89: use chip_info::small_fifo_size to choose debug_mask

Previously, 8852B has smaller FIFO size than others, so I use chip_id to
choose debug_mask before. 8851B has similar design, so add a field to
chip_info as a general expression.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230421024551.29994-6-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/pci.c
drivers/net/wireless/realtek/rtw89/rtw8851b.c
drivers/net/wireless/realtek/rtw89/rtw8852a.c
drivers/net/wireless/realtek/rtw89/rtw8852b.c
drivers/net/wireless/realtek/rtw89/rtw8852c.c