blob: 4a7bd3bf88f357c964b0ad91f9bb0cb82a339f06 [file] [log] [blame]
From 5f492e41cdfa01e44dabcdb86dc4fc00308471dd Mon Sep 17 00:00:00 2001
From: Archie Pusaka <apusaka@chromium.org>
Date: Wed, 5 Jul 2023 19:14:27 +0800
Subject: [PATCH] CHROMIUM: bluetooth: Disable MSFT support on RTL8822C
MSFT offload is supported on RTL8822C but we don't want to use it
since it only track one device for each monitor. Workaround has been
implemented on RTL8852 but not on RTL8822 yet. Until that time,
disable MSFT offloading on RTL8822.
BUG=b:267641212
TEST=none
UPSTREAM-TASK=b:289999827
Signed-off-by: Archie Pusaka <apusaka@chromium.org>
Change-Id: Ib9cef6576af1d611ee64a83c561c5a622790d6b8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/4666563
Commit-Queue: Archie Pusaka <apusaka@chromium.org>
Tested-by: Archie Pusaka <apusaka@chromium.org>
Reviewed-by: Michael Sun <michaelfsun@google.com>
---
drivers/bluetooth/btrtl.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/bluetooth/btrtl.c b/drivers/bluetooth/btrtl.c
index 15be7581e6eea637729214b95de044ba1a98d4d0..6b952576324ea49d5f4f24d77af0385fd46fbbe7 100644
--- a/drivers/bluetooth/btrtl.c
+++ b/drivers/bluetooth/btrtl.c
@@ -231,7 +231,7 @@ static const struct id_table ic_id_table[] = {
{ IC_INFO(RTL_ROM_LMP_8822B, 0xc, 0x8, HCI_UART),
.config_needed = true,
.has_rom_version = true,
- .has_msft_ext = true,
+ .has_msft_ext = false,
.fw_name = "rtl_bt/rtl8822cs_fw",
.cfg_name = "rtl_bt/rtl8822cs_config",
.hw_info = "rtl8822cs" },
@@ -240,7 +240,7 @@ static const struct id_table ic_id_table[] = {
{ IC_INFO(RTL_ROM_LMP_8822B, 0xc, 0xa, HCI_UART),
.config_needed = true,
.has_rom_version = true,
- .has_msft_ext = true,
+ .has_msft_ext = false,
.fw_name = "rtl_bt/rtl8822cs_fw",
.cfg_name = "rtl_bt/rtl8822cs_config",
.hw_info = "rtl8822cs" },
@@ -249,7 +249,7 @@ static const struct id_table ic_id_table[] = {
{ IC_INFO(RTL_ROM_LMP_8822B, 0xc, 0xa, HCI_USB),
.config_needed = false,
.has_rom_version = true,
- .has_msft_ext = true,
+ .has_msft_ext = false,
.fw_name = "rtl_bt/rtl8822cu_fw",
.cfg_name = "rtl_bt/rtl8822cu_config",
.hw_info = "rtl8822cu" },
--
2.34.1