wifi: rtw89: coex: Parsing Wi-Fi firmware error message from reports
authorChing-Te Ku <ku920601@realtek.com>
Tue, 13 Sep 2022 09:25:43 +0000 (17:25 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 19 Sep 2022 10:01:37 +0000 (13:01 +0300)
commit287657e77b218c33401445ff28d3f218b98ab5f3
tree975c14222a79124718e0cc1b2bf671752babb897
parent8468446a62779f101a1462ff761c9936ac4a4486
wifi: rtw89: coex: Parsing Wi-Fi firmware error message from reports

Parsing firmware error message from original version and v1 reports to
show up exception counter of commands from firmware in debug message.
Then, we can make sure exchange commands are correct totally.

In the later version Wi-Fi firmware(v1), the report format was changed.
With this update, we can yield correct report from proper struct.

Signed-off-by: Ching-Te Ku <ku920601@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/20220913092546.43722-5-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/coex.c