wifi: rtw89: coex: Add Wi-Fi role v8 condition when set Bluetooth channel
authorChing-Te Ku <ku920601@realtek.com>
Tue, 23 Apr 2024 13:05:00 +0000 (21:05 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 29 Apr 2024 00:54:02 +0000 (08:54 +0800)
commitefb85ded5c202381af20202e7bf238c7118c7448
treeacd10b7c4af037403db90b3d9ad7c6373d7ab085
parent947cbc6ead46c27039c13c3732d729541b2288be
wifi: rtw89: coex: Add Wi-Fi role v8 condition when set Bluetooth channel

This function is to let Bluetooth know Wi-Fi is using which channel,
and ask Bluetooth do not hop into the nearby channel. Wi-Fi channel
is saved at role info, this patch make the logic also get the channel
value from version 8 role info.

Signed-off-by: Ching-Te Ku <ku920601@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://msgid.link/20240423130502.32682-7-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/coex.c