From patchwork Wed Sep 9 15:35:52 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: 249468 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp523417ilg; Wed, 9 Sep 2020 08:35:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWWTsBC45QqDqbgNbGcwR84RhBtA/kd/Z2oz/KWf+whuDj/Pw5196ani+AA0bVe3MoQ6/W X-Received: by 2002:a02:76d5:: with SMTP id z204mr4312919jab.93.1599665712784; Wed, 09 Sep 2020 08:35:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599665712; cv=none; d=google.com; s=arc-20160816; b=i/qmddZzyxCwuz+eodp4BlsZe7PiyEsBaPsjN4IqxYVXJ/pzr80ucS5DhKrX8VUduu 0WG9F7Wte/Jy3eGU6ifvp495c0UKcJJMs+pvzkDYCHj6m7H8IBgjW7tyf2znOD2hFUUx mLcuEokAdPovgG0F3BNh8hdxVLQsV4EFKh+jyWV7yUXLv7pKGskr91DRm9eSSyT/Xkns df5nXTlyVAoMX3/QbcCrdugYQYASW7chhAnfIKwoAwNrPVHXn9XqC0hZMLBu63abfgML JsCFQEfePSxVgJQbilyKNgOiXAdjdrKp9m8Kqs47SdpQbUqG4EJiEiFoh1X7L50qkuLk worg== 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=s+dmZ6Ge4rMk5CnUgpR2h+9yRxTyqs/KmiY0Sow078E=; b=OzEtwORnig99sY0q0ys9mRaVJuR4wc0Ub8UbMEPKRZttDCyFg3gAG9oTyy4Q70ovAo 4/RTyNuW9hgGFD2li4w/BY04vDfqxjy53/X6batH8MxRM86ar5ks1tjfL20EvHgxr3+6 aanLmcCuQ8ie94K1IaKkl874eGb/46MSWsCPj4t10rKGI9DiwGBPnirHfI8eahZV0ltT eMRlMgO9FiTB9AoyarlYWzeHc6BY3I3fNQXsV4gUDzH0Ujz4ewBjlmyXGLWz+jpZWqi9 EzwXeRvAjgQL+qDn+0wynKTCzlvg/4IRSNdG21OIjumHzH2OJkZBjpi19NSuivyBHlhG qdNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=w2MU3TkF; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=brDiTtlk; 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 v12si2732871ilc.21.2020.09.09.08.35.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 08:35:12 -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=w2MU3TkF; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=brDiTtlk; 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=s+dmZ6Ge4rMk5CnUgpR2h+9yRxTyqs/KmiY0Sow078E=; b=w2MU3TkFcvUnH4NBidv5gJE0Sr KooSh76eTLYdtnnmVeMeq38czWDR/ahQsBzn4rOU2AA39kDdwtnGnlVSsoAlOM89/vs0PFTIzt8em w35LOESXP6DB02ZKTbMQcgpQol4x+bjtbPzYGDlXPW8woMFO+ByY0wCg/x3SvKLCdkOpcaH/IvXs8 A+LYanPRTnibgj33JXIKKChXDYmAPUh6MiVN/X6tSAXNVhaer+6ba3MJ3tqOb92jHSNHuvMT88Y0X OcOetURw3FOOIYsPP9ECZRk6FTqt7tcfn/2mUsPUyjbs3q9IwVCicgsJpJqfArmiHYp6ozMvfdC3N 7akA8i1w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kG27p-0006H6-4m; Wed, 09 Sep 2020 15:35:09 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kG27n-0006GN-5E for wcn36xx@lists.infradead.org; Wed, 09 Sep 2020 15:35:08 +0000 Received: by mail-wm1-x341.google.com with SMTP id q9so2730283wmj.2 for ; Wed, 09 Sep 2020 08:35:06 -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=nsBk9ZTmHyUEKaf1VR1wQ9lGXpW7Dr+mR+KO6cJf93k=; b=brDiTtlkjOGzwQMsjhtrpJ7bnVDKB/AsCS0dxyu55LZqdmegTe2R0H5YjYWpS00R97 WoWEVgABeLz3c+cmWf2BJ1jXp7h0i0Yg93Nym1h5zB4dXfM06meShNpcVeEGfnKwE1Lh p/vA8S0fpqPJJh7tvsh9MbNeA8nOTDXDJruSFeGcwkm1EkGtc6fDS7opYd1BH3fuLoRO 34UmWbq3NFB83xnAKX21t/Lo2mgrFFbwBkskBdkT7NHRjg/HIEwG79SxpPCWXtWy8GW6 XuNwId0a02P1W8RkTDq7NiE1cv2Nxc3dsUFuxwQ8cLmrdCRImuEoJmtLWO45QaC8Vxiu LcjQ== 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=nsBk9ZTmHyUEKaf1VR1wQ9lGXpW7Dr+mR+KO6cJf93k=; b=U6k4yITlrYtyQWDTzwnC5F+Dd3hyb8G3cECLiPNCeZ5AjLER2b/Op+xkFghLxLPHSb fKCbCTJseyBsC6AYysbF1lea1r9B5UuU+EZFedwLBESTDGFjBtY4/aqF5/UC4+zRW94R jQCgezwFV2fLXFgLqCJDYoe7SyS+z1mZ2pe8c/OQydBZp0bmmQsBRSv1b4mxlghnXlyU DBUPpsaLqw/5/uAL8R+kMyfrxVslwryXAlnxCLZtbDoE4vaG1AxItdDe5CKjyFMK0U43 uyeetumwkymeMFj6nifIT4cl1+rhifsr+2mWkZqE+vpTMSSA+oryaU7Ywj7aClMxNktk yKQQ== X-Gm-Message-State: AOAM533FeVxsGCsUTPrn9bt4YakbZIYq46xwYFbvlZ1oKYfk5iDPKkm0 u2/mGVZP17etJcKBfGQI3FWTBw== X-Received: by 2002:a05:600c:2155:: with SMTP id v21mr4347569wml.118.1599665705990; Wed, 09 Sep 2020 08:35:05 -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 c4sm4922120wrp.85.2020.09.09.08.35.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 08:35:05 -0700 (PDT) From: Bryan O'Donoghue To: kvalo@codeaurora.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org Subject: [PATCH v4 0/2] wcn36xx: Extend V1 data-structures Date: Wed, 9 Sep 2020 16:35:52 +0100 Message-Id: <20200909153554.2904762-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-20200909_113507_271221_0A53163B X-CRM114-Status: GOOD ( 14.61 ) 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:341 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. 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