Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1977469pxb; Fri, 5 Mar 2021 04:36:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJx9CuquPv4niRJHNJ5MHi0rfYu+ju10qDEXd8zZR0VPFh9nhfjcH0dFiTzwm3l7kIrE1krX X-Received: by 2002:a17:906:f9d8:: with SMTP id lj24mr2059228ejb.200.1614947811854; Fri, 05 Mar 2021 04:36:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614947811; cv=none; d=google.com; s=arc-20160816; b=D5VttOFuJXSeiogD/fo3+fVSd5jtSejxSCTLYp4ig0jWt51CpS+Vs1TXL1zx0hd+T3 +wLYMlPquDiCV5ul9n8wuPHOitqgyzpzsmpY18MMeBNTdpWXVltJfwordbTqIOtqzGkP 4pFZ10zxqt4dOTQ2OTQ92df5Rxr+sw693FQp36gZMtdEoSCIHv0PL/CJ0V85fKGCGE8y /pR3LY2u51nU2UytjViZG3hnNMeFzk7qTeWMtOPXQS6IX583UNpZ/5hH7HjjkhN/Qvxt x71WS0E/x+Bp14fi5lNAdLUlbaP0Jw1Trth+502xIR87AIfMVG5sV9EfFEHtqT+g25jW VNPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=72B5EjBlxH/hJW0Pt1+4TkuqGF6WhqVtxD17JGvW/e4=; b=JzpSi/Jt3DAk92tPIrrmFjECBLioVEEA9x2CwW6x+pKPpl9XizdfuPFi7TQ/2PphGt gx24ye/UMHAH+sRQrOlOIFkk/PEf2utRrZvon0RkikQBzwBbtD4DFz58hDNLGlMQ8Qun G+DgQ3yl3Dnok0M9TobZ+LXHKZ12QEK8vEvzs9Ia05pT2kH2dDBgBYcLRWgAC26tJLjy BNbqCFzJ4EhKHEzR0Q2mqwAxWI8fvGXgakq82mhiBW+ShSj5UDuD9FD7aA6WkpDZzx7B FnyMFXp7v4f5zeRoiM/a+dWm7cy2aZdmxKPE5PBFac+rzrdPmny+xE0iVnPhkmRL8s2J JC0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jRsxzbZ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y18si1141379ejj.628.2021.03.05.04.36.28; Fri, 05 Mar 2021 04:36:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jRsxzbZ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231529AbhCEMd3 (ORCPT + 99 others); Fri, 5 Mar 2021 07:33:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:43574 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231273AbhCEMcy (ORCPT ); Fri, 5 Mar 2021 07:32:54 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3039065029; Fri, 5 Mar 2021 12:32:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614947573; bh=tUZKNZhWJpjkWShUnhOGdTZEMrFmHan31w7T4kvf+MY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jRsxzbZ6F7xhWK4NWv89NgTwef4/eYHg/GAZFKq3ZZHwMwWoq0VZsoiPZ+S6qyzAI mcohHe3BTj4+uPC8N21ed821MHNviBTDgkoSVnGz4Pvx2QWsOpknf1J5jYKS7KX3JD Tgf5r5hZyQQGTTydwM9XKBFaSG2vFnqNgCAip8CM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Bj=C3=B8rn=20Mork?= , Lech Perczak , Jakub Kicinski Subject: [PATCH 5.4 01/72] net: usb: qmi_wwan: support ZTE P685M modem Date: Fri, 5 Mar 2021 13:21:03 +0100 Message-Id: <20210305120857.411288511@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210305120857.341630346@linuxfoundation.org> References: <20210305120857.341630346@linuxfoundation.org> User-Agent: quilt/0.66 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lech Perczak commit 88eee9b7b42e69fb622ddb3ff6f37e8e4347f5b2 upstream. Now that interface 3 in "option" driver is no longer mapped, add device ID matching it to qmi_wwan. The modem is used inside ZTE MF283+ router and carriers identify it as such. Interface mapping is: 0: QCDM, 1: AT (PCUI), 2: AT (Modem), 3: QMI, 4: ADB T: Bus=02 Lev=02 Prnt=02 Port=05 Cnt=01 Dev#= 3 Spd=480 MxCh= 0 D: Ver= 2.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=19d2 ProdID=1275 Rev=f0.00 S: Manufacturer=ZTE,Incorporated S: Product=ZTE Technologies MSM S: SerialNumber=P685M510ZTED0000CP&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&0 C:* #Ifs= 5 Cfg#= 1 Atr=a0 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= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option E: Ad=83(I) Atr=03(Int.) MxPS= 10 Ivl=32ms 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=85(I) Atr=03(Int.) MxPS= 10 Ivl=32ms E: Ad=84(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=87(I) Atr=03(Int.) MxPS= 8 Ivl=32ms E: Ad=86(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= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=(none) E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms Acked-by: Bjørn Mork Signed-off-by: Lech Perczak Link: https://lore.kernel.org/r/20210223183456.6377-1-lech.perczak@gmail.com Signed-off-by: Jakub Kicinski 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 @@ -1280,6 +1280,7 @@ static const struct usb_device_id produc {QMI_FIXED_INTF(0x19d2, 0x1255, 4)}, {QMI_FIXED_INTF(0x19d2, 0x1256, 4)}, {QMI_FIXED_INTF(0x19d2, 0x1270, 5)}, /* ZTE MF667 */ + {QMI_FIXED_INTF(0x19d2, 0x1275, 3)}, /* ZTE P685M */ {QMI_FIXED_INTF(0x19d2, 0x1401, 2)}, {QMI_FIXED_INTF(0x19d2, 0x1402, 2)}, /* ZTE MF60 */ {QMI_FIXED_INTF(0x19d2, 0x1424, 2)},