]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: rtw89: coex: summarize Wi-Fi to BT scoreboard and inform BT one time a cycle
authorChing-Te Ku <ku920601@realtek.com>
Tue, 20 Sep 2022 01:09:37 +0000 (09:09 +0800)
committerKalle Valo <kvalo@kernel.org>
Thu, 22 Sep 2022 06:11:45 +0000 (09:11 +0300)
commite92177844baf61c8b5b0b0ed685c38a6f1f32328
treed62d6f1b69fa079c664dd2db55a001cfe862a894
parent1f31556a5abdb137c6b84b4ba3de16fe1439bc8c
wifi: rtw89: coex: summarize Wi-Fi to BT scoreboard and inform BT one time a cycle

If Wi-Fi driver send Wi-Fi status to BT via scoreboard too frequent in a
short moment, BT will loss some of them because of hardware response time.
To avoid this issue, change the code flow. Summarize the scoreboard changes
and if the value have changed, send the scoreboard to BT only once in
a coexistence processing cycle. It also can help to reduce driver I/O.

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