Received: by 10.192.165.148 with SMTP id m20csp2449132imm; Sun, 22 Apr 2018 07:17:22 -0700 (PDT) X-Google-Smtp-Source: AIpwx49cFffhcjsjAmHzT9Ry74NrUza54d5BUDIQjfF5PehYmASNRG6HwXMOpvkWbNpo6EnWPWUB X-Received: by 10.99.0.213 with SMTP id 204mr14415858pga.256.1524406642446; Sun, 22 Apr 2018 07:17:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524406642; cv=none; d=google.com; s=arc-20160816; b=kEbqRlmYNEKGQN7kCsd7uztEg42ptGMG0aWOud4+fSgWPKYKldxiQjEjVJFmdw95QI eASxGQic74ZKodpLgQ8/gtsqLnSt3ViuiroPeoLYvw5XzRr1iEMjh12FtFXqHtPniFi7 9IoK4z0MBCZiYdCKGVwlwyJ/JHEFhC5a3X/4IDXTo360PkHbpEjER5IErAMqQWF1AtEg RekeUI35UGgVoZqYMa3e2fnElpk7oLYpjS89tIQZiilQZEnK10XSDnZjFgdWFVQyEX5e cKOSXbQCNEbjmxsUgvZbZLrZHzvyBHjq0S6fiCCSenNOtgrt619rOy1/eRYG16hZyDc2 wbJA== 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=F21zh+C/L90jsD7LgUwwiPP/Z62a+HrZEW9kLFEL268=; b=ouN7lWPOMdFZxiWiFFhOZ+d7YHN5rhnrEHhud2F6B0gGIZbkvUwbyxICkNul7Klea1 4+jdDx9rNOzJuEzNFXFRG+hkuJIAIL4BU7uxsuXcOjQ94P3gjSFrs1i5aupEqHAu0gQE ITuWkUntkl21kRMTNQZb1pryXYj6QUDXhUAh9uBtTtHz/vwq8RoHyhs28p7uHrgjiKc2 WnswNTeXwNWEw6JR8Qxhqy84R3p/BkrVu1OcQDu+HKYjvc8/rCLvuhv0LZGxQcbMlSwC CD4v8kRbCtXD6GYblxEJ8aIOctbBqGNABAtbqmUqufZRKmQR3fqUvp6grleYp6vgDufF I9RA== 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 l12si8251170pgr.518.2018.04.22.07.17.08; Sun, 22 Apr 2018 07:17:22 -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 S932205AbeDVOP7 (ORCPT + 99 others); Sun, 22 Apr 2018 10:15:59 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:56988 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757007AbeDVOPr (ORCPT ); Sun, 22 Apr 2018 10:15:47 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 4F3C8C1C; Sun, 22 Apr 2018 14:15:46 +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.4 16/97] cdc_ether: flag the Cinterion AHS8 modem by gemalto as WWAN Date: Sun, 22 Apr 2018 15:52:54 +0200 Message-Id: <20180422135305.522935434@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180422135304.577223025@linuxfoundation.org> References: <20180422135304.577223025@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.4-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 @@ -705,6 +705,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),