summaryrefslogtreecommitdiff
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorHilda Wu <hildawu@realtek.com>2024-08-29 16:40:05 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-10-10 11:57:24 +0200
commitcc026a7f9be6660f0f79d37a0f8453a38b5515c6 (patch)
treeef22b76749eb99c0d5091d7542c3253b3d746ae3 /drivers/bluetooth
parent18ed567ad0aac6ca63305b411a3ec33548a9a7ce (diff)
downloadlinux-cc026a7f9be6660f0f79d37a0f8453a38b5515c6.tar.gz
linux-cc026a7f9be6660f0f79d37a0f8453a38b5515c6.tar.bz2
linux-cc026a7f9be6660f0f79d37a0f8453a38b5515c6.zip
Bluetooth: btrtl: Set msft ext address filter quirk for RTL8852B
[ Upstream commit 9a0570948c5def5c59e588dc0e009ed850a1f5a1 ] For tracking multiple devices concurrently with a condition. The patch enables the HCI_QUIRK_USE_MSFT_EXT_ADDRESS_FILTER quirk on RTL8852B controller. The quirk setting is based on commit 9e14606d8f38 ("Bluetooth: msft: Extended monitor tracking by address filter") With this setting, when a pattern monitor detects a device, this feature issues an address monitor for tracking that device. Let the original pattern monitor keep monitor new devices. Signed-off-by: Hilda Wu <hildawu@realtek.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r--drivers/bluetooth/btrtl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bluetooth/btrtl.c b/drivers/bluetooth/btrtl.c
index 277d039ecbb4..1e7c1f9db9e4 100644
--- a/drivers/bluetooth/btrtl.c
+++ b/drivers/bluetooth/btrtl.c
@@ -1285,6 +1285,7 @@ void btrtl_set_quirks(struct hci_dev *hdev, struct btrtl_device_info *btrtl_dev)
btrealtek_set_flag(hdev, REALTEK_ALT6_CONTINUOUS_TX_CHIP);
if (btrtl_dev->project_id == CHIP_ID_8852A ||
+ btrtl_dev->project_id == CHIP_ID_8852B ||
btrtl_dev->project_id == CHIP_ID_8852C)
set_bit(HCI_QUIRK_USE_MSFT_EXT_ADDRESS_FILTER, &hdev->quirks);