Received: by 10.192.165.156 with SMTP id m28csp588422imm; Wed, 11 Apr 2018 04:18:33 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+kUwuODmTTTrUIaeLWx8eOGrUr49tKZRl1WFZ0N6vB/KTwPlwk8WX0KPJzaav2tRsl+Sxc X-Received: by 10.99.185.28 with SMTP id z28mr3156192pge.59.1523445513760; Wed, 11 Apr 2018 04:18:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523445513; cv=none; d=google.com; s=arc-20160816; b=Fhx/SnTjTPB3w1KXDIt0iuX4fAc6zjYEpmVuNzDEx/wodp0M/LRvmWqzLxZcKSnRTM 2hstNkcji4rsPG+l4L5F9Y3GW7p66PWobtFDxD3TyVR8h3n3eX/YbE/mUjKDMJ1t9twF /5gIUt6ghrPNJbYPQko+HohfITSfKeRiSiuIQZWCpBUeRIUjVxjmqNx0n542uNsswXCW Y8uBaGqT272zd9LyUPJHZkUL0WD7qINgTRWZ5ugFDOt0jMYWGkqn5A0svWUB6TvsZru1 HfL/7sGYpfP1BtVagLv31oZNPLPQFGdM654IjnYBFaaNIR0EAYIvIUa7MwvyabqSYJnt 8Rbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:message-id:date:subject:cc:from :dkim-signature:arc-authentication-results; bh=FEcC3VL5cYQUEik+/axGgifu47DmymloVR3D6IhJ4ow=; b=OSJEKfLovzV24TP6imPGI3vinTHLYiKAOkDsPDFVGxW7cxd7Reb1I72b/cU17DtyqJ +Lt3OdUJ5OIEJ6VF0l/NWtZoUkfbExkZMrPegxSvc/Dv6fdzamWAxxwIxmfybJF+7a54 S2WsvFZZEsh+rN1EJ81I4edJBd32e8a/yKA5ZfJWr9zl6H6MdDsRRe7KMQOkhCoIYOw4 JPCmUTkd7NMMDvKvRM9gDgdlqsLyoeNNMWVybPfOZpe/GR5VqWBORMspq6eJYqfUhDga X2zxMy+n4fcuOgPZJIg5pKFMh9gE3mBbFqYL1lSLl8Y7+5bEi2WeKKiR1tBTxmYWTplu Az8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@actia.fr header.s=selector1 header.b=FPUQ6sA+; 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 q10si599961pgf.524.2018.04.11.04.17.56; Wed, 11 Apr 2018 04:18:33 -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=@actia.fr header.s=selector1 header.b=FPUQ6sA+; 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 S1752870AbeDKLOq (ORCPT + 99 others); Wed, 11 Apr 2018 07:14:46 -0400 Received: from mail-he1eur01on0044.outbound.protection.outlook.com ([104.47.0.44]:58592 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750801AbeDKLOn (ORCPT ); Wed, 11 Apr 2018 07:14:43 -0400 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=FEcC3VL5cYQUEik+/axGgifu47DmymloVR3D6IhJ4ow=; b=FPUQ6sA+mXNmsje0IdhXXz59Y0FbpmfZkTw4wvZUcLCWt4T/lW8Mdf3gKCX8lPMSKyS1z9ZbG2DIJV1W3h75lPm8lyINP/+p4krYrXh1i8K4XVBqyBkRfbW9NjZoXipb1QsZTs4xx2WRwgfeS5UW55gQ8LEc5S/1/EMejH0aZZg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=bassem.boubaker@actia.fr; Received: from localhost.localdomain (212.194.216.83) by HE1PR0101MB1707.eurprd01.prod.exchangelabs.com (2a01:111:e400:c517::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.653.12; Wed, 11 Apr 2018 11:14:39 +0000 From: Bassem Boubaker Cc: bassem.boubaker@actia.fr, Oliver Neukum , linux-usb@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] cdc_ether: flag the Cinterion AHS8 modem by gemalto as WWAN Date: Wed, 11 Apr 2018 13:15:53 +0200 Message-Id: <1523445353-7631-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: VI1PR0801CA0073.eurprd08.prod.outlook.com (2603:10a6:800:7d::17) To HE1PR0101MB1707.eurprd01.prod.exchangelabs.com (2a01:111:e400:c517::19) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(2017052603328)(7153060)(7193020);SRVR:HE1PR0101MB1707; X-Microsoft-Exchange-Diagnostics: 1;HE1PR0101MB1707;3:Mjf1jZUm0Jj9XUqK9ciimTkR5twL3B5BbzBM876ubMOceNd02ejcDI5UiHMgoCEpDAnbVeNKvq8x3/DGAqUSGFBuiPNKWz2d66Km+dCsULUX2Ou/G4ZVit+t3s6m+h0EHEDJ5f3BeE3+SjXHxceqxyE5hjvUY9jVlFoEPuS6OdqiETaoMze6Pz/iPFUxPWSbkpMuay9xdu7g7TtcOo8j/xJ4raPHi0E0LZ248j9e8uvONMDTqgHhb88tsldPDLaw;25:T3lnCTbuTmExA4f4MIbdi1+kla0LPIcQ4HpKDBBP7pqs6t1xA+UQ4H5i5Ma/MT+BOiZmMfI2w8E4uJTkWJkoCDNBwPzudp7JkFJ5UF1lZH7+n+i40a8tSW+ei/MD7hfJL/nvBsSAHuLRDu0JZ7D2Dt6tAUcIH7LRhhXssWTLbDMS9oQf64/fM1PhXcVieff61dQYa0DetpSiDAn8m8K+rA0rngyNbDrew6gs9jO88Fl4Bd2zieEX4lJrg30k1S+4e2wEGKl3ULltK+9W8NdRwvwv5aHvaVKPWPWSp4jdYnQrq7aqZdT/NIBQXryQHXBkzsqHmRq83e8CGRwuil2Yvw==;31:eVWJWTl1N3Na/EiRfdUpj1OtIoMgFuTGG7vBLv4dk3zbFoCNwJW4OOUR8VF5CmGY8v+OgSYF3qkUdEoJ4TQl/z4Pr+IahWBoGDUOTuDtCF2WRz7e+/ZFPgaoAyR0mey+EnN2poiQT7PyRTn6MffGezjY5qAsJ74wLCwIKOsLJE/qwqXau/wFdqWjt/4px7/f0bWEzX/IP18Kxh2xtZf4MbttoENO1AbYDT8ItZJegSk= X-MS-TrafficTypeDiagnostic: HE1PR0101MB1707: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(3231221)(944501327)(52105095)(93006095)(93001095)(10201501046)(3002001)(6041310)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:HE1PR0101MB1707;BCL:0;PCL:0;RULEID:;SRVR:HE1PR0101MB1707; X-Microsoft-Exchange-Diagnostics: 1;HE1PR0101MB1707;4:yrPyZI6IZlpZuZUVa1wGC3EL5FF1jnLgh26IIXu7noo732/ZDmcZmyXTfXnWPzBsAf7ATMWBoZoy3UCOU9SMFgMj++QJhW4o/Mf66s3wmUXQyOEeOR90GmS3M6v6CQM3nfco8Iww9yEjq1PP1dATBmBcAEBRm9hXMh2GoUZ7idR+22PNsqWbTfk5O012ridaeciR/o5/7SJH5DrxvMIoIXyJSBUobOQsL/fNUU+4TLly41y3w/PWAcFV+q0trFfm83AzWQS4AlSuDnJ27MvdRg== X-Forefront-PRVS: 0639027A9E X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6069001)(376002)(39850400004)(396003)(346002)(39380400002)(366004)(189003)(199004)(81156014)(68736007)(81166006)(8676002)(1671002)(8936002)(50466002)(66066001)(6512007)(109986005)(3846002)(106356001)(6116002)(105586002)(48376002)(5660300001)(4326008)(97736004)(47776003)(53936002)(486006)(36756003)(305945005)(26005)(2906002)(6506007)(478600001)(7736002)(386003)(25786009)(6666003)(16586007)(16526019)(6486002)(1857600001)(59450400001)(52116002)(74482002)(476003)(956004)(51416003)(316002)(86362001)(2616005)(50226002)(266003);DIR:OUT;SFP:1101;SCL:1;SRVR:HE1PR0101MB1707;H:localhost.localdomain;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: actia.fr does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;HE1PR0101MB1707;23:Fa/Wqb8ul8P7bTkaQAEZlkzBg1066QUyeyfDA3r?= =?us-ascii?Q?pbQBieswUOcbirdOpsttdxj8Se5UE1MBNJck/U+JmXsk1lv1kFAbt6oUWd6o?= =?us-ascii?Q?trelCzTwfgvD20YsbsJhXUgEz1+uargslTFYpeitrZkVJGtbSsfj8tajBgBo?= =?us-ascii?Q?o8SHsDOYCpgoM44zw4eF19yTZoRq2Y1LVPRqYUj8KI2jk04Jn348n4Tox52R?= =?us-ascii?Q?LdEcBFvzSerJhSBGpCHfLw7b5PuwuTsGKcsJHE0MKh6P2riS2mHxGpG3GeBL?= =?us-ascii?Q?u0RKT3/+0u0BJy8+raM/aCMlT0Qggeme64SJyrtP7x08fQfJ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SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;HE1PR0101MB1707;7:RdkFitdttTbQfddcaDVAGmATkFbGR9E9239CsuKERQFegZE87jvvENpH84obMjONkLfqJaLGXRR8uWbnVmaJd1SUSUqsBc20i6UbA4OFnOiGdVEYztRGuPXSuRroIlskQI400Ru8+s2Sq6yGuuXvXXJRd4l7hE9wNuqGPP85xfiVSLlI58xVbAdzY9wceU+CU2060RwC0UzH5WDgUjNYLUSNwJnSh+ig291HGb5GFTtcGQWTNqpQPbunCkcEAbo5 X-MS-Office365-Filtering-Correlation-Id: e32de2ce-6159-4dff-b8ed-08d59f9d6b58 X-OriginatorOrg: actia.fr X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Apr 2018 11:14:39.7607 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e32de2ce-6159-4dff-b8ed-08d59f9d6b58 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 86314f06-03e8-4460-82f3-a44f992a19c7 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0101MB1707 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 The Cinterion AHS8 is a 3G device with one embedded WWAN interface using cdc_ether as a driver. The modem is controlled via AT commands through the exposed TTYs. AT+CGDCONT write command can be used to activate or deactivate a WWAN connection for a PDP context defined with the same command. UE supports one WWAN adapter. 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 fff4b13..5c42cf8 100644 --- a/drivers/net/usb/cdc_ether.c +++ b/drivers/net/usb/cdc_ether.c @@ -902,6 +902,12 @@ static const struct usb_device_id products[] = { USB_CDC_PROTO_NONE), .driver_info = (unsigned long)&wwan_info, }, { + /* Cinterion AHS3 modem by GEMALTO */ + USB_DEVICE_AND_INTERFACE_INFO(0x1e2d, 0x0055, 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