Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1996755imm; Thu, 24 May 2018 04:14:19 -0700 (PDT) X-Google-Smtp-Source: AB8JxZofYKm6MRPouDSFpIvR7qPLwGWAi60Xm7YouZ9tsrsINpDFcq3F7N0QJxqWbLZClkN57s0g X-Received: by 2002:a17:902:321:: with SMTP id 30-v6mr6900261pld.122.1527160459509; Thu, 24 May 2018 04:14:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527160459; cv=none; d=google.com; s=arc-20160816; b=eCeh/o23//liVZa6upGWNPxLHuyOT9Ehl5X3pGdSlI/br4TJQOq6X8Ix9h5ochCQR5 2gxHi5Mz/AyPeLP7lslZFtdeBp7Jf2SVrBTkKVAiFtXlo6rgQMPbRgc1+ArwsI493PUo oBoShH63qdoq0zCRKafO+26gm1p0OYsmX9Ww5mIxcism1R/FoRnGi4WslFtIwB6t5nfc n/4QgYUDFQYdY9DMLONTC4Tl8nGcYgRvsCRFMVXBPxAHtGAAuZtimF9FJXt7onbtHprn CkYaZSzc2v+hU4AkTFGH5NOqn7zTK349vLKW9vz7RFGtlilnusmgwX3s9CoGu4F+sFPS KxYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=2yJGQkSYmOJWzT+NDqs1QYmHVxiN2Dcz5lQ5I15zd0I=; b=NS/ufuxMEz26pl+GIdgOo6Gnp3872w6wfgh0O2UGMjwLLj3Do8uXK42Sq/HGtp5xiw 2ctu/IYxsD6Jw4zOD2DIGtDsd0GSmLYNiOTLjtC57pHV7LM/ljuj1BhAbMbGwBnpIbT2 K5EJIdqpqkv0WefFF4NHJ8825SWtmSJSRLRW13s0y0Zw8mkR1KIKGHCRXVBTiyQIJdL5 yYTpPRF1FoCbT8G1HjWfVNWh9CLNdTjSGEzFyopdAB//DH7odm60+/ilKhG6CbPSBguq IwTFjhvHx9/rjrGzbM41f3G+MMQbpaalrPMiKuJq6isVFDpnxsmXk7DEopS6m2BVasSw M5fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=gReN7lCU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k2-v6si20963129plt.374.2018.05.24.04.14.05; Thu, 24 May 2018 04:14:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=gReN7lCU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1033108AbeEXLNY (ORCPT + 99 others); Thu, 24 May 2018 07:13:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:34004 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S968129AbeEXJyK (ORCPT ); Thu, 24 May 2018 05:54:10 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 36B9F20891; Thu, 24 May 2018 09:54:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527155649; bh=i1T6KPtVTHlhl5j2bhyfzlLKCr6ywJn1txauLT86WS8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gReN7lCUgLjfn6f1P+4UgW3QmZ/rwOJtHBKbIyuhpYQDfcM3a+zYNu0L90xJYfGyt 0qam7Gp01uHiYYsCYye591bnR2UC5MI7k1FAwLmoHZJMIP+6ot4Foxs1TF/T5WiuJP EWsw2y727nR9tcXXVnUT4q3tMMYTNyDB1J6IgIk8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Giuseppe Lippolis , "David S. Miller" , Sasha Levin Subject: [PATCH 4.14 066/165] net-usb: add qmi_wwan if on lte modem wistron neweb d18q1 Date: Thu, 24 May 2018 11:37:52 +0200 Message-Id: <20180524093624.692262147@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180524093621.979359379@linuxfoundation.org> References: <20180524093621.979359379@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Giuseppe Lippolis [ Upstream commit d4c4bc11353f3bea6754f7d21e3612c9f32d1d64 ] This modem is embedded on dlink dwr-921 router. The oem configuration states: T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=1435 ProdID=0918 Rev= 2.32 S: Manufacturer=Android S: Product=Android S: SerialNumber=0123456789ABCDEF C:* #Ifs= 7 Cfg#= 1 Atr=80 MxPwr=500mA I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=(none) E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option E: Ad=84(I) Atr=03(Int.) MxPS= 64 Ivl=32ms E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan E: Ad=86(I) Atr=03(Int.) MxPS= 64 Ivl=32ms E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan E: Ad=88(I) Atr=03(Int.) MxPS= 64 Ivl=32ms E: Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 5 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan E: Ad=8a(I) Atr=03(Int.) MxPS= 64 Ivl=32ms E: Ad=89(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 6 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none) E: Ad=8b(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=07(O) Atr=02(Bulk) MxPS= 512 Ivl=125us Tested on openwrt distribution Signed-off-by: Giuseppe Lippolis Signed-off-by: David S. Miller Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/net/usb/qmi_wwan.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/net/usb/qmi_wwan.c +++ b/drivers/net/usb/qmi_wwan.c @@ -1105,6 +1105,9 @@ static const struct usb_device_id produc {QMI_FIXED_INTF(0x0846, 0x68a2, 8)}, {QMI_FIXED_INTF(0x12d1, 0x140c, 1)}, /* Huawei E173 */ {QMI_FIXED_INTF(0x12d1, 0x14ac, 1)}, /* Huawei E1820 */ + {QMI_FIXED_INTF(0x1435, 0xd181, 3)}, /* Wistron NeWeb D18Q1 */ + {QMI_FIXED_INTF(0x1435, 0xd181, 4)}, /* Wistron NeWeb D18Q1 */ + {QMI_FIXED_INTF(0x1435, 0xd181, 5)}, /* Wistron NeWeb D18Q1 */ {QMI_FIXED_INTF(0x16d8, 0x6003, 0)}, /* CMOTech 6003 */ {QMI_FIXED_INTF(0x16d8, 0x6007, 0)}, /* CMOTech CHE-628S */ {QMI_FIXED_INTF(0x16d8, 0x6008, 0)}, /* CMOTech CMU-301 */