From patchwork Wed Sep 9 15:37:13 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: 249493 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp524657ilg; Wed, 9 Sep 2020 08:36:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUastnuomQMkfNfGzLfRX4abDLud1Bxb+C2IxlVzupDmC1fU6q88Lp/d5yP/JqppILyVQS X-Received: by 2002:a92:7984:: with SMTP id u126mr2699168ilc.139.1599665795991; Wed, 09 Sep 2020 08:36:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599665795; cv=none; d=google.com; s=arc-20160816; b=gO+EMOZAII8/T1RZjB94ywfZfmbMVwhoz5xjxX9MWnSuUzUJbnbV7Y+YDfkkbyNw+C kULAbYRJBQFij8HX/0cShksIBpRbIHLkD4dQHqHw6flxOcJVj4trrrNRMxmOJYx8nqZ4 XytgmF4+Kl0uVRDNmWGTOawoDNvcM3oe6im4KACOirwwIbDyE5LFUgoeXSJHmhL5k3XH j+aederEn/VPSmxR0Rarsd5f+skd02wyxS/AJEvJE6Zxs4dyzdpeBmZB38dpPoV0KR0i EooeY0Y7sSuIViakO+NXaS20jaXCWMe7/uzVWj441o24h2l3VF8my7vk2u0KxED5cAg0 8tfw== 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=TPNYp2c7fLH/6OG5e+mQiiu6XZ3SLwf+QhhbS9ftPt8=; b=lyWjuX1CDaXr6/OK9xRaJfpAp7T4o5D6bUNdckfx1NhuvJ3UUuAW9y0ruJZ3RVvqZe 4HtH2PhWmS2nBEdk3DC6i8Skd0dt+/j+sBynSUWxFh61ny0njFCHB4NO5nvHz+k5AsaS +78xZk2J3R4vbrtcnew0r5OJY9OgPI8+G79XKsvM5LGTylT7NbYwvuvwoK1p4NDUTERx snSpD09TpZ0kdOq7rtOevZK/CRGacJ8x0sT66rSjeJgdF4qIfPowHO/RYMqNqdagmFJl 7XeGC2McmSfd40gDItaBviyPFZpX25yvRkgh3b9azdQUPz+9rYAa2MfkDZ84O1MY9z9M lJdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=qD9dRS40; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="UnEC3f/W"; 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 p25si1863569jao.98.2020.09.09.08.36.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 08:36:35 -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=qD9dRS40; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="UnEC3f/W"; 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=TPNYp2c7fLH/6OG5e+mQiiu6XZ3SLwf+QhhbS9ftPt8=; b=qD9dRS40nfNJPsjzeh7BKYDTLK YthqfdEX7n+Sic1ursx7WPE2F6G0xU0gRrTV7+ATvniXZfradwIab9HKVeezgfdSFMDyffgw2yFgo zfTVxHYQv+beiZR8JhPsYqcIm6lz8SX06rz8ZQ+EvejNipp9RhvRJj19yKoZfGpxCBH7i/9wSv1Fw toFvSidTzDpvGJqZtLthS0phgFCJeMz2sgDbnqgXvZWpf5lALKJe9D8Xvj/AWgfaYsbX9y1seqKJD WYQMOI1WRlHZjtsYAkaLkOa0ruyTP319UpORIsTbK5DdH6KxjjZncZmp4yeBzYLZ7+4wxLOxAjxAS gCHpvAXA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kG29A-0006fO-E8; Wed, 09 Sep 2020 15:36:32 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kG298-0006er-6D for wcn36xx@lists.infradead.org; Wed, 09 Sep 2020 15:36:31 +0000 Received: by mail-wm1-x344.google.com with SMTP id q9so2734522wmj.2 for ; Wed, 09 Sep 2020 08:36:30 -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=7IHx0+NLyzYUk9ph+s8nLW/OIGwymL67/C9uCLaWptg=; b=UnEC3f/WTaqgalWdFb427NJYrLmEJl5I5GQX3fVdmHt4/0AfRzDfuHNJxmBsQkQ+Vp aw6LMALgp0OAi/2unLLRtKjAynWoQ9EthMAETG8LuFxCBc25BDZmukkh1gw/jtDKg/iF RxrxXzGozejp0ll2/HP3ZQJtJ2wPTzKYBPkbTTeleca8yccCmcwtohjX/yUKpAw6kJLT owN1bpg/XysEEOExeHSizuiS3dR2L1r6y3Yaq1TqHnVd4qoWaLMo7aaPfuIER0nQca4O ndhEXaYSzFjNqAl3BlciznflnVM1x3nVIAqAZxpj9cjteKzXZwFMiMD4w//fLnXGCCdW k9Ug== 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=7IHx0+NLyzYUk9ph+s8nLW/OIGwymL67/C9uCLaWptg=; b=jL6r4N9Xz3SgJwo6KVPrz2Dw9Gc9hmvHKBTZO/cM773ueEXNcp6ZMBYI2mWDCLoRZB 0lRkuu6pSv/mtPKTUBt8j5zJ/sD5Lm3VJbH0Yw0Rcl1ZyoKfJh/sv9BMSnL2UwauNg5J eETq4q78h7YkQKI5kBnsXcM2pHRy4f7TVC4q347CGHOhaVmHfXO8zwQfDF89o+lPGg3o O80g/2Iu0sHPNCjt5d1+i0eABg9S0omcLazZ6etaBIoyYnaPIIzxAErkgwFCzs0Qgytc A2VTNf94w8BD0sjXEkmXrT14gHvuOavuOXDMUTO/dZhjES96qJxSgVAnd+I1Iz7oQEje BN3Q== X-Gm-Message-State: AOAM532lq0ze/PYsHO+cgJitVf9xWXR1xK4V+7jQSN8rmiyyuK6oR7P+ wDOrSlRv07JQmaeuTyeCce0Zrw== X-Received: by 2002:a1c:7f14:: with SMTP id a20mr4175904wmd.95.1599665789242; Wed, 09 Sep 2020 08:36:29 -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 m185sm4605220wmf.5.2020.09.09.08.36.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 08:36:28 -0700 (PDT) From: Bryan O'Donoghue To: kvalo@codeaurora.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org Subject: [PATCH v4 0/4] wcn36xx: Update firmware config to support wcn3680 Date: Wed, 9 Sep 2020 16:37:13 +0100 Message-Id: <20200909153717.2905037-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_113630_250298_C9CF7D74 X-CRM114-Status: GOOD ( 13.12 ) 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:344 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 five in a set of seven 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. V4: - No functional change. Sending out full set again using --base=ath-202009090652 to aid kernel test robot - https://lore.kernel.org/linux-wireless/20200908182529.2870478-1-bryan.odonoghue@linaro.org/T/#t V3: No difference between V3 and V2 below https://lore.kernel.org/linux-wireless/20200829034002.2167878-1-bryan.odonoghue@linaro.org/T/#t 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(-) base-commit: 160b351d75cb50a0dd2abf9b63e1891935aa9e4a prerequisite-patch-id: 9a4ac7faca179f6594c9b3a115ee69a2da540a69 prerequisite-patch-id: 183286f9c22d1aaa12f356651224e6b337ef1938 prerequisite-patch-id: af468d413daaf8d2aad195fcb43c6e66390d8468 prerequisite-patch-id: 1a7fb93ee5874d2d011409eaed0b4fd764666b9c prerequisite-patch-id: 77cc008b21a650fa7a33c4acad2fb632b09634fd prerequisite-patch-id: 988ae4802971d6895b03b2752122b2be42baf188 prerequisite-patch-id: a3ba2a1963e03e23e86c937cd4cfb649e1b819b2 prerequisite-patch-id: 8a1fe4f63bc80e9a8035aa52356da8c46eab8665 prerequisite-patch-id: d75c1a60d1ede373c1f3eb684bb15c853c88eedc prerequisite-patch-id: 47145acae6e24e8e6580fca1dbddfbec24f7b50b prerequisite-patch-id: 8c66bccb923be821cf109a3a0d3a1a028edb4930 prerequisite-patch-id: f078e5fdfe8c18936469bfb118a964db13ea729f prerequisite-patch-id: 746f63cf58fa3bf62736435c81dba2558aba8e81 prerequisite-patch-id: 36a94e202cbdaee8e06f9a108b1c894bd1159e62 prerequisite-patch-id: 8a598e22a08b0ec233d0ec56eeb53673eb1b8feb prerequisite-patch-id: b0eba574ddc35ecec2d0e39c0d3351d1b260420e prerequisite-patch-id: 143a1019813b7e4974a67e9eea1f1d599c0fdfdf prerequisite-patch-id: f66d9fe9eb731272b825c9430c15dca89d6c6129 prerequisite-patch-id: c8c2d2dd1452c357f73fc4c92e5b564d59a05562 prerequisite-patch-id: 273c13464a69354d32790ed7509472d9c2b11231 prerequisite-patch-id: adbde1c98b85a16a6500b4210d4f055b9493418c -- 2.27.0 _______________________________________________ wcn36xx mailing list wcn36xx@lists.infradead.org http://lists.infradead.org/mailman/listinfo/wcn36xx