Jiri Slaby 5f2e75
From: Aleksander Morgado <aleksander@aleksander.es>
Jiri Slaby 5f2e75
Date: Thu, 7 Nov 2019 11:57:01 +0100
Jiri Slaby 5f2e75
Subject: net: usb: qmi_wwan: add support for DW5821e with eSIM support
Jiri Slaby 5f2e75
Git-commit: e497df686e8fed8c1dd69179010656362858edb3
Jiri Slaby 5f2e75
Patch-mainline: 5.4-rc7
Jiri Slaby 5f2e75
References: networking-stable-19_11_10
Jiri Slaby 5f2e75
Jiri Slaby 5f2e75
Exactly same layout as the default DW5821e module, just a different
Jiri Slaby 5f2e75
vid/pid.
Jiri Slaby 5f2e75
Jiri Slaby 5f2e75
The QMI interface is exposed in USB configuration #1:
Jiri Slaby 5f2e75
Jiri Slaby 5f2e75
P:  Vendor=413c ProdID=81e0 Rev=03.18
Jiri Slaby 5f2e75
S:  Manufacturer=Dell Inc.
Jiri Slaby 5f2e75
S:  Product=DW5821e-eSIM Snapdragon X20 LTE
Jiri Slaby 5f2e75
S:  SerialNumber=0123456789ABCDEF
Jiri Slaby 5f2e75
C:  #Ifs= 6 Cfg#= 1 Atr=a0 MxPwr=500mA
Jiri Slaby 5f2e75
I:  If#=0x0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan
Jiri Slaby 5f2e75
I:  If#=0x1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
Jiri Slaby 5f2e75
I:  If#=0x2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
Jiri Slaby 5f2e75
I:  If#=0x3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
Jiri Slaby 5f2e75
I:  If#=0x4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
Jiri Slaby 5f2e75
I:  If#=0x5 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
Jiri Slaby 5f2e75
Jiri Slaby 5f2e75
Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
Jiri Slaby 5f2e75
Signed-off-by: David S. Miller <davem@davemloft.net>
Jiri Slaby 5f2e75
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Jiri Slaby 5f2e75
---
Jiri Slaby 5f2e75
 drivers/net/usb/qmi_wwan.c |    1 +
Jiri Slaby 5f2e75
 1 file changed, 1 insertion(+)
Jiri Slaby 5f2e75
Jiri Slaby 5f2e75
--- a/drivers/net/usb/qmi_wwan.c
Jiri Slaby 5f2e75
+++ b/drivers/net/usb/qmi_wwan.c
Jiri Slaby 5f2e75
@@ -1352,6 +1352,7 @@ static const struct usb_device_id produc
Jiri Slaby 5f2e75
 	{QMI_FIXED_INTF(0x413c, 0x81b6, 8)},	/* Dell Wireless 5811e */
Jiri Slaby 5f2e75
 	{QMI_FIXED_INTF(0x413c, 0x81b6, 10)},	/* Dell Wireless 5811e */
Jiri Slaby 5f2e75
 	{QMI_FIXED_INTF(0x413c, 0x81d7, 0)},	/* Dell Wireless 5821e */
Jiri Slaby 5f2e75
+	{QMI_FIXED_INTF(0x413c, 0x81e0, 0)},	/* Dell Wireless 5821e with eSIM support*/
Jiri Slaby 5f2e75
 	{QMI_FIXED_INTF(0x03f0, 0x4e1d, 8)},	/* HP lt4111 LTE/EV-DO/HSPA+ Gobi 4G Module */
Jiri Slaby 5f2e75
 	{QMI_FIXED_INTF(0x03f0, 0x9d1d, 1)},	/* HP lt4120 Snapdragon X5 LTE */
Jiri Slaby 5f2e75
 	{QMI_FIXED_INTF(0x22de, 0x9061, 3)},	/* WeTelecom WPD-600N */