]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Bluetooth: btintel: Add support for BlazarI
authorKiran K <kiran.k@intel.com>
Thu, 2 May 2024 05:23:55 +0000 (10:53 +0530)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 14 May 2024 14:51:08 +0000 (10:51 -0400)
Add support for BlazarI (cnvi) bluetooth core.

Signed-off-by: Kiran K <kiran.k@intel.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btintel.c

index dc48352166a524ae1330ddeb64853ebf1bc2c023..4f4bd5538b6e828c2c90bf6de7d8665a10a33e7c 100644 (file)
@@ -481,6 +481,7 @@ static int btintel_version_info_tlv(struct hci_dev *hdev,
        case 0x19:      /* Slr-F */
        case 0x1b:      /* Mgr */
        case 0x1c:      /* Gale Peak (GaP) */
+       case 0x1e:      /* BlazarI (Bzr) */
                break;
        default:
                bt_dev_err(hdev, "Unsupported Intel hardware variant (0x%x)",
@@ -2698,6 +2699,7 @@ static void btintel_set_msft_opcode(struct hci_dev *hdev, u8 hw_variant)
        case 0x19:
        case 0x1b:
        case 0x1c:
+       case 0x1e:
                hci_set_msft_opcode(hdev, 0xFC1E);
                break;
        default:
@@ -3037,6 +3039,7 @@ static int btintel_setup_combined(struct hci_dev *hdev)
        case 0x19:
        case 0x1b:
        case 0x1c:
+       case 0x1e:
                /* Display version information of TLV type */
                btintel_version_info_tlv(hdev, &ver_tlv);