From patchwork Tue Sep 8 18:24:26 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: 249312 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp4791250ilg; Tue, 8 Sep 2020 11:23:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRSU7vJWuoDCA3nE1mBYfZ4SoDeVs6j0a717qegNyNK/BO25tweCHAa+xsBiDlpWdHhfdk X-Received: by 2002:a05:6602:2d90:: with SMTP id k16mr129899iow.19.1599589429223; Tue, 08 Sep 2020 11:23:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599589429; cv=none; d=google.com; s=arc-20160816; b=mRMWf0gvRbh3xpFjFW80Y5q5DpYett9W6qSH2VRcRGuJceoZ9R+RKnRXKuHJ3QgGzF 9OorQhuOXKVxq1gnTTLQuajgF490LdAWZ3/s4WGjwnq8mKPxuUGKh5S5LPcBo++aUHrw 8iaw2dVXaNJZAFAY/1Qyzqn99RFN2vogK9GBfXWqIyxjx2Y1Pmtzl/L2tv0j7DG+eYHX MJeOpAZrmW60SQAQA8LTAtyl3unBc5noR3+2fmwymQxFqsMczhIpdAA7zmlNZPJa9h4s rbrRPUKwpsBMjLPs1yG+gwO+L4z8+V6P/6fT/t5+Yg3P+V/Is+CWswBUk8G3xioK+Uit +ayw== 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=tVBxBUFHuXt4QzdUPinQ+geiuI+XUbpe0hRin3KlhyA=; b=R7vyQHbl7kk5OZ3zYOQAjwQI9uJiNW8Z/aHQLFqb/WWVeKMCFkWDkUWOzKSIOhH4w3 A0U87Rh7WxrWAHBduTlZTVxxWWTtNQuRq6/tKL8E9cZoMVaE6+/txXAzhT47uuBBtNC/ hlN6z+43B5gXfl82PkaCY1OIplegpsqv4moz76+eSoDFErr31RsXvy06dgwKD2FO62je XONL6P2g3ud4UFL1gt/IAoTScrkPDqCmNu7iXpHFBofWZba2WJeEm2jj5sOVJO3MIn/O z/WdKoz715hAPFW0htIn1TflsGhx2QQu/VULm+iirPJxbMaZK9NBoypRW8yiXM08YgSO Z22g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=wm0oGcGz; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=TunDpIgh; 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 x20si183058ilj.46.2020.09.08.11.23.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2020 11:23:49 -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=wm0oGcGz; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=TunDpIgh; 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=tVBxBUFHuXt4QzdUPinQ+geiuI+XUbpe0hRin3KlhyA=; b=wm0oGcGzAM4nn3nqEjZvVDb4fX LsTUMr4ZSrx+OD1SDWder6Q6oQIN20+wupy1ORs3bcrNlckDRG8oBedWnBt7BnZmUdCt4ZkmtT48V mtPQvWuKmfI3kPa7quM8//1Su0rzOMwCkiAKJZjnrREb6dV4XugSKzi2beuIzA60cdGwUwnowtQkd kRZtXuC/f+a34OeWmWzOJ3t1admWFcUbJmQqbNJ4c5xqp9vgqyjBpEOo1K9nmiqe/i7fcnNfCxpXO GPHR7sNDRheGPluhWY98UclV6fYkwQwMx9DBc2WVJVQGQcmdrNKbI7/u4Wshftt2Lll9pRt5xicLl aBGb1RCg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFiHR-0004uT-Pa; Tue, 08 Sep 2020 18:23:45 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFiHP-0004sx-8G for wcn36xx@lists.infradead.org; Tue, 08 Sep 2020 18:23:44 +0000 Received: by mail-wr1-x441.google.com with SMTP id j2so213532wrx.7 for ; Tue, 08 Sep 2020 11:23:41 -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=f4/iHYTbaUfeXj4d2AY2VWmQvFonv3pkBLf3dzzwrYY=; b=TunDpIghchb0FErk/FzbkSILa1x+Dg4x68cFzpA/41Fkk/9bNANaZytosHz+H/TMlR e3c57xMjV6j3jBHhvvx2Utdwqj7rQWevlfSZtk6aQLvFENyw8R4HmpVGjvK0V0OUu9hN ACJULKB9l7M/dxohDkB5HL1XVloEx9bc1HASuBWYLkzJj9tcLHZ71fkReRkpxwBOJy2h bWovR4lCyhAr3NQ7vmZs1+oppWvt4ksWre4T5aPoidIN3Bk9S0dGdyr0+AsVNDQBYY47 6i2wBGehPH3+/YNdCs4hGiFOqPYvW+bQBtNq0QsYMG62VCDciEo8WAmaEFRNC3uhd6nq kS+A== 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=f4/iHYTbaUfeXj4d2AY2VWmQvFonv3pkBLf3dzzwrYY=; b=s2KQcP/rIT6K5IeFJRjpaywNhM+LTT+2ME5vqrQa/YXeWdpwtW3B8TbRpqHYowupmC Rlr6DQJEd/gvi8hFPYgcsbtc8bdat58Rcuq9DjW3nFqKrxL17m/H475jVifSvooCngDI 6iXFGb2kzOgkooJN/bWfrBFt9SmZrgTvxdYuVOADaz1n4ysx4I3kknqHU74tv/YnY4YN fyQx9nkSZIuTUnarS3WJQ5wnJiqwrKwF0pdDR5aaFi4w8POLvDHRLtkuoqQLD4W+kWmd Y/87uTGkUGCv1pOBQOVN3WOePannOZMrbDTtLOvljUhI82CQpdwGSl2ba4qENsW6fIUa HJkA== X-Gm-Message-State: AOAM532npdGwzWow04lm7ApYZWM9gBZFK2+geUu1vc1hYcmZGuHsNi8C RRz4mkrffFmrRg5M/0zUyr//lA== X-Received: by 2002:a5d:40cd:: with SMTP id b13mr879390wrq.297.1599589420676; Tue, 08 Sep 2020 11:23:40 -0700 (PDT) Received: from localhost.localdomain ([176.61.57.127]) by smtp.gmail.com with ESMTPSA id g186sm286202wmg.25.2020.09.08.11.23.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2020 11:23:40 -0700 (PDT) From: Bryan O'Donoghue To: kvalo@codeaurora.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org Subject: [PATCH v3 0/2] wcn36xx: Extend V1 data-structures Date: Tue, 8 Sep 2020 19:24:26 +0100 Message-Id: <20200908182428.2870226-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-20200908_142343_432347_B21C97AF X-CRM114-Status: GOOD ( 15.74 ) 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:441 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 Message has at least one valid DKIM or DK signature -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 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. 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(-) -- 2.27.0 _______________________________________________ wcn36xx mailing list wcn36xx@lists.infradead.org http://lists.infradead.org/mailman/listinfo/wcn36xx