wifi: rtw89: coex: Fix coexistence report not show as expected
authorChing-Te Ku <ku920601@realtek.com>
Sat, 8 Mar 2025 02:58:30 +0000 (10:58 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Thu, 13 Mar 2025 01:02:14 +0000 (09:02 +0800)
commita36230aa5f5efceaf5f81682673732a921b91518
tree899543db83eacd4305f7d4a92d9f90b3583ad515
parentbb76dd94b7c7dd1a6fd04226af89f3130f506b84
wifi: rtw89: coex: Fix coexistence report not show as expected

This report will feedback some basic information from firmware(PTA counter,
report counter, mailbox counter etc). And the report version need to match
driver & firmware both side. The original logic break the switch case logic
before driver update the report version. It made the report can not be
parsed correctly. Delete the break at the version 7 and 8.
Add logic to count C2H event report.

Signed-off-by: Ching-Te Ku <ku920601@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250308025832.10400-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/coex.c