Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3283600ybb; Tue, 31 Mar 2020 02:03:59 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtgB1qF8ESApJLNuNNyytLO3VN0jA3F0PxlITBXA/LONLSlycQ51VhHqyKt825s768cUP7q X-Received: by 2002:aca:fc88:: with SMTP id a130mr1275188oii.89.1585645439878; Tue, 31 Mar 2020 02:03:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585645439; cv=none; d=google.com; s=arc-20160816; b=mnefsvjAw/JpZY7ZEAXKveiaBLpIf/Sptg/cHP7yfI0NGsM9ZQ7ujeoZxtb6Q+/wkI twd8a/OIckvUE15RdP/pgGMmHfigVXV+YI3s+/mFdblp9JovncaBHvOsnui8iAqE/mvQ ixWOhY1+gv3E9upVE5RTuxNAi4X00SuWrDajPR8gqxcCn0Fo0dHy2ZsTXtqFkh2pu/YB c3E365qFUXQpXJnH0LgRouc0kKS/F8uhvkAuyfY1lbFgew9k4O4AU4OAB/8HOf6howkD TZ7ZRYpOCLVpC5tronojvH93AVEbFivk2pBNFuEkMPPoANIEcHOWQprREqJBFx63pSiD 8Njw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=1pGVIdln2x8LXWo7XmDG9b2yUUVwB6hfj8HWNKHakc8=; b=briG0Lmh/i2mP6eup1HGD9EDntvGS4SrMRSSQAwKjgjpSgI2HF2YwZlOoPy/MG0jRS 6PhLQe4dUZDFKYzUaoDeMXWDBsC7ixmeu3sOMkdgBZG3kUv2WrXxsK7mMCl/MgbFcsnP ul1912g7VtyNsOw1rv2JKVUFh8dqAwbWOLSti+KEDP8yRgoJtAYtatcgOLHluZ8jcbqU OkCrC6wJnUpG4vbeqmLdw+lNUE7eWK0b71m4WYKaxbSkWne3UXDtr1ROcpwA+RVF6qla yAY3ERAEAFnMyQon+hNQyjbEvKRxz6dzRjLmvGXIdcTTCT7KcuxALalIv2DpkgnKeSiU /DFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=n83Mt2qw; 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 l6si3192921otq.134.2020.03.31.02.03.46; Tue, 31 Mar 2020 02:03:59 -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=n83Mt2qw; 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 S1730775AbgCaJDA (ORCPT + 99 others); Tue, 31 Mar 2020 05:03:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:42614 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730769AbgCaJC7 (ORCPT ); Tue, 31 Mar 2020 05:02:59 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 2D1B520787; Tue, 31 Mar 2020 09:02:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585645378; bh=SgjzowQaTkWqrRUAZSl+8DClTAw+pzxwifTkKUtxYts=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n83Mt2qwa+SKULverL5kDQtHYTf+6FwNFqOh2Z0r6V1Y5lp/Na7a/wNICWO23JHIc O+lwvEwqvU3MyambrRlg9CJaSSDeGdbuBqv8Vc0NGJdEzCvSe8lLbYOgdk5Rt97ybX 7o1SOQr8xTj+VBLjHth19I+lUKKQSDA4uXUzHoTA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Cezary Jackiewicz , Pawel Dembicki , =?UTF-8?q?Bj=C3=B8rn=20Mork?= , "David S. Miller" Subject: [PATCH 5.5 027/170] net: qmi_wwan: add support for ASKEY WWHC050 Date: Tue, 31 Mar 2020 10:57:21 +0200 Message-Id: <20200331085426.977256453@linuxfoundation.org> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200331085423.990189598@linuxfoundation.org> References: <20200331085423.990189598@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Pawel Dembicki [ Upstream commit 12a5ba5a1994568d4ceaff9e78c6b0329d953386 ] ASKEY WWHC050 is a mcie LTE modem. 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=1690 ProdID=7588 Rev=ff.ff S: Manufacturer=Android S: Product=Android S: SerialNumber=813f0eef6e6e C:* #Ifs= 6 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=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=option 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=option 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: Cezary Jackiewicz Signed-off-by: Pawel Dembicki Acked-by: Bjørn Mork Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/usb/qmi_wwan.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/net/usb/qmi_wwan.c +++ b/drivers/net/usb/qmi_wwan.c @@ -1210,6 +1210,7 @@ static const struct usb_device_id produc {QMI_FIXED_INTF(0x1435, 0xd182, 5)}, /* Wistron NeWeb D18 */ {QMI_FIXED_INTF(0x1435, 0xd191, 4)}, /* Wistron NeWeb D19Q1 */ {QMI_QUIRK_SET_DTR(0x1508, 0x1001, 4)}, /* Fibocom NL668 series */ + {QMI_FIXED_INTF(0x1690, 0x7588, 4)}, /* ASKEY WWHC050 */ {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 */