From patchwork Sun Oct 24 19:42:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janusz Dziedzic X-Patchwork-Id: 1545440 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=SvY96D31; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=Ef0ptvQJ; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HcpT63JCXz9s1l for ; Mon, 25 Oct 2021 06:44:57 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :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=fiGFhlFdAS9vSb3zzB68AxRrQZJG3z8iRNq8xRA25aU=; b=SvY96D31wY6Lx/ jwFt5hhjr1mfZT5i4DAwhgRqWGHgrJH0AYlqAufDdJBR93H4OMo/9dD4dV6fDTKJVyjX300sj+FNl JmvTWTv01ht3ep6T9tUCMf3g/69rPYw2THJk8kcoSnS8zI23KRnu4z5z3CW9nf8/ICn/fgyD/nx9R xV6zDkv17Q1OvGnqusi+3P9iSay+/E8Rws4RwKI6T06UmzvR4cYZS6ZWZ/krYoKsTZb2TEgnoq5UX IV7EWHVPGVTdZekMCweFTGKKHEj7RVQvmZCJCrnKb7LPWsUmkfjncJoReBlGywfGuPWG6Tv8tAp69 AE3samD4lMP8NyMAccHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mejOL-00EVfV-TJ; Sun, 24 Oct 2021 19:42:50 +0000 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mejNt-00EVdd-28 for openwrt-devel@lists.openwrt.org; Sun, 24 Oct 2021 19:42:23 +0000 Received: by mail-lf1-x12d.google.com with SMTP id t9so8175716lfd.1 for ; Sun, 24 Oct 2021 12:42:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6HEkEY2HlZYQGlsAdk4ppD7Eo33MXAZf+ZwU9A+kthc=; b=Ef0ptvQJ+QoFVvFa6JRGFgnQj15Pa2zublLSPua1SWRFvdxhx9JU1RM3oQVP/349kv 1WIctWYDYdyUYXIhlPt5CST+THHr5s4knaD1RjMpEnSJ55A0GjMtchF9qKwPbppw8kcx YUgIEYIyyuxt9q1kbxLzWSuFLN+Zj98stB8+dCIl6VgG6aVTbb+MWplj2Xt6Y/RRGYGk rnLev0R3hJh8tdH3Xiit2rMuXV3PWd1w3ylLbX/WLgHLNsaEq/n3NQmPZrlAFPfTIoiz 4kEavSmX6HyIUqtfNq8smNL2R0R6qsZzPCtQwPCx+5677OZk9HT4H+9maAcc6oqMVFS8 wcFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6HEkEY2HlZYQGlsAdk4ppD7Eo33MXAZf+ZwU9A+kthc=; b=3oZ1zyeq1OXvbYWUnAB7PwYKobCC2Uc550Rt0zHO/+/F3msjJekJZ1ACIx/jXAqeZg QDQ5LOLs5HeL0hzLN6q0Md6LzbuzCLr4jbEuZpb+0qNqB6g0JbpglXTO9F/Q5sIrwSkx nKHrnXm1s19QbWVLQsJMno/PXPva2NzxOVyQRrRi+sjJdgogmqNt0DKVN8ZxJPS63QqN uvsH4XFjo7EOPR+zJ9DxaSvqEz2dW6neithnmK3UOadVVzyqTtMCtkwe82loRKArLhhr AtBLEtPZ1iOhs9FhPmuqzeiXfYZShg4fI9i+QVsYtnPMarenPD1kxyuZ5X9SYSpHrg8q nYFA== X-Gm-Message-State: AOAM531lKXq3IDeYCN5xcasVJ9S6c70cjF3UipHIr1vcFXb92HM/qMTt tXvzW7de651Ehd2CLEJU+DOPre/C6Z8= X-Google-Smtp-Source: ABdhPJw3eozw1fz69uWVP2uxyrICyxEkvAXLx+cvWjmE5SaofZNQiCPr/6fWVMDSbRXD5aAODJfymQ== X-Received: by 2002:ac2:5fe3:: with SMTP id s3mr12937609lfg.385.1635104537840; Sun, 24 Oct 2021 12:42:17 -0700 (PDT) Received: from localhost.localdomain ([62.141.192.106]) by smtp.gmail.com with ESMTPSA id z5sm1409444lfr.96.2021.10.24.12.42.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Oct 2021 12:42:17 -0700 (PDT) From: Janusz Dziedzic To: openwrt-devel@lists.openwrt.org Cc: hauke@hauke-m.de, Janusz Dziedzic Subject: [RFC 1/3] kernel: allow to choose QCOM_QMI_HELPERS Date: Sun, 24 Oct 2021 21:42:07 +0200 Message-Id: <20211024194209.521400-1-janusz.dziedzic@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211024_124221_126141_642A357C X-CRM114-Status: UNSURE ( 9.07 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: We need this when build ath11k from backports. Signed-off-by: Janusz Dziedzic --- .../generic/pending-5.10/930-qcom-qmi-helpers.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 target/linux/generic/pending-5.10/930-qc [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:12d listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [janusz.dziedzic[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -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_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org We need this when build ath11k from backports. Signed-off-by: Janusz Dziedzic --- .../generic/pending-5.10/930-qcom-qmi-helpers.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 target/linux/generic/pending-5.10/930-qcom-qmi-helpers.patch diff --git a/target/linux/generic/pending-5.10/930-qcom-qmi-helpers.patch b/target/linux/generic/pending-5.10/930-qcom-qmi-helpers.patch new file mode 100644 index 0000000000..0a274334b9 --- /dev/null +++ b/target/linux/generic/pending-5.10/930-qcom-qmi-helpers.patch @@ -0,0 +1,13 @@ +diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig +index 6a3b69b..58c7dd9 100644 +--- a/drivers/soc/qcom/Kconfig ++++ b/drivers/soc/qcom/Kconfig +@@ -92,7 +92,7 @@ config QCOM_PDR_HELPERS + select QCOM_QMI_HELPERS + + config QCOM_QMI_HELPERS +- tristate ++ tristate "Qualcomm QMI Helpers" + depends on NET + + config QCOM_RMTFS_MEM From patchwork Sun Oct 24 19:42:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janusz Dziedzic X-Patchwork-Id: 1545441 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=EXqYQq3S; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=UJIK4B8T; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HcpT921kHz9s1l for ; Mon, 25 Oct 2021 06:45:01 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=72Q93/SSVRoatfsO/l4O52PF4ShxwHbBQKucvvRIJw4=; b=EXqYQq3SdRXd4V GGnN92660+BzBbOkkCtpvKhC9gYvSyRYQ5zSrMHMF8ryULZoC2sbWPzI1RxfmXu90QXOro7Ag6ztP Jxymc/T8aid7tSiEUX9BdErapUbMPTQHAIxGnkt2gMgM1swTnIYAXFa55rvyPUlW1paJ35DF/xKbq HnDLqy90Ros0EoqCJgkHb8pzurba5HL0nCKQHzCxVCLZ7D0YpLeiUMMYXejUEgiyYj3XdpeB3TLgz +wL9PlFJgtOO0eV7EhuTIJRYCSe+f8mLRQ4RQ3bfVHhcrP+t9zb2XVl7f0zu0cm0gv5DSpElWLkao d8Ntt2s4pDafKqJStbCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mejO9-00EVf3-OE; Sun, 24 Oct 2021 19:42:37 +0000 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mejNs-00EVde-PO for openwrt-devel@lists.openwrt.org; Sun, 24 Oct 2021 19:42:22 +0000 Received: by mail-lj1-x22c.google.com with SMTP id r6so4999545ljg.6 for ; Sun, 24 Oct 2021 12:42:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Xij/aCKGtSpsqCkfEvsY5tW3jpiXG8+9zR4WqF67JSw=; b=UJIK4B8T4saqPIMeC0Qfh7/ncAYV6SinnGoqgNH6+2X0yqL4PtpIJPRvxknP066mIk UnYi8LkuPCQ0NINafIqqvfmxisiaz4nEOVf4dLzqe25TXz3e1dJGuwYx2lMtMPfveBNi DsxXkZHyPBpP3agnvbb0/vbHUerFS3R5REzkiJdc5K4yUIrprmy811mfhc926EGzajw8 tWi4w45/MmYifSq2o52brXR1sbieu8Sg+fgnZxm492bd4CgaUW58t1zkjVtxZxvVr7eY 7+NOb22I2uzmStFN6tdFhqDGxpdJwmppddVTuWoN9eGfXXwCqdTFrmvI7uVqPHC40W8Y xk2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Xij/aCKGtSpsqCkfEvsY5tW3jpiXG8+9zR4WqF67JSw=; b=eGnEZ2OthY9DxEanijQA1l/F7ArTmsHygsj11uC0AH0QuI8d6KCdNHzr48O0kGNAxs WRTCvOJm+5viJb6F86ff3aNclXgXEL+qckfAoMRNItiIvRuXLLaOc3yPa5iF7zQjioS9 OIY4LBtxv6fSzyhql8aOqZydMcR6XsObC4AjhYIDzt0KsHUUcPArupBZ3u9Kl0wjgiTz XjopaMtaXdMnjWQnuRAalZ8X+yEfXdbESDdZCIH6JfFJu2YP71xWbBIkU0V2fY3cup34 QYiiswsf7UAqmXYDJCZixwnh9Z9UkDh2Jvfi9QN2ErPurRE+j2uw3iiOmzO7673GcMzd fcag== X-Gm-Message-State: AOAM530trXanOVTOYn3F/+6UGjxYz1jqrxrUK5VVaT2rLA8qrwGmQSQk dQ2vcFqP1j5RVDn1cFMdNHTASsy/muY= X-Google-Smtp-Source: ABdhPJz4TcT/otHTK4HvzjUp0iyRvUiCk2wuh7PTC4DQDVbRoULNDWArhLJlUvUj1+5X7jQt+a4oJw== X-Received: by 2002:a2e:5cc7:: with SMTP id q190mr14551640ljb.494.1635104538522; Sun, 24 Oct 2021 12:42:18 -0700 (PDT) Received: from localhost.localdomain ([62.141.192.106]) by smtp.gmail.com with ESMTPSA id z5sm1409444lfr.96.2021.10.24.12.42.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Oct 2021 12:42:18 -0700 (PDT) From: Janusz Dziedzic To: openwrt-devel@lists.openwrt.org Cc: hauke@hauke-m.de, Janusz Dziedzic Subject: [RFC 2/3] kernel: add kmod packages required by ath11k Date: Sun, 24 Oct 2021 21:42:08 +0200 Message-Id: <20211024194209.521400-2-janusz.dziedzic@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211024194209.521400-1-janusz.dziedzic@gmail.com> References: <20211024194209.521400-1-janusz.dziedzic@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211024_124220_889844_E1C1419C X-CRM114-Status: GOOD ( 13.62 ) X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: When build ath11k from backports we need enable such packages: - mhi-bus - qrtr - qrtr-mhi - michael-mic - qcom-qmi-helpers Signed-off-by: Janusz Dziedzic --- package/kernel/linux/modules/lib.mk | 14 ++++++++ package/kernel/linux/modules/mhi.mk | 21 +++++++++++ package/kernel/linux/modules/other.mk | 14 ++++++++ package/ [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:22c listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [janusz.dziedzic[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -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_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org When build ath11k from backports we need enable such packages: - mhi-bus - qrtr - qrtr-mhi - michael-mic - qcom-qmi-helpers Signed-off-by: Janusz Dziedzic --- package/kernel/linux/modules/lib.mk | 14 ++++++++ package/kernel/linux/modules/mhi.mk | 21 +++++++++++ package/kernel/linux/modules/other.mk | 14 ++++++++ package/kernel/linux/modules/qrtr.mk | 51 +++++++++++++++++++++++++++ 4 files changed, 100 insertions(+) create mode 100644 package/kernel/linux/modules/mhi.mk create mode 100644 package/kernel/linux/modules/qrtr.mk diff --git a/package/kernel/linux/modules/lib.mk b/package/kernel/linux/modules/lib.mk index 9a341932bd..51a8c6a753 100644 --- a/package/kernel/linux/modules/lib.mk +++ b/package/kernel/linux/modules/lib.mk @@ -121,6 +121,20 @@ endef $(eval $(call KernelPackage,lib-lzo)) +define KernelPackage/lib-michael-mic + SUBMENU:=$(LIB_MENU) + TITLE:=MICHAEL_MIC support + KCONFIG:=CONFIG_CRYPTO_MICHAEL_MIC + FILES:= $(LINUX_DIR)/crypto/michael_mic.ko + AUTOLOAD:=$(call AutoProbe,michael_mic) +endef + +define KernelPackage/lib-michael-mic/description + Kernel module for MICHAEL_MIC support +endef + +$(eval $(call KernelPackage,lib-michael-mic)) + define KernelPackage/lib-zstd SUBMENU:=$(LIB_MENU) TITLE:=ZSTD support diff --git a/package/kernel/linux/modules/mhi.mk b/package/kernel/linux/modules/mhi.mk new file mode 100644 index 0000000000..a247b37efe --- /dev/null +++ b/package/kernel/linux/modules/mhi.mk @@ -0,0 +1,21 @@ +# +# Copyright (C) 2021 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +MHI_MENU:=MHI support + +define KernelPackage/mhi-bus + SUBMENU:=$(MHI_MENU) + TITLE:=Support for Modem Host Interface (MHI) bus + KCONFIG:=CONFIG_MHI_BUS CONFIG_MHI_BUS_DEBUG=n + FILES:=$(LINUX_DIR)/drivers/bus/mhi/core/mhi.ko +endef + +define KernelPackage/mhi-bus/description + Kernel support for Modem Host Interface (MHI) +endef + +$(eval $(call KernelPackage,mhi-bus)) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index fdcc089025..555a94c442 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -1256,3 +1256,17 @@ define KernelPackage/f71808e-wdt/description endef $(eval $(call KernelPackage,f71808e-wdt)) + +define KernelPackage/qcom-qmi-helpers + SUBMENU:=$(OTHER_MENU) + TITLE:=Qualcomm QMI helpers + KCONFIG:=CONFIG_QCOM_QMI_HELPERS + FILES:=$(LINUX_DIR)/drivers/soc/qcom/qmi_helpers.ko + AUTOLOAD:=$(call AutoProbe,qmi_helpers,1) +endef + +define KernelPackage/qcom-qmi-helpers/description + Kernel module qcom_qmi_helpers +endef + +$(eval $(call KernelPackage,qcom-qmi-helpers)) diff --git a/package/kernel/linux/modules/qrtr.mk b/package/kernel/linux/modules/qrtr.mk new file mode 100644 index 0000000000..eea95bfd54 --- /dev/null +++ b/package/kernel/linux/modules/qrtr.mk @@ -0,0 +1,51 @@ +# +# Copyright (C) 2021 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +QRTR_MENU:=Qualcomm IPC Router support + +define KernelPackage/qrtr + SUBMENU:=$(QRTR_MENU) + TITLE:=Qualcomm IPC Router support + KCONFIG:=CONFIG_QRTR + FILES:= \ + $(LINUX_DIR)/net/qrtr/qrtr.ko \ + $(LINUX_DIR)/net/qrtr/ns.ko +endef + +define KernelPackage/qrtr/description + Kernel support for Qualcomm IPC Router +endef + +$(eval $(call KernelPackage,qrtr)) + +define KernelPackage/qrtr-mhi + SUBMENU:=$(QRTR_MENU) + TITLE:=MHI IPC Router channels + KCONFIG:=CONFIG_QRTR_MHI + DEPENDS:=+kmod-mhi-bus +kmod-qrtr + FILES:= $(LINUX_DIR)/net/qrtr/qrtr-mhi.ko +endef + +define KernelPackage/qrtr-mhi/description + Kernel support for MHI IPC Router channels +endef + +$(eval $(call KernelPackage,qrtr-mhi)) + +define KernelPackage/qrtr-tun + SUBMENU:=$(QRTR_MENU) + TITLE:=TUN device for Qualcomm IPC Router + KCONFIG:=CONFIG_QRTR_TUN + DEPENDS:=+kmod-qrtr + FILES:= $(LINUX_DIR)/net/qrtr/qrtr-tun.ko +endef + +define KernelPackage/qrtr-tun/description + Kernel support for TUN device for Qualcomm IPC Router +endef + +$(eval $(call KernelPackage,qrtr-tun)) From patchwork Sun Oct 24 19:42:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janusz Dziedzic X-Patchwork-Id: 1545442 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=wjCanHgY; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=o9rMgPpW; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HcpTC62n2z9s1l for ; Mon, 25 Oct 2021 06:45:03 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kpi1TmMEnRgV+60DRmHEMXhcWFJx/dcE4QEFRhabMv4=; b=wjCanHgYLjkm/Z Lw3adRQR9ujkjnFMFwdTJmmEu0IYjMXvIpM/kZuwmmGyFf5eOsZEjCGaR6UJXhio9gOax1yIuiq7a fIb3diDVxSo5rArntd2rOdOKzTa6gimCsN9SEk1Oj9Y/eqxb/ZC2MyDpiIkDrKyNiepYl8x7L2grt 8Lao1e1voW0R+DYTOOPsRMDTJttK1U1qDaaA1/GFRwScMkumWbvzq8GmwD+HG9BNtPpuucL51dB/H 69yAj3+zi1ql2a2tH8M+GLGbJKNsgEXm0KzC2DoNJMsKungbXw/YZrW3zMwjYo2Vr1Y5dJDs0//bu mmoctUWby2bsY56NK3AA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mejNx-00EVeY-Li; Sun, 24 Oct 2021 19:42:25 +0000 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mejNs-00EVdi-Ve for openwrt-devel@lists.openwrt.org; Sun, 24 Oct 2021 19:42:22 +0000 Received: by mail-lf1-x136.google.com with SMTP id p16so7576794lfa.2 for ; Sun, 24 Oct 2021 12:42:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hl5BmhkN8jhHf6mWhWJ/9lRrLE5obEYg7grMaCE/N24=; b=o9rMgPpW0EZCkE4rW7csXdpQkEd5Apm92atG3AAb354TnKW7JBVoStDH852NE0w+t8 KJrYiVPlToAT3Jwt4kjJWtY8kmTzhT8x//W+DVpi47xgXyAM47ddrX8OqXYYtg1Zt4a6 /yW7Ph3TuDAsfquZb0WZmIFKB4ts1meS+LOtJbDFJ/K5iZuMFWWmVT9wRztpEmRpuo8/ wBRicDNiTEfThi1rbKsSucluu8772aI5zC8TO0KZrepDjuJQbPI3YYk5dJZ/HuDOCCjk JEHwkw2vXg2MqsmYKigivw4s34V3yVNvZy3CTJ6yMtuYT6mY8NFkRnH1JxKkeSEtsN7Q NoCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hl5BmhkN8jhHf6mWhWJ/9lRrLE5obEYg7grMaCE/N24=; b=6UaE6j7dCxu+3vEVixD9ti8MBV9HUKODY8TB2mt/vCvvvbcZidDlGfTru1Wc9b5rOw ahnSJ8oyns151P8FIPOBQJY8vbficzHBz6IXf4ZAmfK10CoeNsfosoem5aNA6317iQwQ vCejXNjI9En7ug6rJTiqIVLagJNnZ+jWbm4Izpj9C4X1ZIA/+2mAsREoQREClTEGYwI7 bEwsDZsAqbSmsmCSz6fvzuDOP36zp3HXabSVn9/u3uM+7Jbj+E9t5CPoe8LbIDb4iKEn IhTJWxlQ34I/n5ElZ6yLuzXBi2RLTrHY4l433owXVakl5Py+r4gZF9MOx5tpqt5dbFJN GhOg== X-Gm-Message-State: AOAM530O+C7h6ZbYVV64+3cbntHh//a4/jXfhj2QA2uwQNF9sVH5W6+8 0tZgCPoLsMvVwAGH2cCVRfKvEGgZnnE= X-Google-Smtp-Source: ABdhPJwW4/J8+ngrqaN3ELKY2wIhHGm0hK7Q8wqu+Stc0B0TLQBKeNTa9oLJGAFN7AJfUtX3LFp0ww== X-Received: by 2002:a05:6512:3c98:: with SMTP id h24mr13121157lfv.93.1635104539440; Sun, 24 Oct 2021 12:42:19 -0700 (PDT) Received: from localhost.localdomain ([62.141.192.106]) by smtp.gmail.com with ESMTPSA id z5sm1409444lfr.96.2021.10.24.12.42.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Oct 2021 12:42:19 -0700 (PDT) From: Janusz Dziedzic To: openwrt-devel@lists.openwrt.org Cc: hauke@hauke-m.de, Janusz Dziedzic Subject: [RFC 3/3] mac80211: allow to choose ath11k driver Date: Sun, 24 Oct 2021 21:42:09 +0200 Message-Id: <20211024194209.521400-3-janusz.dziedzic@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211024194209.521400-1-janusz.dziedzic@gmail.com> References: <20211024194209.521400-1-janusz.dziedzic@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211024_124221_041533_B8B9BA08 X-CRM114-Status: UNSURE ( 8.43 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Signed-off-by: Janusz Dziedzic --- package/kernel/mac80211/ath.mk | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/package/kernel/mac80211/ath.mk b/package/kernel/mac80211/ath.mk index ba03ae11a6..634fb13195 100644 --- a/package/kernel/mac80211/ath.mk +++ b/package/kernel/mac80211/ath.mk @@ -1,6 +1,6 [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:136 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [janusz.dziedzic[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -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_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Signed-off-by: Janusz Dziedzic --- package/kernel/mac80211/ath.mk | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/package/kernel/mac80211/ath.mk b/package/kernel/mac80211/ath.mk index ba03ae11a6..634fb13195 100644 --- a/package/kernel/mac80211/ath.mk +++ b/package/kernel/mac80211/ath.mk @@ -1,6 +1,6 @@ PKG_DRIVERS += \ ath ath5k ath6kl ath6kl-sdio ath6kl-usb ath9k ath9k-common ath9k-htc ath10k \ - carl9170 owl-loader ar5523 wil6210 + ath11k carl9170 owl-loader ar5523 wil6210 PKG_CONFIG_DEPENDS += \ CONFIG_PACKAGE_ATH_DEBUG \ @@ -19,6 +19,7 @@ ifdef CONFIG_PACKAGE_MAC80211_DEBUGFS ATH9K_DEBUGFS \ ATH9K_HTC_DEBUGFS \ ATH10K_DEBUGFS \ + ATH11K_DEBUGFS \ CARL9170_DEBUGFS \ ATH5K_DEBUG \ ATH6KL_DEBUG \ @@ -27,6 +28,7 @@ endif ifdef CONFIG_PACKAGE_MAC80211_TRACING config-y += \ + ATH11K_TRACING \ ATH10K_TRACING \ ATH6KL_TRACING \ ATH_TRACEPOINTS \ @@ -35,7 +37,7 @@ ifdef CONFIG_PACKAGE_MAC80211_TRACING endif config-$(call config_package,ath) += ATH_CARDS ATH_COMMON -config-$(CONFIG_PACKAGE_ATH_DEBUG) += ATH_DEBUG ATH10K_DEBUG ATH9K_STATION_STATISTICS +config-$(CONFIG_PACKAGE_ATH_DEBUG) += ATH_DEBUG ATH10K_DEBUG ATH11K_DEBUG ATH9K_STATION_STATISTICS config-$(CONFIG_PACKAGE_ATH_DFS) += ATH9K_DFS_CERTIFIED ATH10K_DFS_CERTIFIED config-$(CONFIG_PACKAGE_ATH_SPECTRAL) += ATH9K_COMMON_SPECTRAL ATH10K_SPECTRAL config-$(CONFIG_PACKAGE_ATH_DYNACK) += ATH9K_DYNACK @@ -55,6 +57,7 @@ config-$(CONFIG_ATH10K_THERMAL) += ATH10K_THERMAL config-$(call config_package,ath9k-htc) += ATH9K_HTC config-$(call config_package,ath10k) += ATH10K ATH10K_PCI +config-$(call config_package,ath11k) += ATH11K ATH11K_PCI config-$(call config_package,ath5k) += ATH5K ifdef CONFIG_TARGET_ath25 @@ -281,6 +284,25 @@ define KernelPackage/ath10k/config endef +define KernelPackage/ath11k + $(call KernelPackage/mac80211/Default) + TITLE:=Qualcomm 802.11ax wireless chipset support + URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath11k + DEPENDS+= \ + @PCI_SUPPORT +kmod-mac80211 +kmod-ath +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT \ + +@DRIVER_11AX_SUPPORT +kmod-hwmon-core +kmod-thermal +kmod-crypto-michael-mic \ + +kmod-qrtr-mhi +kmod-qcom-qmi-helpers + FILES:= \ + $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath11k/ath11k.ko \ + $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath11k/ath11k_pci.ko + AUTOLOAD:=$(call AutoProbe,ath11k_pci) +endef + +define KernelPackage/ath11k/description +This module adds support for Qualcomm Technologies 802.11ax family of +chipsets. +endef + define KernelPackage/carl9170 $(call KernelPackage/mac80211/Default) TITLE:=Driver for Atheros AR9170 USB sticks