From patchwork Thu Sep 10 15:04:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 249627 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ecf:0:0:0:0 with SMTP id i15csp824329ilk; Thu, 10 Sep 2020 08:04:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxS++7AMejPMBWhhSCOQmwHu7xLVdxd95lfnN2fs0u8uRRp87tZYtSx1bAR6sp15YrhQF81 X-Received: by 2002:a9d:6213:: with SMTP id g19mr4459657otj.34.1599750255337; Thu, 10 Sep 2020 08:04:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599750255; cv=none; d=google.com; s=arc-20160816; b=Bdqbn5UAA7gT46m6pJzzDvSxAb8kTPlRgOE09p4Bj2dWDECbk1VhBYESxMLlUyEt1M i2dCbMuWzp3S7gU/zoKCysr9IYDIwQAf1ZeFbxBy3PKcaECK462DjGv3U2OOX+Z+QA5E 0PDG2blDiimHNHBChcFUpdRFhd0Pafnm6JhpH8AJV1fezYS5oB5RMIbSyxRrdQ5Ue1AW +j+jEHSokz32QVgh/RbtpmQ6rdo3s5Nhbn1U2D4pDIxnHGTYzBtD1F7uV9le3k/yeIdD v4QyQW70vS8m30s9i/pKTdHbY8hsdqzEZrA5s2xqxqU/XxDVcPoWBi6pMBELYry+Y78k oBBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :dkim-signature:dkim-signature; bh=p19ZwubxpQpxDzuxEs7TjVkVNsiI/aoNsoUCWUD92UE=; b=ajwE6G+dTr5jYKZ4w/3uzLylXNfFwPjHvj/H6py1tpqKZ1wld9WUAw7KOtHaJWdP+y /f/JYpf2CFyp6KFxEYCr6BtfTV4dVSUOOoy7imeRuehYqVNd3EQ4xl3/7Kz+TpEALO++ BvQAuE1r8zgQKPUGX3SQ38Xdh0I5pkpDVIT2grHwDYnrfFSiCDBURH245+vN4ZYUVI4N gbHjN7IUSibjkBydRtR6r392lr55F5DAQQ7/AaUV8VIVRa4QSILA+hr/TT1ghu7/lWyW s4n7jTxWrY1GPorICKv5sdbUn7aP4f/fof3IWYpoPIhRSD/iyHq/URkW5lh0wNdLWluz m3uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=XFNBg4d9; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fcDbbfzT; spf=pass (google.com: best guess record for domain of wcn36xx-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="wcn36xx-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id f24si2992180oti.17.2020.09.10.08.04.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2020 08:04:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of wcn36xx-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=XFNBg4d9; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fcDbbfzT; spf=pass (google.com: best guess record for domain of wcn36xx-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="wcn36xx-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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=p19ZwubxpQpxDzuxEs7TjVkVNsiI/aoNsoUCWUD92UE=; b=XFNBg4d9suCWZGpHZwMn9JnKbp jRIg/4BzP7PGxo0uhh9HBVG02ltHwHq5Y1v3wyKLAYHNfVb63fYA3cM9xezClU/AvYiYiV3Pe22Xk wEDxSZFDectxXajwk0xEw7+4GF7WzGBGrwExS4QznVsG+AG9p7cow3YzWFVnQsnKlq03atmR6ZvdS MBWWYEqwJ1fMHucr/X36U9B8nHxH2/XdRiJOKdJ3pc27X9obmt+z2l9qBrc0Rp6pPqDDIlOHSkR1B /zBKp6lCeAePuxLifD8fIgxJ0L4pXQB4MfjMHg1L++f2GYZGbVlQoEKtJMzMRHUnRCWuzy09mzK9/ 5O+6pMCg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGO7Q-0007Id-5V; Thu, 10 Sep 2020 15:04:12 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGO7N-0007H1-Kf for wcn36xx@lists.infradead.org; Thu, 10 Sep 2020 15:04:10 +0000 Received: by mail-wr1-x444.google.com with SMTP id w5so7054135wrp.8 for ; Thu, 10 Sep 2020 08:04:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OHdpY0CApLqz4yYTmxevGojYcT17gfjN6v5WrrEuc9A=; b=fcDbbfzTN5QxxsnQS+U2i9XUdVKeVXH6IMZHI/pZs0BLVMlMg6/fRJ4ltEYGjcGswq NBfjwIg7l4NfdAD28S6RuoELy6ywJEHmU7bNt7NAo7bXEuwoXYBezbYYMGHSwyeDx+q4 ZL7z6rMPQM0Ku7LOpdy7ba2+Fgfq9exQ9JLVUbRI3X7FAgld3/MdqZJnC7rd3uLPxgva HDFyBN2CQOjtH2TxVR0vFIim9p09KXABj7wpDwuu0kN3++0R8d6UTYxE3UBd98+IjBZQ t8W+umTqRjXwehS47KBwjGlvTeWfsVgS+jodsTtqhUuzqdQ+jK3I66VJkrBJ0/IlwOqr E5Fw== 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:mime-version :content-transfer-encoding; bh=OHdpY0CApLqz4yYTmxevGojYcT17gfjN6v5WrrEuc9A=; b=fDyYeIhqr5OYJmUxGETpzpezdQWtGqTUsx1FI8GZ/hO/6JZVR7DX32jSJLZPKlkzjD W3ceNxHf1hzbkgEzXbrpWjOtevnWjs+trqv+mMGsTUCal61gO4eRiwBcOSoYMzunOD3u 9+rmc1PTRKDQtLm81/CgBMhO+yEJY7cVQYss2/WaVMrYpx7F4oWnJqEYk+1/jy7vAzg/ iQZoosThOZHPDFsaRn4DxzGS2A+SwEwWdXAfMBo7B1FZ/0LcxbR6FPp+Lt6Q3K0npx3d wORZfCFl3aUbEyKsqDAnh22CmZL/P6an9TPTpM3ed/GBgav7MMXtBv1HvGjv3buR/AlQ ixTw== X-Gm-Message-State: AOAM5333IFvH7EMfTRcy7v2Fxq2Cz4eAx8ApnIebAqk+Ffdody8JfQyD jOnVLLwNiernla32hWc2znpKQQ== X-Received: by 2002:a5d:4ccb:: with SMTP id c11mr9381917wrt.159.1599750246985; Thu, 10 Sep 2020 08:04:06 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id q186sm4075754wma.45.2020.09.10.08.04.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2020 08:04:05 -0700 (PDT) From: Bryan O'Donoghue To: kvalo@codeaurora.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org Subject: [PATCH v5 0/2] wcn36xx: Extend V1 data-structures Date: Thu, 10 Sep 2020 16:04:48 +0100 Message-Id: <20200910150450.2178784-1-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200910_110409_811221_061C97BD X-CRM114-Status: GOOD ( 15.02 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) 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:444 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 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_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: wcn36xx@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: bryan.odonoghue@linaro.org, shawn.guo@linaro.org, loic.poulain@linaro.org Sender: "wcn36xx" Errors-To: wcn36xx-bounces+patch=linaro.org@lists.infradead.org This series is one in a set of seven to add support for wcn3680 at 802.11ac data-rates. V5: - No change to V4 sending entire set again for clairty V4: - No functional change. Sending out full set again using --base=ath-202009090652 to aid kernel test robot - https://lore.kernel.org/linux-wireless/20200908182428.2870226-1-bryan.odonoghue@linaro.org/T/#t V3: In order to pass VHT parameters to the firmware, we need to extend the parameter data-structure. In the V2 series, this was accomplished in two patches. https://lore.kernel.org/linux-wireless/20200829033908.2167689-13-bryan.odonoghue@linaro.org/T/#u https://lore.kernel.org/linux-wireless/20200829033908.2167689-2-bryan.odonoghue@linaro.org/T/#u However since I was rebasing this series anyway I thought it would be a better idea to do the conversion in one go, so that if someone is rebasing/bisecting in the future every single patch will still be functional and testable on wcn3620. If the data-structure is extended and then the code is subsequently updated, then the patches in-between the data-structure update and the code update will not be testable on hardware. As a result I've opted to front-load the conversion. The first patch is atomic with respect to ongoing functionality on wcn3620, which I think is a better result for not much extra code. The eventual enabling for wcn3680 comes in a later patch in a later set. For a similar reason I thought it best to front-load the conversion to using the extended V1 data-structure for storing parameters internal to the driver. Bryan O'Donoghue (2): wcn36xx: Add VHT fields to parameter data structures wcn36xx: Use V1 data structure to store supported rates drivers/net/wireless/ath/wcn36xx/hal.h | 14 +++++++++++++- drivers/net/wireless/ath/wcn36xx/smd.c | 7 +++++-- drivers/net/wireless/ath/wcn36xx/wcn36xx.h | 2 +- 3 files changed, 19 insertions(+), 4 deletions(-) base-commit: 160b351d75cb50a0dd2abf9b63e1891935aa9e4a -- 2.27.0 _______________________________________________ wcn36xx mailing list wcn36xx@lists.infradead.org http://lists.infradead.org/mailman/listinfo/wcn36xx