From patchwork Thu Feb 15 14:15:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Koen Vandeputte X-Patchwork-Id: 873879 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="OLjXoimi"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ncentric.com header.i=@ncentric.com header.b="EUccO8ni"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zhyyh6pW7z9t1t for ; Fri, 16 Feb 2018 01:17:16 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Message-Id: Date:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=8TL625Zo7ny1Cum6yCPWKws/xbWvJbzR5Rb/YpQ5WfM=; b=OLjXoimivigc5l ByLQZGp+ULGvavgOwXuc/ROwf2Neqs6rx+GQV7vx5/p+cd8Zr5gWPcXnsZMy5ZSah9xW0lbmcCIs3 Kj49HuzNmKBspETer6tEP6jgNyY4XrrbtIHZXyE+6UB7GmUn0qrpALG8bBz8/Q4cIplzYSuppl7F9 +RMSkazT5iCMNHTxidr1puZ9rk1f8btg6Q5kM15VNV25HloJLHOM2dOuHLmhQIA7zuEUjqqUEgcst vUnBWlnCYwTX1CtkGNolwpwpbmFzgxknk0aFrvQNZa+ogdEX9eVzl552jN8pWGv37GpsPjzvIOqdr vFNO0iepqVU4Vr+pSBbA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1emKLZ-0007AZ-9j; Thu, 15 Feb 2018 14:17:13 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1emKLE-00070q-Vi for lede-dev@lists.infradead.org; Thu, 15 Feb 2018 14:16:56 +0000 Received: by mail-wm0-x241.google.com with SMTP id h74so1079762wme.5 for ; Thu, 15 Feb 2018 06:16:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ncentric.com; s=google; h=from:to:cc:subject:date:message-id; bh=MrxvMOmc7ZZ7DsMyJEzzmYaph6rPOrEBGGhkxLMhVvI=; b=EUccO8niXuYz6xuBW05fSGBihxgbr2Nf5zIOb/lFFuWVWwJttWu+y3G0BJLB8fA/+w yDow/7JukMUVJ2mjtUbddeP/Nf5zMk0zwKbw2xtrZ0W6+h65wryvsJd8yq8FsrF8YuFQ 1tojKbYYc66g5RQCBZKfUuXnZWr2QJF5SRP8Y= 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=MrxvMOmc7ZZ7DsMyJEzzmYaph6rPOrEBGGhkxLMhVvI=; b=lK1Yj4yo0rTxmmO2Q4uXiwR6ZtIpaMn6lrQyPuyTOaMLixxmONKCb4ZprOoxe34wtU fmXAM6vtgPOQmLO29p7YXSgkuTBx1PIiSGsAK0uDlChakrCz+dhFvdng0CD0bOqo5yWj Z2SKMUpng58FjxSd2EpDA133C81KwGmWkTlB+yJXZsdHNhHR9NyrUVmks9daRmFHj3d7 haJlR9vGevUFQ7Y3+vGc6YzWvF7AoQdO+TVrFIp6WUAJ3Q2K9RHy8twqGeimEh7aX8Vt H7lZqvP7csDkF5wdjD1pBwNcjVvJ6LW0egsE1gnfnPyTGjJQwRSFWipIf7Ztd+8P7ZEs TSOQ== X-Gm-Message-State: APf1xPDKrqzefLw+o2Z7FQorQr0wYOY/LpbcRaYjOXT2SAORE6OGKf6U pa9PKHdrg79sgICbUzyIrbSM+b/BH+4= X-Google-Smtp-Source: AH8x226Q2obKkZYsEhEnp8nKdrU5McZQiJznJzoKDABOLMYDe4YT6J6jy/D/+AzzsxnMLuk3JzfQ0A== X-Received: by 10.80.173.252 with SMTP id b57mr3545508edd.143.1518704199680; Thu, 15 Feb 2018 06:16:39 -0800 (PST) Received: from localhost.localdomain (d515300d8.static.telenet.be. [81.83.0.216]) by smtp.googlemail.com with ESMTPSA id d6sm3462692edm.52.2018.02.15.06.16.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Feb 2018 06:16:38 -0800 (PST) From: Koen Vandeputte To: lede-dev@lists.infradead.org Date: Thu, 15 Feb 2018 15:15:55 +0100 Message-Id: <1518704164-22198-1-git-send-email-koen.vandeputte@ncentric.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180215_061654_036612_05B83520 X-CRM114-Status: GOOD ( 13.16 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2a00:1450:400c:c09:0:0:0:241 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain Subject: [LEDE-DEV] [PATCH 0/9] uqmi: Add raw-ip mode support for 17.01 branch X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: leventelist@gmail.com, lynxis@fe80.eu, Koen Vandeputte , john@phrozen.org, bjorn@mork.no, nbd@nbd.name MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org This series adds support for qmi_wwan Raw-IP mode which is the only mode supported by a lot of LTE modems. It does so by backporting all required patches and subsequent fixes known today upstream. No adjustments were needed to the patches (except refreshing them) to accomplish this, making it pretty safe to do so. Secondly, it updates the qmi dial-in script to the latest state containing all fixes which made it to master. The series has been tested on a Gl.MiFi device (ar71xx) using different SIM from different providers. As the 17.01 stable branch is widely used, this series should be a welcome enhancement as a lot of LTE devices will now be supported. Alexandru Ardelean (1): net: uqmi: fix blocking in endless loops when unplugging device Koen Vandeputte (8): kernel: backport raw-ip mode for newer QMI LTE modems kernel: refresh patches uqmi: fix raw-ip mode for newer lte modems uqmi: silence error on pin verification uqmi: use general method for state cleaning uqmi: use correct value for connection checking uqmi: use built-in command for data-link verification uqmi: bump package release package/network/utils/uqmi/Makefile | 2 +- .../utils/uqmi/files/lib/netifd/proto/qmi.sh | 63 +++++-- ...-allow-mini-drivers-to-consume-L2-headers.patch | 34 ++++ ...099-0002-net-qmi_wwan-support-raw-IP-mode.patch | 201 +++++++++++++++++++++ ...n-should-hold-RTNL-while-changing-netdev-.patch | 102 +++++++++++ ...alignment-for-frames-with-no-ethernet-hea.patch | 64 +++++++ ...wan-Add-missing-skb_reset_mac_header-call.patch | 76 ++++++++ ...mi_wwan-MDM9x30-specific-power-management.patch | 92 ++++++++++ ...wan-add-support-for-Quectel-EC21-and-EC25.patch | 93 ++++++++++ 9 files changed, 710 insertions(+), 17 deletions(-) create mode 100644 target/linux/generic/patches-4.4/099-0001-usbnet-allow-mini-drivers-to-consume-L2-headers.patch create mode 100644 target/linux/generic/patches-4.4/099-0002-net-qmi_wwan-support-raw-IP-mode.patch create mode 100644 target/linux/generic/patches-4.4/099-0003-net-qmi_wwan-should-hold-RTNL-while-changing-netdev-.patch create mode 100644 target/linux/generic/patches-4.4/099-0004-usbnet-fix-alignment-for-frames-with-no-ethernet-hea.patch create mode 100644 target/linux/generic/patches-4.4/099-0005-qmi_wwan-Add-missing-skb_reset_mac_header-call.patch create mode 100644 target/linux/generic/patches-4.4/099-0006-net-qmi_wwan-MDM9x30-specific-power-management.patch create mode 100644 target/linux/generic/patches-4.4/099-0007-qmi_wwan-add-support-for-Quectel-EC21-and-EC25.patch