]> git.baikalelectronics.ru Git - kernel.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)
commit0abd846681f6a6076234b7acf5a4f0e9d6ae944a
tree46d7b875ce9d7d907a9e136adfe9a7e519ed245d
parent9a0c01ee9d0564d4fc123e0143f81415ff8054aa
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