Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38e55657 authored by Ajay Agarwal's avatar Ajay Agarwal
Browse files

usb: misc: diag_ipc_bridge: Add support for 9900 and 9901 PIDs



Add support for creation of diag and IPC traffic channel in case
the connected device has 0x05C6 VID and 0x9900 or 0x9901 PID.
   0x9900 : WLAN + QMI + DIAG
   0x9901 : BT ACL + BT SCO + WLAN + QMI + DIAG

Change-Id: Iaa803d729516016a3b5043aa1cec78d12a408451
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent 60de9d75
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -616,6 +616,18 @@ static const struct usb_device_id diag_bridge_ids[] = {
	/* 909E, ifc#1 refers to diag client interface */
	{ USB_DEVICE_INTERFACE_NUMBER(0x5c6, 0x90A4, 1),
	.driver_info =	DEV_ID(1), },
	/* 9900, ifc#2 refers to diag client interface */
	{ USB_DEVICE_INTERFACE_NUMBER(0x5c6, 0x9900, 2),
	.driver_info =	DEV_ID(0), },
	/* 9900, ifc#1 refers to IPC client interface */
	{ USB_DEVICE_INTERFACE_NUMBER(0x5c6, 0x9900, 1),
	.driver_info =	DEV_ID(1), },
	/* 9901, ifc#4 refers to diag client interface */
	{ USB_DEVICE_INTERFACE_NUMBER(0x5c6, 0x9901, 4),
	.driver_info =	DEV_ID(0), },
	/* 9901, ifc#3 refers to IPC client interface */
	{ USB_DEVICE_INTERFACE_NUMBER(0x5c6, 0x9901, 3),
	.driver_info =	DEV_ID(1), },

	{} /* terminating entry */
};