wifi: rtw89: 8852c: support fw crash simulation
authorZong-Zhe Yang <kevin_yang@realtek.com>
Wed, 14 Sep 2022 03:50:33 +0000 (11:50 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 19 Sep 2022 10:03:38 +0000 (13:03 +0300)
commite77d3f8b1b9e3971a9577e0e1b3ca7da8655ca2f
treea4c4dae60592fc433fb5993c30d9985e0f6e964a
parent9a785583f00127b46d8cf4c312919a4a05b2c9b2
wifi: rtw89: 8852c: support fw crash simulation

With FW >= v0.27.40.0, 8852C FW has feature to handle crash simulation.
Besides, use RTW89_WCPU_BASE_MASK to replace use of RTW89_WCPU_BASE_ADDR
and work for both 8852A and 8852C.

Signed-off-by: Zong-Zhe Yang <kevin_yang@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/20220914035034.14521-4-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/fw.c
drivers/net/wireless/realtek/rtw89/fw.h
drivers/net/wireless/realtek/rtw89/ser.c