Received: by 10.192.165.156 with SMTP id m28csp1270326imm; Wed, 18 Apr 2018 07:05:18 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+XKh5AAbhqHa7Mts3B/Fs+2IqEdvxasUackkAcXqBynjd+sWzZzMh4I6OuMxnjPDfn+FXg X-Received: by 10.98.159.129 with SMTP id v1mr2123488pfk.25.1524060318597; Wed, 18 Apr 2018 07:05:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524060318; cv=none; d=google.com; s=arc-20160816; b=dwp3+W/qBNV6yfkD9QjhusMAvWGeR59+vi6EZR8BF/h3k6qg5Zij+cg5o0hrzwrajd TlfVYbiOpbV48OSMpN32XhZ8hNL6HNw5pKk/zUPXdWrNgRMQm14/EcNJTfr7t+8hUGQO giLZKSw+KRqNuMcZpUR+xokQhYK7MgvaVvg3sX0pci72OiI16IjcdGKlguvYvoA7U3iI vxaPIibZ9y3Nc3N5SkNt8sq9ctHsOjEpmnq/AaglyM0oTHHkJZkMtyFAXX/YWav97nHC 3yTc4SkIhQl+OAgjHT9bChqp2kgF51ti8/dWzqdytg+MO4sSrH6GwXUTHyNVIh4R9JL+ Ooyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:message-id:date:subject:cc:from :dkim-signature:arc-authentication-results; bh=f3dBnwJCFi3JWCMO24TGIMmW8fy16yK+s8MIAmShu4Q=; b=zIgqFoqEJPoRCuYs94gdXgQR+v6kR6t5VoIINCcyKV5R8L9+uWR87bmdJ3GmzsLeMx g71Sc4VoloetNOfyRJQP3kOOQx/mPuN2Uxo8ENroXprPGXl71ydkgi/cOOi9Eng0L2P6 2HbqKqUgv8J4lOjz3uagCdyWVU2sC5wfhtuC2lQcC+2ApHyBKeClypvg1GPaxurNPRGj nr8jP8/+3MaxN8nYRujBR4IIUupQG5X8hD0i5SKvk3MzmflHOlzl6cmxnTTJsffkr3aL 5HSxFyyX2pmqVOZp9N/mZ46hA2ob6K1vNmUdGYcYgvX1Cqvt/qbOPKudWP5exM5kMmxn PHVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=raGQ+Tk0; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t10-v6si1332259plo.210.2018.04.18.07.05.04; Wed, 18 Apr 2018 07:05:18 -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=fail header.i=@gmail.com header.s=20161025 header.b=raGQ+Tk0; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753056AbeDRODe (ORCPT + 99 others); Wed, 18 Apr 2018 10:03:34 -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-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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 */ -- 2.7.4