Received: by 10.213.65.68 with SMTP id h4csp2121916imn; Sun, 8 Apr 2018 20:14:34 -0700 (PDT) X-Google-Smtp-Source: AIpwx489WbHBSrLTf6fDwfM2Go4HLHqqiQhvIxaSYfyKzgzhqonCi/bWqezT+jISrPVLW+SeSfLq X-Received: by 10.98.11.149 with SMTP id 21mr27484730pfl.64.1523243310365; Sun, 08 Apr 2018 20:08:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523243310; cv=none; d=google.com; s=arc-20160816; b=kpB4r3iueK7HRi5+IXPKUaRE3kM2Ui/2u57/zolJo1XD7Njf9Gwy7Qnxmd9UuNfVRe LaLK4EjjYKbAlKeD91kOJYTqvuhMI0j9IdvZyN/cu+wJTdSoao8+UPCBf7LOlXpYRgrA FWb1aFxkbxGp14TqN14wtDp5TgXJiW3ct0kXlYB2tTVLzYkKGLZck9qlBYnfbP7mjxg9 Q0yZVnJBSrHLuoE34EewV0T7j1ZWUL8wOcGL15ODzOPStDlAHHlaParwIatPpo2ps4w4 FSVfPxOF4CB2RsZq3KX3DgiLneUy2Lwv+4UDIMrIfWVKB73wJtGAxzMNVUvfsU+IUsK8 bseQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=UgeoqM5f2JyFNc1iuX81e7uxdOQML802PdKpbyehIAg=; b=o1fKP2DEYR1tY7rhXCpVHX6GO4OqV19pOEwE2fT4wMNXSln1dxTmYnM/CVrhYIWCND pmOOqQHtceWAjpB+CUji4eipaWy5Rxq6/kSkhbF/V/vQY5OLxgO0jL6en3cw0u97FcxB WZg0AG7q2zyrExqvfRtC6pzjWU4n0HzyKU1+JSetENPdRxv3zOGgw9M4TANWZGL6GzAK 6LKfMp2/H+Hkv1x70Xy0Af2X5JOupTnnPav0+Bfk2qWVLbVnC5O1A1LAZprPDxZuvqzO eNbXnzrJyDe57DoCJU1HZ9AloH3VwtYH86f8mJwKPGQW4IGfw1HACc7BqCXOgpx5hes7 WISA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=FHLdw1Wp; 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=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3-v6si15808869plu.465.2018.04.08.20.07.53; Sun, 08 Apr 2018 20:08:30 -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=@microsoft.com header.s=selector1 header.b=FHLdw1Wp; 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=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932277AbeDICCd (ORCPT + 99 others); Sun, 8 Apr 2018 22:02:33 -0400 Received: from mail-sn1nam01on0103.outbound.protection.outlook.com ([104.47.32.103]:45281 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756420AbeDIAcJ (ORCPT ); Sun, 8 Apr 2018 20:32:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=UgeoqM5f2JyFNc1iuX81e7uxdOQML802PdKpbyehIAg=; b=FHLdw1Wpf5wJAm3+Bg8OdGTBGg/1Q4k0oPnmXJfV8w0p94Bflm/LIhaoiBpLCn4gEaN74KUEt+0yhOStq5fmYJJufzsJxXtpcq7NWzh2i5ZNRSc1Q9qGLfX7EQxO9J8iUBnpv6jK2CU5y8JJmxSYS8MOEvBN24nXSVaYUTIL/e4= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB0870.namprd21.prod.outlook.com (10.167.110.165) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.696.0; Mon, 9 Apr 2018 00:32:05 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059%2]) with mapi id 15.20.0696.003; Mon, 9 Apr 2018 00:32:05 +0000 From: Sasha Levin To: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: Tore Anderson , "David S . Miller" , Sasha Levin Subject: [PATCH AUTOSEL for 4.9 197/293] net: cdc_mbim: apply "NDP to end" quirk to HP lt4132 Thread-Topic: [PATCH AUTOSEL for 4.9 197/293] net: cdc_mbim: apply "NDP to end" quirk to HP lt4132 Thread-Index: AQHTz5lCd1KBRd1pk06MZa8yjDAiog== Date: Mon, 9 Apr 2018 00:25:28 +0000 Message-ID: <20180409002239.163177-197-alexander.levin@microsoft.com> References: <20180409002239.163177-1-alexander.levin@microsoft.com> In-Reply-To: <20180409002239.163177-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR2101MB0870;7:SLtAfyk8yNInDsJRJWlk3nMi3NFPWrLvD+TMBGq8oypjkj6SrmWgYYVcEfXzdVlNNELwMZty3wDiLbQ597fwo6AwI0CkqUZ5e/CaiH28UGOjj+l58/Jt8qGHQO7/lIbkhxbWaf+eE5fmaOHofr6TYOs6PQx51By1Fqnqa2CYEKV2ovQYTvyYCuaGDYcurojZhSbBaXd9Zw4V0PC7uQvme9mStfQo4/p5qu6Cz0KzLfCxTv7bwOBSj+pvvMRK/pVp;20:8k3K6/JBZR3KwTsuclZ9RUbkFXIJzwuU6BVldxAxdwoMda9I6QeiiilhZf0jm8SdEz2jtcR4EqYZhQ4Jrif8HUr/FB4Rd49IknRoTLIqQcKvmXEzP+m1WzZTNLU2pkp/yg5q8nmo3+MeT5ws4hETLGh2XOpepXk2dvFGhf65NME= x-ms-office365-filtering-ht: Tenant X-MS-Office365-Filtering-Correlation-Id: cbbde28b-045c-4a0e-7557-08d59db1523c x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:DM5PR2101MB0870; x-ms-traffictypediagnostic: DM5PR2101MB0870: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231221)(944501327)(52105095)(93006095)(93001095)(6055026)(61426038)(61427038)(6041310)(20161123558120)(20161123560045)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:DM5PR2101MB0870;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB0870; x-forefront-prvs: 0637FCE711 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(39860400002)(366004)(396003)(39380400002)(376002)(199004)(189003)(53936002)(2906002)(6512007)(102836004)(2616005)(76176011)(14454004)(446003)(10090500001)(11346002)(476003)(486006)(107886003)(2900100001)(97736004)(66066001)(6506007)(6436002)(106356001)(99286004)(105586002)(3660700001)(6116002)(86612001)(3280700002)(6666003)(2501003)(10290500003)(26005)(8676002)(8936002)(478600001)(68736007)(5250100002)(5660300001)(316002)(4326008)(72206003)(186003)(110136005)(6486002)(7736002)(25786009)(3846002)(86362001)(36756003)(22452003)(81156014)(81166006)(305945005)(54906003)(1076002)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB0870;H:DM5PR2101MB1032.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: zegauIaSn7BeiPZVPCOlvmEi9hRn0/r+gy6ozsevOljgdACaRhMO710/5nZyGqh17b2eASI08qmMYU9kqQLMVIGFtF3VQTIEVWjbrx1gfrCCFhhcEVJmBHrp4s6fqcBOWPHZEzOyWcq9bqF9MQ11s2UQpBUPsiDIGuvhfcijW+Habx711Op3QCupsJ0H30qkCblzBl1xs7pkjG3yYKUvWVvIItx2BHyr39+5dcCeT5JFu7hyAnVIThv4bpr/y/AU2NLMR906lDcWnBnRdu38Ic9OCxhDkdO//iNMIQj6CmnWN11KH7SUia7ikgjOHyxJlYB47bimzNElOMc5s2kyHi45xRL4KnlZEBBXfm2n8cNYmH7ePIU5uI9zqiUcNl6Cmu6/xJjHDg9jFb0upNLOBeish41/WbPNtF2j7OEiC/g= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: cbbde28b-045c-4a0e-7557-08d59db1523c X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2018 00:25:28.1127 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0870 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tore Anderson [ Upstream commit a68491f895a937778bb25b0795830797239de31f ] The HP lt4132 LTE/HSPA+ 4G Module (03f0:a31d) is a rebranded Huawei ME906s-158 device. It, like the ME906s-158, requires the "NDP to end" quirk for correct operation. Signed-off-by: Tore Anderson Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/usb/cdc_mbim.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/usb/cdc_mbim.c b/drivers/net/usb/cdc_mbim.c index 3a98f3762a4c..10862296c824 100644 --- a/drivers/net/usb/cdc_mbim.c +++ b/drivers/net/usb/cdc_mbim.c @@ -642,6 +642,13 @@ static const struct usb_device_id mbim_devs[] =3D { .driver_info =3D (unsigned long)&cdc_mbim_info_ndp_to_end, }, =20 + /* The HP lt4132 (03f0:a31d) is a rebranded Huawei ME906s-158, + * therefore it too requires the above "NDP to end" quirk. + */ + { USB_DEVICE_AND_INTERFACE_INFO(0x03f0, 0xa31d, USB_CLASS_COMM, USB_CDC_S= UBCLASS_MBIM, USB_CDC_PROTO_NONE), + .driver_info =3D (unsigned long)&cdc_mbim_info_ndp_to_end, + }, + /* Telit LE922A6 in MBIM composition */ { USB_DEVICE_AND_INTERFACE_INFO(0x1bc7, 0x1041, USB_CLASS_COMM, USB_CDC_S= UBCLASS_MBIM, USB_CDC_PROTO_NONE), .driver_info =3D (unsigned long)&cdc_mbim_info_avoid_altsetting_toggle, --=20 2.15.1