From patchwork Sat Aug 29 03:39:58 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: 248700 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp1602978ilg; Fri, 28 Aug 2020 20:39:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXkEJJ6voVsDPm49jJ2AlGFUXfJg3oNfrYM8cstkKxo9zYaL8UA2Hoj5Kbg1eAEiByhRvx X-Received: by 2002:a6b:bc82:: with SMTP id m124mr1486316iof.172.1598672361928; Fri, 28 Aug 2020 20:39:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598672361; cv=none; d=google.com; s=arc-20160816; b=vDscw2yhzqkclQ55d++jQ35ki7WMCrHHp9RdvrTEPLLolH9tosSCA2pIJg5QgLNqr7 36aDuq2nBbvWC2v936GDRYNccEPlTQ50B7AzVJjTBgdc51NRX78z2BhookhK/wsVVZuN X5/KFw+ftIYFLT5APl+Ox9N2eFGUNVxgrv3WB+NShMPlA9OOtdp+ftjmYC0nuXmDig/L GgzCeaOce8UR/mZgmLfkKyG5xh8N6Fxkge/dq8tPAr7sxoPKlC2UCuQIcQNA0xsUDI4X Lszi5ozixrdcgaTfECthA33Ndz/F0+LjGvcoainLXm3fNpqqgM+mlH3m/hLGvjRXrpQC dyXA== 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=M//eqOFhG4DUCzkx1cYOS8L+q6yKVPIvoJe8vzje5cM=; b=oZVPBXl4f4WLr/rXgbvKRFf6wdKCOgtf2/P6HBQCLhyPGjeRCOHU3Qd/MHRK5/0oGY KP8OQGdASgBvh7vHsawxFm63QH+nQkYMCZNZjF+RM0uVqB/m7Z5BxmMDyIvSDg0U//Jf 1LeCZj2DsfHTKCysq1YKe7Vq7hly4J2mBMiRMBtnMeKiqdx5DY6WoJ/3LyeplTtPhuG5 XU5qCIOTdgF0tMF4lWsYBeWrC/pfShurP4s1Z8arfrgWjRNKlx8uboUoN0gaciAXqor/ 7J1xam4bQGQtD/5scYF2Bnmuxbu/9q4tbamNAX6sO1k/LiwkrNLh4Q1AUUaFDZKe76ZM 9xPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=0SL9IuFl; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=miS5bnFO; 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 d4si1222778ilr.66.2020.08.28.20.39.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 20:39:21 -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=0SL9IuFl; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=miS5bnFO; 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=M//eqOFhG4DUCzkx1cYOS8L+q6yKVPIvoJe8vzje5cM=; b=0SL9IuFlzO6DglSaheturMQrlD 4n30euH16Q2248xbaP+2hnuHTg18gUc8qiScwAvojdQJ/Tu1q7L27xLDRPyIu5zF3B5smyrXYz9n+ 4HDadshn23gPSAwMPPEcN4DPo/+SWSAhUzTjn73YuJI0amnVmjDcy4Cmn9cw2nGMAo8YmjYC+oo8d ncOvcV0AJchN8614Ayh4VxadvHgHGQotmU5JXDRnh9wtqesXWRwzoxcN4LL230eyBMlmUAiYvXOGL FgxHVXNgEzFashqYLROjDvLALUn6CPl+lod69OIl1+pEcG+XL4I4b7UKDKUAW/5ky4LY2zj24owlV zOzoHTzA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBri2-0002fa-RV; Sat, 29 Aug 2020 03:39:18 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBri0-0002eh-N3 for wcn36xx@lists.infradead.org; Sat, 29 Aug 2020 03:39:17 +0000 Received: by mail-wr1-x443.google.com with SMTP id o4so906817wrn.0 for ; Fri, 28 Aug 2020 20:39:16 -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=3BeopINcH5vrrIy/IFq7Ef3qxAxmwlwpRdpz51J2al0=; b=miS5bnFOnQu6gfgUI3bESIhf9w0O35rIsXfTvkauy9rWAGMwAKoPaXhDF3OyYfzem6 kSgs1gr0Oslgr5LSGeiYM8b5lCVI5BSs3uAnVl76V3MUzohXVjpFPmPI5eNFV5JpRsq4 zxrsFq53MfiB+zkOP3ksIMTylYXiBXM8qT1vfjikNB/ZCtAB6LIqZp9S+YK5ermNf3Kn KamEJmt0NE/bCb72GIEPIOl+gFyzK8qKzHzH+TtB/oaasabvwAwnjmhFQyI2QYoodL5o bIbukS3uNvSiSJvumeqaa7ote0qY3vcP52ZDPt3k6+FBj881x+AOsqODXg7CHhmAYzfc GELg== 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=3BeopINcH5vrrIy/IFq7Ef3qxAxmwlwpRdpz51J2al0=; b=MRniFMgEvWfUheMnB6SUY3Uo/jGva41CeGIpZ+aX4O1KiARIh7nN4QsomdzpEIeh8e 8j/lBTjOyvudidbOhSmxcAWBcm8SVqLtvz0gheJTgWzoiyrli90RI3IyCbXbXBeO838L tIF6LAmJOljDyNU+0GUW2xoSwHVsGLWfabaCdYLCqGQqQknqrDfDKvyrpQGHnYPt9c+R /xgcxqKWL90Sig1P2p3pwbxxdA6988h9LT6PLl55iIvvC0AJT9bm32ADDRSSKFOcS0+d zaIM8DE+e09nbqXXO+/KBxWni7+OwwJ0LJH20onMSABwgAyZWzxS82k4IdYt9fo9Z3oC dnKA== X-Gm-Message-State: AOAM530yvZ80yJjR3uOlzhYQ03uLdFDp5PrMdmfylNT6k45KNHyoTyxz aQdYjjo2dbhlg6wKSCj16QPyIA== X-Received: by 2002:adf:f34f:: with SMTP id e15mr1639272wrp.387.1598672355845; Fri, 28 Aug 2020 20:39:15 -0700 (PDT) Received: from localhost.localdomain ([176.61.57.127]) by smtp.gmail.com with ESMTPSA id v3sm1735083wmh.6.2020.08.28.20.39.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 20:39:15 -0700 (PDT) From: Bryan O'Donoghue To: kvalo@codeaurora.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org Subject: [PATCH v2 0/4] wcn36xx: Update firmware config to support wcn3680 Date: Sat, 29 Aug 2020 04:39:58 +0100 Message-Id: <20200829034002.2167878-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-20200828_233916_844968_6C7A694C X-CRM114-Status: GOOD ( 13.35 ) 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:443 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_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_AU Message has a valid DKIM or DK signature from author's 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 five of a set of five to add support for wcn3680 at 802.11ac data-rates. This series is about providing a parameters to firmware to get us up onto 802.11ac data-rates finally. Once the firmware config is provided to the chip and VHT parameters are populated we are good to go in terms of the higher data-rate for the wcn3680. I get typical data-rates of: [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-320.00 sec 4.93 GBytes 132 Mbits/sec 445 sender [ 5] 0.00-320.14 sec 4.93 GBytes 132 Mbits/sec receiver Downstream 3.10 prima is getting I'm told 180-200 Mbits/sec on the same hardware so with time and effort there's certainly some performance gain to be squeezed out of this silicon yet. However as a first pass, I believe this is good enough and useful enough to others to submit for upstream inclusion. An interesting project and a medium term goal would be to have a unified configuration for all three supported chipsets. For now suggesting a separate firmware configuration to make sure the existing lower-speed 802.11n and higher-speed 802.11ac chips don't step on each other's toes vis-a-vis firmware parameters. V2: - Sets the default data-rate for wcn3680 to MCS8 - Zapps a few firmware settings for power-saving Powersave configuration as a specific wcn3680 topic is WIP on my end and I think therefore better left out of an intiial submission. V1: https://lore.kernel.org/linux-wireless/87eensldhi.fsf@codeaurora.org/T/#t Bryan O'Donoghue (4): wcn36xx: Extend HAL param config list wcn36xx: Define wcn3680 specific firmware parameters wcn36xx: Add ability to download wcn3680 specific firmware parameters wcn36xx: Latch VHT specific BSS parameters to firmware drivers/net/wireless/ath/wcn36xx/hal.h | 124 ++++++++++++++++++++++++- drivers/net/wireless/ath/wcn36xx/smd.c | 114 ++++++++++++++++++++++- 2 files changed, 234 insertions(+), 4 deletions(-) -- 2.27.0 _______________________________________________ wcn36xx mailing list wcn36xx@lists.infradead.org http://lists.infradead.org/mailman/listinfo/wcn36xx