From patchwork Wed Apr 18 14:03:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pawel Dembicki X-Patchwork-Id: 10348203 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E638F60244 for ; Wed, 18 Apr 2018 14:05:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D3FB51FF83 for ; Wed, 18 Apr 2018 14:05:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C8B802018F; Wed, 18 Apr 2018 14:05:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3C829286E0 for ; Wed, 18 Apr 2018 14:04:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752871AbeDRODd (ORCPT ); Wed, 18 Apr 2018 10:03:33 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:34411 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752727AbeDRODb (ORCPT ); Wed, 18 Apr 2018 10:03:31 -0400 Received: by mail-lf0-f67.google.com with SMTP id r7-v6so2848636lfr.1; Wed, 18 Apr 2018 07:03:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=f3dBnwJCFi3JWCMO24TGIMmW8fy16yK+s8MIAmShu4Q=; b=raGQ+Tk0irO5pYlNyD87f0MbiYmAiJ0VZRpo5vupG7RMmrbI07PQ0Qgc4qVKC/rdsz r3lQor8l6ttOQg8cuROoVtozeZwIoagjGpQrTBJDCA7Ts81a0kesbpj3Y7Zq9dQbLPji v4WGUeuwf0yjzFBlIE3bscX9QUCp9YpQVNeIyWdlAt2MtXCV1AvLnZcZI6v/s8ful92s kzaKejvG56jF9RdZkx0ONzqwQjh+FRW7HD0fwCf55tRvgNjCt6xJKGx5fPqwTpmCm6qO z/foLxsxYYp0fLaDTylGoyuZPXLfg8FJT9fMwCHt0EYH4FnVHHTtr4/LnqQyrcKPvGfs NCUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=f3dBnwJCFi3JWCMO24TGIMmW8fy16yK+s8MIAmShu4Q=; b=GWRuIecqjEKigV+gSo2yh5/8anKV8mPywAJ6bPmrcXL9r2UlWmLnBN//w9qNEWeNpj 0hm3TROY70hy0julA6bDsSpuUT4CkeJ2ST3eMzXnJhBz4tY+9E6lfam/i06ZLNJ9kf2K 4mv3qzwWAeArc1ocvxzZWz+gFJzAqlf0+DrKF0xHBd40AMdIyR10NLwyPP7ADPq66ivw 5afo21rU40EXNJvEPB1gSbDLwwraDJJDp/7t7gUAkIBsw57Ispf+xOgobSWsjlm1J+Sd ElUhRPFJUtlcF2I+17/Bj2X4G+mLSRTOUvxsmXtMWNiDT6VGpdA+VVzGqo3VHpbF+kfB gMIQ== X-Gm-Message-State: ALQs6tBol+ybK5vUhpEliNibc9cr1F5AZwPGHJ2I7CD272NqCKsKe2Nd 48K+e9AW55p5fd7P0vsQ0/Z18mXwH18= X-Google-Smtp-Source: AIpwx48DG0Wi/BHPD+RhGTEK3wCqpZEkxEYgotQHoH+0cLt8F/+F1GcY8F8Pb1+vlgWnUKNpGYCdow== X-Received: by 10.46.9.65 with SMTP id 62mr1552851ljj.33.1524060209995; Wed, 18 Apr 2018 07:03:29 -0700 (PDT) Received: from krolik-T420.lan ([91.238.216.6]) by smtp.googlemail.com with ESMTPSA id w14sm212112ljh.88.2018.04.18.07.03.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Apr 2018 07:03:28 -0700 (PDT) From: Pawel Dembicki Cc: Pawel Dembicki , =?UTF-8?q?Bj=C3=B8rn=20Mork?= , netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] net: qmi_wwan: add Wistron Neweb D19Q1 Date: Wed, 18 Apr 2018 16:03:24 +0200 Message-Id: <1524060204-7814-1-git-send-email-paweldembicki@gmail.com> X-Mailer: git-send-email 2.7.4 To: unlisted-recipients:; (no To-header on input) Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This modem is embedded on dlink dwr-960 router. The oem configuration states: T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 D: Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=1435 ProdID=d191 Rev=ff.ff S: Manufacturer=Android S: Product=Android S: SerialNumber=0123456789ABCDEF C:* #Ifs= 6 Cfg#= 1 Atr=80 MxPwr=500mA I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) 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=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) E: Ad=84(I) Atr=03(Int.) MxPS= 10 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=00 Prot=00 Driver=(none) E: Ad=86(I) Atr=03(Int.) MxPS= 10 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= 8 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= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none) E: Ad=89(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=125us Tested on openwrt distribution Signed-off-by: Pawel Dembicki Acked-by: Bjørn Mork --- drivers/net/usb/qmi_wwan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c index ca066b7..c853e74 100644 --- a/drivers/net/usb/qmi_wwan.c +++ b/drivers/net/usb/qmi_wwan.c @@ -1107,6 +1107,7 @@ static const struct usb_device_id products[] = { {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(0x1435, 0xd191, 4)}, /* Wistron NeWeb D19Q1 */ {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 */