From patchwork Fri Nov 15 09:28:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kalle Valo X-Patchwork-Id: 11245485 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B2FA217E8 for ; Fri, 15 Nov 2019 09:29:29 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8E2832073B for ; Fri, 15 Nov 2019 09:29:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UmTq95U9"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="jA7FwIGP"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="S2YHC3tM" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8E2832073B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org 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:Message-Id:Date: Subject: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=wx0QikgjDBUTNgF02s0xytzem55ooouTYJIbYksQzuM=; b=UmT q95U9kxsDXCPLbDvgDbWg6PPi/xCv9hNC+hwvVW7aWfDMYF0rtf+DQVwlkr5BMMqpDSRzb95qt7li hF36iKZjG++x73G3AUkn9XGlG7+LNfPdfBWIQRX7umqMHurT+3ilDW5BiOn2L6twY4tQwdPvL93Vu GOVKQw30OGZGmEpnDAn7d4WTnjhSYEeX3aQ734fbmUJoaJ0ilMmX1KgwjbfqUhlbPH3fGx0arvysX Lam6kCIco4XTROnhGHOW//yN6hIjmVT/mCrKMK72mU9rrMV3jLHBRN/JWu72jneDzpdyo8CNmzqxV J5W4j28o31JFcgDhCg/qQue3vEWnnag==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iVXuu-0002QK-4R; Fri, 15 Nov 2019 09:29:24 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iVXup-0002Nw-VQ for ath11k@lists.infradead.org; Fri, 15 Nov 2019 09:29:22 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 33BA9611A1; Fri, 15 Nov 2019 09:29:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1573810159; bh=X7R7K3nn8a1h8zFooYO+s283VI3WWKxDBVpp6C8kBaQ=; h=From:To:Cc:Subject:Date:From; b=jA7FwIGPKQaENzo/quLq9QQTo8QDKj3sH5/MGLB5b2+sNvK9SqB8D/qTFvuJdx3sL mocfRvW8x8C3VBDNUb96cUi8M06l814CS+xOMcaNYwRqIXrdm8NSb5Prtyaw+Rp8dg t0JGFZbQ90PaMuU9GOBlMxXYEuG4E6oT5MT9ZNlg= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id A48EE6119B; Fri, 15 Nov 2019 09:29:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1573810157; bh=X7R7K3nn8a1h8zFooYO+s283VI3WWKxDBVpp6C8kBaQ=; h=From:To:Cc:Subject:Date:From; b=S2YHC3tM8niwG4aXS52NAzg3ODbg5mgVtgsmtrXpI2AakkVg66NPjmPuwq/IAB361 Bwkw/SfRajBBmnwS1+BH8DuTQ1tR47B4eRH8843EVj06gUrpef7Fa1Jx9ryZsPLDuu 60wPLXeM6haIms4LFSn6km0eW2PD8yDyEhgoM3h0= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org A48EE6119B Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: linux-wireless@vger.kernel.org Subject: [PATCH v3 00/49] ath11k: driver for Qualcomm IEEE 802.11ax devices Date: Fri, 15 Nov 2019 11:28:24 +0200 Message-Id: <1573810153-29623-1-git-send-email-kvalo@codeaurora.org> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191115_012920_060885_2CB76352 X-CRM114-Status: GOOD ( 12.96 ) X-Spam-Score: -1.5 (-) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-1.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [198.145.29.96 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.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 1.0 HEXHASH_WORD Multiple instances of word + hexadecimal hash X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, ath11k@lists.infradead.org MIME-Version: 1.0 Sender: "ath11k" Errors-To: ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org ath11k is a new driver for Qualcomm IEEE 802.11ax devices, first supporting only IPQ8074 SoC using the shared memory AHB bus. ath11k uses mac80211 and supports AP, Station and Mesh modes. Even though ath11k has some similar code as with ath10k (especially the WMI layer) it was concluded to be simpler to have a "clean start" for ath11k code base and not try to share the code with ath10k. This makes maintenance easier and avoids major changes in ath10k, which would have significantly increased the risk of regressions in existing setups. Even though the driver is very similar with ath10k but there are major differences as well. The datapath is completely different. ath11k supports multiple MACs, called "soc" in the firmware interface. And there's only one WMI interface to support. Currently ath11k supports only IEEE 802.11ac mode, but patches for 802.11ax are available and they will be submitted after ath11k is accepted to upstream. The firmware images are available from ath11k-firmware repository but they will be also submitted to linux-firmware: https://github.com/kvalo/ath11k-firmware The driver has had multiple authors who are listed in alphabetical order below. Signed-off-by: Anilkumar Kolli Signed-off-by: Bhagavathi Perumal S Signed-off-by: Ganesh Sesetti Signed-off-by: Govindaraj Saminathan Signed-off-by: John Crispin Signed-off-by: Julia Lawall Signed-off-by: Kalle Valo Signed-off-by: Karthikeyan Periyasamy Signed-off-by: kbuild test robot Signed-off-by: Maharaja Kennadyrajan Signed-off-by: Manikanta Pubbisetty Signed-off-by: Miles Hu Signed-off-by: Muna Sinada Signed-off-by: Pradeep Kumar Chitrapu Signed-off-by: Rajkumar Manoharan Signed-off-by: Sathishkumar Muruganandam Signed-off-by: Shashidhar Lakkavalli Signed-off-by: Sriram R Signed-off-by: Sven Eckelmann Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: Venkateswara Naralasetty --------------[cut]-------------------[cut]----------------- I have split the driver into multiple patches for easier review, but the final version will be split into three commits: 1. adding Documentatio/devicetree/bindings/net/wireless/qcom,ath11k.yaml 2. adding drivers/net/wireless/ath/ath11k/ with the commit log being the text before the cut line above. 3. adding ath11k entry to MAINTAINERS file This version is based on commit ad10d2ff619f0797cb102b2ff488429d3f8e4a8a from ath11k-bringup branch on my ath.git tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/log/?h=ath11k-bringup This patchset applies to wireless-drivers-next but needs CONFIG_COMPILE_TEST, CONFIG_REMOTEPROC AND CONFIG_QCOM_QMI_HELPERS to be able to compile on x86. Please review and comment. Kalle v3: * Fixes and license change to Device Tree bindings document * git log --oneline --reverse ath11k-review-v2..ath11k-review-v3: 51dcdfd7a2bf ath11k: fix ATH11K_TRACING kconfig help text b6b50cbae8a1 dt: bindings: net: ath11k: fix whitespace 2120332777dd dt: bindings: net: ath11k: fixes from review 93804d04c6d6 dt: bindings: net: ath11k: change license v2: * There are three final patches to commit, not just one. * Write commit log for the device tree bindings patch. * License changed to BSD 3-clause "Clear". * git log --oneline --reverse ath11k-review-v1..ath11k-review-v2: f6153fa78616 ath11k: fix Kconfig, replace spaces with tabs b6b140aa1739 ath11k: Use C99 structure initialization for target_service_to_ce_map_wlan[] d054355585aa ath11k: Remove ring mask macros defined for 0 4c980dcca60a ath11k: Move ath11k_ahb_read32() and ath11k_ahb_write32() to ahb.h be7eb8bbca02 ath11k: Avoid code duplication in set/clear of a register bit values 11978c109885 ath11k: Few clean ups in comments 8cc72b480777 ath11k: Clean ups in ath11k_ce_rx_buf_enqueue_pipe() error path 9f55e5658237 ath11k: Clean up parameter list in ath11k_ce_completed_send_next() 3dcb3e76a260 ath11k: Use struct_size() to get the structure size with trailing array a1329c05a4e0 ath11k: change license to BSD 3-clause "Clear" bcd3f5043856 ath11k: fix multicast rate parameter size e4386fb86f51 ath11k: assigning values to enum 78b6da0fb67c ath11k: Add debugfs per chip e44597a02dad ath11k: fix tkip mic error reporting to cfg80211 ea1107a93b4a dt-bindings: net: add qcom,ath11k.yaml ab4d2bd0f217 ath11k: whitespace cleanup in core.c