From patchwork Sat Jun 23 21:22:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Aleksander Morgado X-Patchwork-Id: 10483911 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C001A60230 for ; Sat, 23 Jun 2018 21:23:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B3F04289DD for ; Sat, 23 Jun 2018 21:23:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A648128A1F; Sat, 23 Jun 2018 21:23:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A4C2D289DD for ; Sat, 23 Jun 2018 21:23:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751634AbeFWVW7 (ORCPT ); Sat, 23 Jun 2018 17:22:59 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:42476 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751625AbeFWVW6 (ORCPT ); Sat, 23 Jun 2018 17:22:58 -0400 Received: by mail-wr0-f194.google.com with SMTP id w10-v6so9858737wrk.9 for ; Sat, 23 Jun 2018 14:22:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aleksander-es.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=xBZqsGL5iDjgCMzY5vwHcm4QEEyNKMWPq7mIFPbvgg8=; b=fHUTJQLI6aWJK4SvO62Q/U47PdbmanpMACiFRZ0z2GFbMrdAcC+3jP2GrNvkgEPpng Dws8idEvMqT9Ns0jqLc3O0SkhDIgieSTALP6mdMqKI7FSdzTzvDxuMTFYp8+By2wJ4kI PbG9hBt2NXR6pZ2+fT5bmfVyMi6V9z8VrwOU1tb51u7RGBe2oJVZ3tzwq/W8cG6J1bIj Hxrrufqpcgne4JrJbC9fpBlkYSMu3N8KBzBElzzE5ty7XNCrBc28uI46jZ2fptYBo9z8 BE/eAo3ikj3VFi6tzuQY36XOe+p62A5hJ/sWAFLoeyesxNKGzsQhbtWy/N9LX+jAgu63 GBNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=xBZqsGL5iDjgCMzY5vwHcm4QEEyNKMWPq7mIFPbvgg8=; b=GKSU72v6gQHSltAd2+MeRiGW8rHrxwH7HE4t/Nkm9Ac6X/PBu/d6hdLX1Rb/5Ameno 3mDqiWVslw79JpL+ayMOPSyMtaslh9AXMh5Pvm3VwR1iF80q3Ji5Ut8JQadlcm5Q4k8u JrzDTso3BvSYFWw7y42HnDAUpCxw5Eq+Ukv+TBdw6WprH3mLO6oi2/rjHkOBwLwdFSJ8 IWd83+I6yV6RS6Ui6d1Zw6Dr0IV+vDjUzbBXK+OSpMCYJN4h7SLuTLoltCT0hs9XiuLz THqc90aJgD0sZGCMrDUVxdf3VSAE4nhNDktASimUPuMF4jT1BrP+EGEjjt4etX4o5TWG si1Q== X-Gm-Message-State: APt69E3pTxX+O1vvc+LuPFIdapETIJtcqJNeIWNjBFXUUwL1zqFN3ydN Lu5WWM10h8/d3860D/QfWG9d72gJH6M= X-Google-Smtp-Source: AAOMgpd30CuFwkUIlDsv5+pg9ieZBmd5XbFX7UFxUePfuAuyDWq6JEihsp9zEzLmMkvcC1BxnZj+kw== X-Received: by 2002:adf:9721:: with SMTP id r30-v6mr2570222wrb.5.1529788977161; Sat, 23 Jun 2018 14:22:57 -0700 (PDT) Received: from ares.lan (71.red-83-38-21.dynamicip.rima-tde.net. [83.38.21.71]) by smtp.gmail.com with ESMTPSA id z128-v6sm6525957wmz.18.2018.06.23.14.22.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Jun 2018 14:22:56 -0700 (PDT) From: Aleksander Morgado To: bjorn@mork.no Cc: netdev@vger.kernel.org, linux-usb@vger.kernel.org, Aleksander Morgado Subject: [PATCH] qmi_wwan: add support for the Dell Wireless 5821e module Date: Sat, 23 Jun 2018 23:22:52 +0200 Message-Id: <20180623212252.15026-1-aleksander@aleksander.es> X-Mailer: git-send-email 2.17.1 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This module exposes two USB configurations: a QMI+AT capable setup on USB config #1 and a MBIM capable setup on USB config #2. By default the kernel will choose the MBIM capable configuration as long as the cdc_mbim driver is available. This patch adds support for the QMI port in the secondary configuration. Signed-off-by: Aleksander Morgado Acked-by: Bjørn Mork --- drivers/net/usb/qmi_wwan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c index 8e8b51f171f4..8fac8e132c5b 100644 --- a/drivers/net/usb/qmi_wwan.c +++ b/drivers/net/usb/qmi_wwan.c @@ -1246,6 +1246,7 @@ static const struct usb_device_id products[] = { {QMI_FIXED_INTF(0x413c, 0x81b3, 8)}, /* Dell Wireless 5809e Gobi(TM) 4G LTE Mobile Broadband Card (rev3) */ {QMI_FIXED_INTF(0x413c, 0x81b6, 8)}, /* Dell Wireless 5811e */ {QMI_FIXED_INTF(0x413c, 0x81b6, 10)}, /* Dell Wireless 5811e */ + {QMI_FIXED_INTF(0x413c, 0x81d7, 1)}, /* Dell Wireless 5821e */ {QMI_FIXED_INTF(0x03f0, 0x4e1d, 8)}, /* HP lt4111 LTE/EV-DO/HSPA+ Gobi 4G Module */ {QMI_FIXED_INTF(0x03f0, 0x9d1d, 1)}, /* HP lt4120 Snapdragon X5 LTE */ {QMI_FIXED_INTF(0x22de, 0x9061, 3)}, /* WeTelecom WPD-600N */