rtw89: coex: Add MAC API to get BT polluted counter
authorChing-Te Ku <ku920601@realtek.com>
Thu, 9 Dec 2021 08:32:25 +0000 (16:32 +0800)
committerKalle Valo <kvalo@kernel.org>
Tue, 14 Dec 2021 18:36:00 +0000 (20:36 +0200)
commit8c7e9ceb5bacec842784e5568c36769e97d96acb
tree6c3dc23d4501580ef7cabcd7bb0d36f9b5deb4d2
parentf8028a9a92f2b8653658f2ad9cc1fb849873ba5a
rtw89: coex: Add MAC API to get BT polluted counter

Add function to get and parse BT polluted counter.
When WLAN Tx was dropped by BT, the packet will be marked as BT polluted.

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