diff --git a/patches.suse/Bluetooth-btintel-Add-LE-States-quirk-support.patch b/patches.suse/Bluetooth-btintel-Add-LE-States-quirk-support.patch new file mode 100644 index 0000000..9b27b29 --- /dev/null +++ b/patches.suse/Bluetooth-btintel-Add-LE-States-quirk-support.patch @@ -0,0 +1,41 @@ +From 77f542b10c535c9a93bf8afdd2665524935807c2 Mon Sep 17 00:00:00 2001 +From: Chethan T N +Date: Tue, 21 Mar 2023 10:03:10 +0530 +Subject: [PATCH] Bluetooth: btintel: Add LE States quirk support +Git-commit: 77f542b10c535c9a93bf8afdd2665524935807c2 +Patch-mainline: v6.4-rc1 +References: git-fixes + +Basically all Intel controllers support both Central/Peripheral +LE states. + +This patch enables the LE States quirk by default on all +Solar and Magnertor Intel controllers. + +Signed-off-by: Chethan T N +Signed-off-by: Luiz Augusto von Dentz +Acked-by: Takashi Iwai + +--- + drivers/bluetooth/btintel.c | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/drivers/bluetooth/btintel.c b/drivers/bluetooth/btintel.c +index af774688f1c0..7a6dc05553f1 100644 +--- a/drivers/bluetooth/btintel.c ++++ b/drivers/bluetooth/btintel.c +@@ -2684,9 +2684,8 @@ static int btintel_setup_combined(struct hci_dev *hdev) + */ + set_bit(HCI_QUIRK_WIDEBAND_SPEECH_SUPPORTED, &hdev->quirks); + +- /* Valid LE States quirk for GfP */ +- if (INTEL_HW_VARIANT(ver_tlv.cnvi_bt) == 0x18) +- set_bit(HCI_QUIRK_VALID_LE_STATES, &hdev->quirks); ++ /* Apply LE States quirk from solar onwards */ ++ set_bit(HCI_QUIRK_VALID_LE_STATES, &hdev->quirks); + + /* Setup MSFT Extension support */ + btintel_set_msft_opcode(hdev, +-- +2.35.3 + diff --git a/series.conf b/series.conf index e997156..902f627 100644 --- a/series.conf +++ b/series.conf @@ -19940,6 +19940,7 @@ patches.suse/wifi-mt76-mt7921e-fix-probe-timeout-after-reboot.patch patches.suse/wifi-mt76-fix-6GHz-high-channel-not-be-scanned.patch patches.suse/wifi-mt76-mt7921e-improve-reliability-of-dma-reset.patch + patches.suse/Bluetooth-btintel-Add-LE-States-quirk-support.patch patches.suse/Revert-Bluetooth-btsdio-fix-use-after-free-bug-in-bt.patch patches.suse/bluetooth-Perform-careful-capability-checks-in-hci_s.patch patches.suse/net-mana-Rename-mana_refill_rxoob-and-remove-some-em.patch