Received: by 10.223.185.116 with SMTP id b49csp4854296wrg; Tue, 27 Feb 2018 03:54:43 -0800 (PST) X-Google-Smtp-Source: AH8x2248QpWk3jNJtdwFGYqgP7xIEkQDoPHzka/bHDYpzKtGkMt1rYJFfyKIrC1yqQD+HKPiDbpD X-Received: by 10.98.217.76 with SMTP id s73mr13814840pfg.209.1519732483716; Tue, 27 Feb 2018 03:54:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519732483; cv=none; d=google.com; s=arc-20160816; b=vtBwZGe8AYoPF+TAaE7Mr2ibaLkds07oeibd+VzcuZiNkJSORip+BRc3OBilvYJwIP IJ4q6WZ7UxZAQEHleDJwHhCfvY8uLKKi/oJVuesho+tgEoCox/7/Bw/e8zV1+YzycuFe B118PrYMImZnGz4gNGtU8BGoe6lYGGGDi3JeuHXsqkhBpgSN5RajkRnjWHYaUOSvKy3i twsFEWCK1dKlvGoeY9vdgWG6UXkDEj/QWqRIrPTab1FTEulU2BXG7XbIwA4MKzrPhn8M 1x0ESvLssdL9J9qlnwqnfhiX2hu9OoRRM74qYSuS5WWlNSzXFoxMQBTtnuAo7HexHprj niLA== 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:message-id:date:subject:cc:to :from:dkim-signature:arc-authentication-results; bh=vcwCDsJqW6GfrmB6k6uCz+OG3z0Ac0dqWN8Q+IdWz58=; b=y24O38cJ+dILqyGLUyuoSANhFNPlQacyhivsTvH+C9xCihVlffYx5ldg5N1NgamqNR kUI1LXF5fuaIHxF2I8qvukZOEHE6XNs5quluycpMvyaNCQa8yB0py7uZxNn6M9VVdCvB /hDwVJdkqFPIU8zaerKYMCSRg3NxHG9Fk92yis240CSL8ISXuxEJ7vH1bvB0wEYbKF2Q /MDNSrd+/FFLwWO5v+fbZ1vd9nYx2+Ul/htNGI+dHpnhjsbripihY7uCD2cZPGH7qqRk k0NlcZZhZaHkzOB7KN1LxvU2hf0ZT6PGVTCDsSXxYpaPFw8Q15fc3O0LGK4uNKxxNqTT GmEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@actia.fr header.s=selector1 header.b=UChmRI0V; 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 k20-v6si8360344pll.645.2018.02.27.03.54.29; Tue, 27 Feb 2018 03:54:43 -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=UChmRI0V; 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 S1753076AbeB0Lt0 (ORCPT + 99 others); Tue, 27 Feb 2018 06:49:26 -0500 Received: from mail-db5eur01on0041.outbound.protection.outlook.com ([104.47.2.41]:46796 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752107AbeB0LtY (ORCPT ); Tue, 27 Feb 2018 06:49:24 -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=vcwCDsJqW6GfrmB6k6uCz+OG3z0Ac0dqWN8Q+IdWz58=; b=UChmRI0Val3v59q3XVdSpcQBLioMWdoHlYOVGydDZvjYBZ8yn4ZF7oT9gsTeEDGqJuKD+Ai2dej5VUx2+wb2UF1MvT90xQuzejseoTb6JJqVgy3dW8oZYxvT4qofWYrQkievTMSyD79zbVeonVriMCeX46U+jAS/a0CPn18I6ew= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=bassem.boubaker@actia.fr; Received: from localhost.localdomain (212.194.216.83) by VI1PR01MB1887.eurprd01.prod.exchangelabs.com (2a01:111:e400:7bd9::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.15; Tue, 27 Feb 2018 11:49:19 +0000 From: Bassem Boubaker To: linux-kernel@vger.kernel.org Cc: bassem.boubaker@actia.fr, Oliver Neukum , linux-usb@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH] cdc_ether: flag the Cinterion PLS8 modem by gemalto as WWAN Date: Tue, 27 Feb 2018 12:49:52 +0100 Message-Id: <1519732192-29332-1-git-send-email-bassem.boubaker@actia.fr> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [212.194.216.83] X-ClientProxiedBy: HE1PR05CA0130.eurprd05.prod.outlook.com (2603:10a6:7:28::17) To VI1PR01MB1887.eurprd01.prod.exchangelabs.com (2a01:111:e400:7bd9::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d461e8cb-320a-44ce-d899-08d57dd82375 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020);SRVR:VI1PR01MB1887; X-Microsoft-Exchange-Diagnostics: 1;VI1PR01MB1887;3:SQB+0CdZqAMlbEjgVRuSUliqVURQUZDn23QeLMfCpAcJnDpltnCvjCOU17vIguQbP13489BRcth2+JSfMJ/iA0mtyvGkGSwXz4pMSSqS1FsVqbFX3qAxlWP+sfM7CCoq3VhsPLBG0KtHaZpvFPtoqq3QcnDYdBDkKcZkdiTjYDFiLk0LiDlcyKccJXoMkFQMBimG8/y8vGqBexe6viTEyHkytbXSZQSBClgO4vWY0ErvPQOIepnJ0qjb5SfEeG/O;25:WEMj53kA8F0kIIX2X61sVLG+/nHbV9qD32kYn77+6Q5XnXBHMVUKOCet/GH0NmISjx2gaRtMRhFzJJILZYtUrHVf3yCJqYlg0+uHTWAMzwgrumPHhXQN3Q+270NDTJ0+qml5fk8IyEc1DLGrAH2KO5NvCxpPJhMGoQ/o3zg6zPJpEjUBCjO8SfxOV0zvDavRnLsmwOPQTCD48v3kYoFnrcErMe3PNUu9N8caAP14LED99V68Z8+v+0bGM3dvl4ogReJgUK+VkJYWL3mejtzkxDj+8fiwTxaLt2JAZyUir9ocrsRyo2sgbRt/CAG090OG5CY0J1FdhQssBqildHS2+Q==;31:fLhwfspFPKpVX9m2iyeOcbrn1JXeoi9LCMhSkA9NHxVtLBYLO/m6Iq0J030d5Z8s3W96ubRif3Yz5ClTry+Af8FA6uop4AY+sjiAEoaukrhZKwOb9fI8G0GSoOEsqOMcvT650leXRYDTqUkmCzw1t6XFvvozcg0J/cMYuigmmRqyItsfyrEqCBSW26xnFGMmkb6Fumu+AGXLY/PVDO/wGde2gnalb/o/rhy7xvO+vj4= X-MS-TrafficTypeDiagnostic: VI1PR01MB1887: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040501)(2401047)(5005006)(8121501046)(3231220)(944501161)(52105095)(10201501046)(93006095)(93001095)(3002001)(6041288)(20161123560045)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(6072148)(201708071742011);SRVR:VI1PR01MB1887;BCL:0;PCL:0;RULEID:;SRVR:VI1PR01MB1887; X-Microsoft-Exchange-Diagnostics: 1;VI1PR01MB1887;4:q8ri2xuPfwZ4zRyTkFB+0bykAkOQoY7C+NTmRYyRsByBSp1n+YhHpiOotMbYt7hTzgqEY35gmQJy8lhqdBACXGztzF02DG8SMGvqh/S7CocdPxzVlB2mCDm4wasSNN2d3T60MfjhYIINJSkD/agJXWlma50HHsCp6u9B7Axkhxnz7P6BgazONjRPbvDf0j1NnHe5ohlVJ9gpT7uonHGD5/LP5dDhk5XtomRkuNSrYo0JvdLZIVFGsiQj308OCAP34nK+/4yGrqsoFZA9ZrjT5g== X-Forefront-PRVS: 05961EBAFC X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6069001)(376002)(39850400004)(396003)(39380400002)(366004)(346002)(189003)(199004)(59450400001)(2361001)(6666003)(51416003)(6916009)(5660300001)(4326008)(36756003)(74482002)(25786009)(68736007)(2906002)(6512007)(106356001)(3846002)(6116002)(2351001)(186003)(8936002)(48376002)(16526019)(81156014)(386003)(316002)(53936002)(81166006)(16586007)(45080400002)(97736004)(105586002)(478600001)(26005)(8676002)(66066001)(305945005)(47776003)(50466002)(52116002)(86362001)(50226002)(6486002)(6506007)(1857600001)(7736002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR01MB1887;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;VI1PR01MB1887;23:l656JQjDLkNQHQ2BwTyjiZeGbWM7RX9+17njHU50q?= =?us-ascii?Q?UrNUAIRAHT85hTDYeQdydVJ6KSy8KsGiEh2noiP5vc3p3U7uvy6B0DqX104m?= =?us-ascii?Q?OlNGPH0cHg3Ppp/mYecT0pwOIpuEQHTEw5iRJJpARzGgniVwW62/O5t0S4DD?= =?us-ascii?Q?eyeSBzAzdHu3j17T1xxwtF5sJmY+32ywTGRcgDuyW37pjXu3bUGQxV4auPCt?= =?us-ascii?Q?O+3/hB2cWWdwgBPDS/bqi5qWKy/uYcEP1eisvedDMm4la65udsAE5SCJ43hI?= =?us-ascii?Q?drPO+ElYhyvO/95d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Tenant-OriginalArrivalTime: 27 Feb 2018 11:49:19.7720 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d461e8cb-320a-44ce-d899-08d57dd82375 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 86314f06-03e8-4460-82f3-a44f992a19c7 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR01MB1887 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 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c index 05dca3e..65621fe 100644 --- a/drivers/net/usb/cdc_ether.c +++ b/drivers/net/usb/cdc_ether.c @@ -562,6 +562,7 @@ static const struct driver_info wwan_info = { #define MICROSOFT_VENDOR_ID 0x045e #define UBLOX_VENDOR_ID 0x1546 #define TPLINK_VENDOR_ID 0x2357 +#define GEMALTO_VENDOR_ID 0x1e2d static const struct usb_device_id products[] = { /* BLACKLIST !! @@ -896,6 +897,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(GEMALTO_VENDOR_ID, 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