]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rtw88: coex: modified for BT info notify
authorChing-Te Ku <ku920601@realtek.com>
Mon, 9 Nov 2020 08:59:05 +0000 (16:59 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 10 Nov 2020 18:58:16 +0000 (20:58 +0200)
commit37a59b940fc61cd47ea178079d12060ea60f8239
tree46d7b875ce9d7d907a9e136adfe9a7e519ed245d
parent32c3a8c7d91f1de83d570b9f0f8ceb20a7c8a270
rtw88: coex: modified for BT info notify

Add counter to count BT info C2H command for debug usage.
It could present the C2H channel situation.

Fix BT IQK state decision condition for counting.
The original condition is wrong, it would cause coexistence mechanism
going to the wrong strategy.

New format supports getting TDMA parameter from WL firmware, since
coexistence needs current TDMA parameter to decide strategy.

Remove unnecessary operations about scoreboard, it is not a must for
current version.

Signed-off-by: Ching-Te Ku <ku920601@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201109085909.9143-8-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/coex.c
drivers/net/wireless/realtek/rtw88/main.h