Received: by 10.223.185.116 with SMTP id b49csp4926300wrg; Tue, 27 Feb 2018 05:06:59 -0800 (PST) X-Google-Smtp-Source: AH8x225bN6fmqGFyYmkzFp+/wLONmrPUQaFk7mzrGi7gqaOQ5KXhKFwMUNzUGVKuZZX0G0TRflAC X-Received: by 10.99.120.138 with SMTP id t132mr11172000pgc.54.1519736819675; Tue, 27 Feb 2018 05:06:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519736819; cv=none; d=google.com; s=arc-20160816; b=eWuXGdemtVHPX/shR2K0MkCQCWU4/GnhAD0Pe4R2hu3sAZliNutzY5qSnC2DuJcuQ9 EdrPXZ05YQAOacNFz/WXyfL3bDqGhg6bPIdNxwgjGj3US8PUWXmlEhJb1NcqcExPEl3N is5JcRsVzyWnq2HWlc1a8VcLuyAMNMdFz2ySTIhGOMdpGJdT+X4yMFdfpczg64bvE/39 v0n3OnwB3FchIJM2N9gyq3GWlrWb6RyDB2vo+zqQlQMOoFVrwbRTky3tfJUueK1xLxnu DeAme1N4ApuIVIhaxBbPAkUuL0MSGBEcvizuaI0DY4twPK9BOMCr6isIBdJFwe7+QQu9 bbww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:arc-authentication-results; bh=Doxn+7qFppO/qPRiTjb58cJBEcpeObIljHGOd2UMwDw=; b=YmvJ5fy7FYHXszr9QLrz6AupgEy3A5oNE1nYjIz/sy5hMB6M2bAdlvFiAl38QtOrh0 ATAqUQp4468YvHDbYDotHeiEpc8jbVBdPHQzJNqRtexQ8WEBlLt2xGLzGLYI2Oby/bk7 XWGTpAkClAHjX2A1xLhXebsfb5EO49cJyIV/lo2rMXqzEtn1HBhff1aAYvj3fNs7TkxB DsZmeR4j5mY/CJ8+1TkOGdwdIy0OB8FnR8YNglS7XG+aRo2RG7Kk5PXNdDqEb0bobOQo Yj7CMPIwzkxBhHO2RqbTwM5g1A3/71hl3NNZur1TQy1XQzdZSaDKmXJqlCAy975QNNBE ogzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@actia.fr header.s=selector1 header.b=jz2zt5Je; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=actia.fr Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p1-v6si8582657plb.760.2018.02.27.05.06.33; Tue, 27 Feb 2018 05:06:59 -0800 (PST) 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=@actia.fr header.s=selector1 header.b=jz2zt5Je; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=actia.fr Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752884AbeB0NEa (ORCPT + 99 others); Tue, 27 Feb 2018 08:04:30 -0500 Received: from mail-eopbgr30072.outbound.protection.outlook.com ([40.107.3.72]:4783 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752056AbeB0NE1 (ORCPT ); Tue, 27 Feb 2018 08:04:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=actia.fr; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Doxn+7qFppO/qPRiTjb58cJBEcpeObIljHGOd2UMwDw=; b=jz2zt5Je2Za1gYzgOGnNyVDp5ufCi74Sa6vZAYCejRJKtTx3yPYfL36aiAo6O8I6z19HQXB2QZU+kwWu83WO34tZnrz7/sETnKbzEEv7eAAJo+oUtfOUQbS2GJWI750dPVEeqI7+0fszx2M7EdFvdir5WIE6N1eM63fKLesldsk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=bassem.boubaker@actia.fr; Received: from localhost.localdomain (212.194.216.83) by AM4PR01MB1875.eurprd01.prod.exchangelabs.com (2603:10a6:200:c::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Tue, 27 Feb 2018 13:04:24 +0000 From: Bassem Boubaker To: oliver@neukum.org Cc: bassem.boubaker@actia.fr, linux-usb@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] cdc_ether: flag the Cinterion PLS8 modem by gemalto as WWAN Date: Tue, 27 Feb 2018 14:04:44 +0100 Message-Id: <1519736684-29586-1-git-send-email-bassem.boubaker@actia.fr> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519732192-29332-1-git-send-email-bassem.boubaker@actia.fr> References: <1519732192-29332-1-git-send-email-bassem.boubaker@actia.fr> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [212.194.216.83] X-ClientProxiedBy: VI1PR0902CA0005.eurprd09.prod.outlook.com (2603:10a6:800:d7::15) To AM4PR01MB1875.eurprd01.prod.exchangelabs.com (2603:10a6:200:c::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: edf41923-ed18-44bd-2c01-08d57de2a015 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020);SRVR:AM4PR01MB1875; X-Microsoft-Exchange-Diagnostics: 1;AM4PR01MB1875;3:wom4EIULj3y9/v56Hy7ZZw4MnQI2pBsXdPCK+ppsmp3r2hMwg447peI9uuGejNMYUy9H8CDIdln4GXLDp367zl0c27CmLmweIEbmcRva+D/vs5BsPhN9SrCQyUhgRqy75Y9j/CxciGscPHuDOZyS7VeUAPyxxvPS48U7EdopQ1A5biz15iXCiphhdSQd8BHzFGf6J1ErbsFHQ/MkLS6ngmBHonFto6m8O1AOh/jVIt/sV92+dLGIIsIbANGHuT98;25:16T3QdGl04Rj4wQ9xF1npcXX9H8VoIvh/q1XZd1D4rj6LV7Nx00DkEfaLxDkvEA+SreNsfjOu8xXC6uVu+tdw3XCPPMhyBLt9P/MHwK4PBOjplRPpp9GzGncMBkOqF2lxUrNMSKjQtX86OX70A1i+lHy8Up2iDw5YMm3GsihQ/rxN5nFTd+faInhI7L4y5qVncmUhhutLCDmDdCK0wg379EmfnthqNahpqNis+/Jj/uYEQjpX7aKY+UtI00A/SqaflhXd9e3Roddky5ochqnmX74dTEsHfr5zPbpvMEhnEHPWAqtCrTDkIUGJ0jysqdZKV4rBUiiqIiA64+MJeEHCA==;31:Yf0K8xt5m5BY4ukXGdQ0526Y51p9aIA85qsXHw4oTxAshhbu0+Hlv1jfjODQGZdVL7tDL2jtQhi2vxZve5wiziEOZSSnnqSWlWeWf68ZGFm+yCIVch0ZYPoQFugjzotlQmfxX5lwya9ewpv2cFbO4TAE8dN5XLSywotQPkRpsuDG9hMAfAuNoypx+TQYjV8qtbciuJwr3CWsFsidyw2OJAkTZTR5ss/Qpe45vLBRJ84= X-MS-TrafficTypeDiagnostic: AM4PR01MB1875: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(3231220)(944501161)(52105095)(6041288)(20161123560045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011);SRVR:AM4PR01MB1875;BCL:0;PCL:0;RULEID:;SRVR:AM4PR01MB1875; X-Microsoft-Exchange-Diagnostics: 1;AM4PR01MB1875;4:BN09pMRdBssd+obDzFeKmpEMeHpN9wsE2ADNlOSK3n8tqj6cXR94vEhUg/5Iz0emjYZ1CwY9S7a4xTykWfjA91Nz4+f/WtGgoO/2UMWCL465eSRagIjWxyKqrvuanydU6wPYKceXowZAwWEwBzJK++ndjT6J2D9rp21vHM3ho9A2u2A/pAzOpUCm0LB+1dtN9k2wNUq32N+kgONB3DtqVHe0txUZK46B5cuSUYNrBpIthVze8RuB9YwLlRU+Z3bU3hQjvpz/tVmZkW+fFGgSxA== X-Forefront-PRVS: 05961EBAFC X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6069001)(366004)(346002)(376002)(39380400002)(396003)(39850400004)(189003)(199004)(4326008)(6116002)(3846002)(25786009)(2906002)(47776003)(68736007)(316002)(16586007)(48376002)(50466002)(74482002)(66066001)(36756003)(6666003)(2950100002)(6916009)(6512007)(8676002)(2361001)(50226002)(8936002)(81166006)(53936002)(81156014)(106356001)(478600001)(5660300001)(2351001)(6486002)(7736002)(105586002)(1857600001)(305945005)(52116002)(51416003)(86362001)(97736004)(76176011)(386003)(6506007)(59450400001)(26005)(16526019)(186003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM4PR01MB1875;H:localhost.localdomain;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; Received-SPF: None (protection.outlook.com: actia.fr does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;AM4PR01MB1875;23:QASFWgs4+gwaiWgIXSs6JZ0FxNXmkPoOzuNpbp/zp?= =?us-ascii?Q?VVSHmzJEDZwpnXQcRkpviXWS4gU37G1kKxGYyrymhPPL7Ryg4Ac2ehBbNXey?= =?us-ascii?Q?Y4cEmHsUGU3LsxQrsguf/HS34e2Geam+sWgjjWOcm2jOjAj7RC0tCvYiOmpn?= =?us-ascii?Q?L2Ay83EG70wjSCk4xe8EAGVexluSkYxRVBkglTM2idHHidBDx26wH5LpuyVT?= =?us-ascii?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YWj8G3MaZYs0DYD/XS8WSPcVpihfiEXcpZk6zh64V9Kcw42H SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: actia.fr X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2018 13:04:24.0240 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: edf41923-ed18-44bd-2c01-08d57de2a015 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 86314f06-03e8-4460-82f3-a44f992a19c7 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR01MB1875 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Cinterion PL8 is an LTE modem with 2 possible WWAN interfaces. The modem is controlled via AT commands through the exposed TTYs. AT^SWWAN write command can be used to activate or deactivate a WWAN connection for a PDP context defined with AT+CGDCONT. UE supports two WWAN adapter. Both WWAN adapters can be activated a the same time Signed-off-by: Bassem Boubaker --- drivers/net/usb/cdc_ether.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c index 05dca3e..fff4b13 100644 --- a/drivers/net/usb/cdc_ether.c +++ b/drivers/net/usb/cdc_ether.c @@ -896,6 +896,12 @@ static const struct usb_device_id products[] = { USB_CDC_PROTO_NONE), .driver_info = (unsigned long)&wwan_info, }, { + /* Cinterion PLS8 modem by GEMALTO */ + USB_DEVICE_AND_INTERFACE_INFO(0x1e2d, 0x0061, USB_CLASS_COMM, + USB_CDC_SUBCLASS_ETHERNET, + USB_CDC_PROTO_NONE), + .driver_info = (unsigned long)&wwan_info, +}, { USB_INTERFACE_INFO(USB_CLASS_COMM, USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE), .driver_info = (unsigned long) &cdc_info, -- 2.7.4