wifi: rtw89: phy: print out RFK log with formatted string
authorPing-Ke Shih <pkshih@realtek.com>
Wed, 13 Dec 2023 00:50:54 +0000 (08:50 +0800)
committerKalle Valo <kvalo@kernel.org>
Fri, 15 Dec 2023 13:38:26 +0000 (15:38 +0200)
commitf0536b0d5fa87475a747afa79ffe913533a196a0
treee0b9d078158eda0b5fab56feec6020ff9a14a7bf
parentedd77bb091d181f517702e8878430e7064428630
wifi: rtw89: phy: print out RFK log with formatted string

With formatted string loaded from firmware file, we can use the formatted
string ID and get corresponding string, and then use regular rtw89_debug()
to show the message if debug mask of RFK is enabled.

If the string ID doesn't present, fallback to print plain hexadecimal.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20231213005054.10568-7-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/fw.h
drivers/net/wireless/realtek/rtw89/phy.c