diff mbox series

[v2] Bluetooth: btintel: Add LE States quirk support for Intel's new generation controllers

Message ID 20230321043310.79085-1-chethan.tumkur.narayan@intel.com
State New
Headers show
Series [v2] Bluetooth: btintel: Add LE States quirk support for Intel's new generation controllers | expand

Commit Message

Tumkur Narayan, Chethan March 21, 2023, 4:33 a.m. UTC
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 <chethan.tumkur.narayan@intel.com>
---
 drivers/bluetooth/btintel.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Comments

patchwork-bot+bluetooth@kernel.org March 29, 2023, 7:50 p.m. UTC | #1
Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Tue, 21 Mar 2023 10:03:10 +0530 you wrote:
> 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 <chethan.tumkur.narayan@intel.com>
> 
> [...]

Here is the summary with links:
  - [v2] Bluetooth: btintel: Add LE States quirk support for Intel's new generation controllers
    https://git.kernel.org/bluetooth/bluetooth-next/c/5b23f8375a36

You are awesome, thank you!
diff mbox series

Patch

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,