Patchwork [net] net: qmi_wwan: add ONDA MT8205 4G LTE

login
register
mail settings
Submitter Bjørn Mork
Date Jan. 18, 2013, 2:26 p.m.
Message ID <1358519194-10118-1-git-send-email-bjorn@mork.no>
Download mbox | patch
Permalink /patch/213618/
State Accepted
Delegated to: David Miller
Headers show

Comments

Bjørn Mork - Jan. 18, 2013, 2:26 p.m.
The driver description files gives these names to the vendor specific
functions on this modem:

 Diag   VID_19D2&PID_0265&MI_00
 NMEA   VID_19D2&PID_0265&MI_01
 AT cmd VID_19D2&PID_0265&MI_02
 Modem  VID_19D2&PID_0265&MI_03
 Net    VID_19D2&PID_0265&MI_04

Signed-off-by: Bjørn Mork <bjorn@mork.no>
---
 drivers/net/usb/qmi_wwan.c |    1 +
 1 file changed, 1 insertion(+)
David Miller - Jan. 19, 2013, 3:56 p.m.
From: Bjørn Mork <bjorn@mork.no>
Date: Fri, 18 Jan 2013 15:26:34 +0100

> The driver description files gives these names to the vendor specific
> functions on this modem:
> 
>  Diag   VID_19D2&PID_0265&MI_00
>  NMEA   VID_19D2&PID_0265&MI_01
>  AT cmd VID_19D2&PID_0265&MI_02
>  Modem  VID_19D2&PID_0265&MI_03
>  Net    VID_19D2&PID_0265&MI_04
> 
> Signed-off-by: Bjørn Mork <bjorn@mork.no>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c
index c434108..575a583 100644
--- a/drivers/net/usb/qmi_wwan.c
+++ b/drivers/net/usb/qmi_wwan.c
@@ -433,6 +433,7 @@  static const struct usb_device_id products[] = {
 	{QMI_FIXED_INTF(0x19d2, 0x0199, 1)},	/* ZTE MF820S */
 	{QMI_FIXED_INTF(0x19d2, 0x0200, 1)},
 	{QMI_FIXED_INTF(0x19d2, 0x0257, 3)},	/* ZTE MF821 */
+	{QMI_FIXED_INTF(0x19d2, 0x0265, 4)},	/* ONDA MT8205 4G LTE */
 	{QMI_FIXED_INTF(0x19d2, 0x0284, 4)},	/* ZTE MF880 */
 	{QMI_FIXED_INTF(0x19d2, 0x0326, 4)},	/* ZTE MF821D */
 	{QMI_FIXED_INTF(0x19d2, 0x1008, 4)},	/* ZTE (Vodafone) K3570-Z */