mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
Bluetooth: Add support for Intel DRACO
Add support for the Draco Bluetooth core (hardware variant 0x23, CNVi 0xA30) recognizing the new variant in btintel's version info TLV parsing, MSFT vendor opcode setup, and combined setup path, as well as in btintel_pcie hardware exception handling and PCIe setup path. Signed-off-by: Sai Teja Aluvala <aluvala.sai.teja@intel.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
parent
677d3d323f
commit
88b0867544
|
|
@ -517,6 +517,7 @@ int btintel_version_info_tlv(struct hci_dev *hdev,
|
|||
case 0x20: /* Scorpious Peak2 */
|
||||
case 0x21: /* Scorpious Peak2 F */
|
||||
case 0x22: /* BlazarIW (BzrIW) */
|
||||
case 0x23: /* Draco */
|
||||
break;
|
||||
default:
|
||||
bt_dev_err(hdev, "Unsupported Intel hardware variant (0x%x)",
|
||||
|
|
@ -3617,6 +3618,7 @@ void btintel_set_msft_opcode(struct hci_dev *hdev, u8 hw_variant)
|
|||
case 0x20:
|
||||
case 0x21:
|
||||
case 0x22:
|
||||
case 0x23:
|
||||
hci_set_msft_opcode(hdev, 0xFC1E);
|
||||
break;
|
||||
default:
|
||||
|
|
@ -3960,6 +3962,7 @@ static int btintel_setup_combined(struct hci_dev *hdev)
|
|||
case 0x20:
|
||||
case 0x21:
|
||||
case 0x22:
|
||||
case 0x23:
|
||||
/* Display version information of TLV type */
|
||||
btintel_version_info_tlv(hdev, &ver_tlv);
|
||||
|
||||
|
|
|
|||
|
|
@ -62,6 +62,7 @@ struct intel_tlv {
|
|||
#define BTINTEL_CNVI_SCP 0xA00 /* Scorpius Peak - Panther Lake */
|
||||
#define BTINTEL_CNVI_SCP2 0xA10 /* Scorpius Peak2 - Nova Lake */
|
||||
#define BTINTEL_CNVI_SCP2F 0xA20 /* Scorpius Peak2F - Nova Lake */
|
||||
#define BTINTEL_CNVI_DRACO 0xA30 /* Draco */
|
||||
|
||||
/* CNVR */
|
||||
#define BTINTEL_CNVR_FMP2 0x910
|
||||
|
|
|
|||
|
|
@ -2292,6 +2292,7 @@ static void btintel_pcie_read_hwexp(struct btintel_pcie_data *data)
|
|||
case BTINTEL_CNVI_SCP:
|
||||
case BTINTEL_CNVI_SCP2:
|
||||
case BTINTEL_CNVI_SCP2F:
|
||||
case BTINTEL_CNVI_DRACO:
|
||||
break;
|
||||
default:
|
||||
bt_dev_err(data->hdev, "Unsupported cnvi 0x%8.8x", data->dmp_hdr.cnvi_top);
|
||||
|
|
@ -3471,6 +3472,7 @@ static int btintel_pcie_setup_internal(struct hci_dev *hdev)
|
|||
case 0x20: /* ScP2 */
|
||||
case 0x21: /* ScP2 F */
|
||||
case 0x22: /* BzrIW */
|
||||
case 0x23: /* DrC */
|
||||
/* Display version information of TLV type */
|
||||
btintel_version_info_tlv(hdev, &ver_tlv);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user