From: Kiran K Date: Wed, 28 Jun 2023 12:18:31 +0000 (+0530) Subject: Bluetooth: btintel: Add support for Gale Peak X-Git-Tag: v6.6-rc1~162^2~129^2~47 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bb925bf9fbc1945eafaebc43ad39fb8a096af995;p=thirdparty%2Flinux.git Bluetooth: btintel: Add support for Gale Peak Add hardware variant(0x1c) for Gale Peak core (CNVi). Signed-off-by: Kiran K Signed-off-by: Luiz Augusto von Dentz --- diff --git a/drivers/bluetooth/btintel.c b/drivers/bluetooth/btintel.c index dd1e48808ee2c..b32277cb045d6 100644 --- a/drivers/bluetooth/btintel.c +++ b/drivers/bluetooth/btintel.c @@ -480,6 +480,7 @@ static int btintel_version_info_tlv(struct hci_dev *hdev, case 0x18: /* Slr */ case 0x19: /* Slr-F */ case 0x1b: /* Mgr */ + case 0x1c: /* Gale Peak (GaP) */ break; default: bt_dev_err(hdev, "Unsupported Intel hardware variant (0x%x)", @@ -2648,6 +2649,7 @@ static void btintel_set_msft_opcode(struct hci_dev *hdev, u8 hw_variant) case 0x18: case 0x19: case 0x1b: + case 0x1c: hci_set_msft_opcode(hdev, 0xFC1E); break; default: @@ -2862,6 +2864,7 @@ static int btintel_setup_combined(struct hci_dev *hdev) case 0x18: case 0x19: case 0x1b: + case 0x1c: /* Display version information of TLV type */ btintel_version_info_tlv(hdev, &ver_tlv);