Received: by 10.192.165.156 with SMTP id m28csp231878imm; Tue, 17 Apr 2018 09:12:38 -0700 (PDT) X-Google-Smtp-Source: AIpwx49xSlfExG9Fk8oMm+0LENV0r6Z+lHV8METzfYnemfU2sVSubV58z6+Tbme1oSObZcTGpzSI X-Received: by 10.98.246.25 with SMTP id x25mr2545069pfh.138.1523981558046; Tue, 17 Apr 2018 09:12:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523981558; cv=none; d=google.com; s=arc-20160816; b=ojWINgYvsghk1iIKNL9g08OXPtqkCe31ZHTuJ6H4xs6oFuh3XWSgB4WvCEav3Ionfp tDEyZ8UD20yOCiLYbnVq1+gliLH1v417wYjRet3iVHSLiPusI2Pcq8cYrm3nXRfgiNOr aBsLcOh//i/yW6+vnOO/LSjlrrRE/npIsqhe3LPUGawxZJEOKx84Uh028UYmFdhc4hwb X7noMMLV5QXH2HnSkCN7guFrQoMwWZcpIzfvvvjYN024SNND+TjmrHhgwZx0DhVkOyno IW6Cyy5GiDhEtvDZKOrfBuvmf/F6T39MwCQ3aF9Raq/47jRE3tOi4wxKQg6hjOiMzcjO YRoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=UCBJgUTlPsVtVVW48VBOQIPqM+lL+d26HgClAR+LHMI=; b=tIYs8cSj2sMhYkZ6bgl2SnGNMunm/xxxQQKDMwoWEfZaW8hJyzqi6mOxczVJvCipfF Xhudnzfm2tuuI6PBBMVUGhNQJvMtJiCqZRIma+kO7TwDQBxop+Xifxqq23JXzPY8QnQ5 22B95QZe/W2QwU2erL2KCSWBdv08CQIliB0ILgLAKpisOKf3djnMCZsGgK2lxLyyq5z5 v8AuERzsxnJZL/tl77C6vq6uH1QM/u4rnNlSRYiqfjwyiaiJ0YtDWqol6+1sWlSK9yN1 IRDAjO/uQPJdCvfccmrxzXa2BeLrG4sISSAwhxBgMRXWVXnTrVuBS9NAtuYkrBleFpeC Edbg== ARC-Authentication-Results: i=1; mx.google.com; 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 1-v6si13926806ply.119.2018.04.17.09.12.23; Tue, 17 Apr 2018 09:12:38 -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; 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 S1755911AbeDQQKn (ORCPT + 99 others); Tue, 17 Apr 2018 12:10:43 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:36478 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755898AbeDQQKk (ORCPT ); Tue, 17 Apr 2018 12:10:40 -0400 Received: from localhost (unknown [46.44.180.42]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 63FCDD2D; Tue, 17 Apr 2018 16:10:39 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Bassem Boubaker , Oliver Neukum , "David S. Miller" Subject: [PATCH 4.9 62/66] cdc_ether: flag the Cinterion AHS8 modem by gemalto as WWAN Date: Tue, 17 Apr 2018 17:59:35 +0200 Message-Id: <20180417155648.556676728@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180417155645.868055442@linuxfoundation.org> References: <20180417155645.868055442@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Bassem Boubaker [ Upstream commit 53765341ee821c0a0f1dec41adc89c9096ad694c ] 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 Acked-by: Oliver Neukum Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/usb/cdc_ether.c | 6 ++++++ 1 file changed, 6 insertions(+) --- a/drivers/net/usb/cdc_ether.c +++ b/drivers/net/usb/cdc_ether.c @@ -774,6 +774,12 @@ static const struct usb_device_id produc 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, +}, { /* Telit modules */ USB_VENDOR_AND_INTERFACE_INFO(0x1bc7, USB_CLASS_COMM, USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE),