]> 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)
commit414d0322acde6270b19e74e745cbdf73d6f41622
tree46d7b875ce9d7d907a9e136adfe9a7e519ed245d
parentb2d7225096c62d04bf18bbf1633288e7bd256d19
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