wifi: rtw89: coex: Change firmware control report to version separate
authorChing-Te Ku <ku920601@realtek.com>
Tue, 3 Jan 2023 14:02:35 +0000 (22:02 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 16 Jan 2023 13:34:31 +0000 (15:34 +0200)
commitb02e3f5c344d62da86afbc6444638a9beb375f2e
tree09004bbb7822b315e6369a713663b4525e1ea7a7
parent202c3b5c276f3f7525d9baabea7e8896d300ceff
wifi: rtw89: coex: Change firmware control report to version separate

The rtw89 driver may support more than 1 version of Wi-Fi firmware for
certain chips. In order to support all the firmware, change to select logic
by firmware feature version code. Type control version 4 will monitor
Bluetooth PTA hardware counters at firmware and C2H to driver, but
version 1 will not do this.

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/20230103140238.15601-5-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/coex.c
drivers/net/wireless/realtek/rtw89/core.h