From patchwork Thu Sep 10 15:07:43 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: 249652 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ecf:0:0:0:0 with SMTP id i15csp827183ilk; Thu, 10 Sep 2020 08:07:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqhOtjw3LGwzQn2UmZspCcDrvhAhJV8jvQVyVgyEY4f/3cMlODPkIjLo1+CnsOKWXcSEqM X-Received: by 2002:a05:6638:210:: with SMTP id e16mr8706913jaq.94.1599750427898; Thu, 10 Sep 2020 08:07:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599750427; cv=none; d=google.com; s=arc-20160816; b=CLlI7+z3VTqex3gGdq+nRRTSimygGmiJIbRMjEZlTho/Dc/8NjWRp3MD+UqOwgrNP6 N6vZiaCI5tENrVIQzGTbRPEooOnSf4hinuGkfD0G04YIlRzhpAgzI40hNnEzcf4s098V LCojWjV7vlprlAsRUu9Xn4NkYSstKzNDls0ETb8jIe/B8K+TRIi+5emX9w7JaIrsaaZ+ AIzPjBgZUG2UBkX3CPfYmNNoGU8I6aqYpamBPJolS2mNXkYuxAcYXT2JobnIEqLi89rn 6hiduIAQsCt4OTmRgePUAC4C1HSVCtZzFKmeDCRyDSIYYdLnXhjFqH6GiiOtU/dAu4Em vcrQ== 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=nNP9dhynZhQ1hwQDPmiGdUNujiP/M9Zv5NWiZ9/DvMw=; b=ILMNRRv1X4rRsXdkswKCZLgNbtXzIn6NYgoIj3B4okEIiON5rKPvLxHObQ8yLxm9zf /vxkBKk1UdztyMwbCKFWAm5m8WSX8CZZdIMpxjJUs5sgHb6bZMQkLTAWCHX+YwvRO4qq 0leoEokcrdD01+oJH9Tl08n3DPZXAXbkYiLTRVZ79U2TZgGraUCAp0Zt9DPQEFPJ7BZk b4Q/nLx3NGX+Gd6WqK4tlWA1u7GT9lwza2GI8PTFhg7p/SS1mF7QixKhfsqp5gw2Qbuh OyLdy6oUuagbJt+TzR/WegbV+dKCYCYNswFQ9fCGWhwh8XNP5Y1u9DdO+8/4k8ueNK82 5rGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=mac4nyjW; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=TW1HR7I2; 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 g17si3890032jad.101.2020.09.10.08.07.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2020 08:07:07 -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=mac4nyjW; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=TW1HR7I2; 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=nNP9dhynZhQ1hwQDPmiGdUNujiP/M9Zv5NWiZ9/DvMw=; b=mac4nyjWlQWaAGLZpjuVy+/Sbl 7wFixQkKSYiaGpfpPMsPtHSVKalF9iIXm1RpTsZHjGOQib1SglLRhBY0nZgJ0fdTA8GNiFVprXjhE ZwhaRxMw+r96qRBnVWyRQltG50ns0VFYXpzoU7catU0WO1Rk9k4rD5UhOJJ8OAxO1f/kv2cCIGgUY +r92i6knvRIZsY0ygFzST7ZRs1iVUoGiSsKzCF6Rf0JE8HqtURvBhPhhBbJnZ4UYchXP1TSpPsUwe hIMKoKuXiszsPLubTshnyPkcqXObei8vAwMdClV+vT+njDcCAQxhmFZHbCEEMgFJiDooyQTeQoDpO h8EmbPGQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGOAB-0007zQ-Ut; Thu, 10 Sep 2020 15:07:04 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGOA9-0007y9-3f for wcn36xx@lists.infradead.org; Thu, 10 Sep 2020 15:07:01 +0000 Received: by mail-wm1-x343.google.com with SMTP id b79so369898wmb.4 for ; Thu, 10 Sep 2020 08:07:00 -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=i7FikWtwgz+IgoiYK3wy07v6fSyv51tBJwn8AQvuDiw=; b=TW1HR7I2zKpdA/zc3vuRTjMTGJaySVrCahiGFLMJuIDYaUL6tRkJX4bqDrBeS94hbR yAzrdkVNIM0M+519IX20fHFQXcO3qCgf+yYHBYFUNbyvVzgQ7GUHo4EnmgZ47Tx6kMwh w+AjVPs61NB/P5Fgh3eOZGRssiBZiz9vUqgAtSH9PjYWBOvGKxKe8rWA9WgEafJHks6P oYRoPtpCijmAHwE5FXoh9N/KRVIB3/61uzKlG2mImnlL/zTaGzNrSiqujDC2zkGfO6wf Bm5u6N//xmsXREgm5DYI4+bdC48EsWy1XocPUmZ4z4w+LbwzWKZ0ZyKncCh49FlMr7qb MwHw== 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=i7FikWtwgz+IgoiYK3wy07v6fSyv51tBJwn8AQvuDiw=; b=TlBqyMIUaKt8S2O8A9oSxJyVes/5jwMgzDvIKFOY0BODSBZGCueTZ0EsMHf+q6UyRA 0aeMgJ1DW9OgWBTYwKnUrndKhdnNvyNL4851pOo+uJPny/snF80emiaoaL9z++cs9NBr KPYC4ojITH3XF766fmU4v6srXfcJ6PZs7Htd/9H2nUhd2g6BnKX6feaWnG9v9Mpl9j4f QuMKlpTksWbYJPhb1NxwesoKbbBu3+PQEBQXuvgwRbPgpZQg9gC1rHAsVKjZkYh8+dmo tV19GTkEg2QIMeS4YM5SbI4wlIEDFyxkb01Jd3UATOEYxgkmpTYWyeBbUnS9ozLb1t9S ureg== X-Gm-Message-State: AOAM530rlVnoVxzeVwjQxF6eJXn4LE3yjnIyKccYrNXLoPb8rNgUJfb/ HKsW6mLWhUnYWd76BbVFTusw1A== X-Received: by 2002:a1c:cc0c:: with SMTP id h12mr414599wmb.57.1599750420189; Thu, 10 Sep 2020 08:07:00 -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 m3sm7597315wrs.83.2020.09.10.08.06.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2020 08:06:59 -0700 (PDT) From: Bryan O'Donoghue To: kvalo@codeaurora.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org Subject: [PATCH v5 0/4] wcn36xx: Update firmware config to support wcn3680 Date: Thu, 10 Sep 2020 16:07:43 +0100 Message-Id: <20200910150747.2179122-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_110701_151905_AFDB6BE4 X-CRM114-Status: GOOD ( 13.84 ) 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:343 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. V5: - No change to V4 but need to send the set again so that prerequisite-patch-id makes sense to the build robot here. 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: 08122a9557904ce5358f52dd08cc33270fa202c1 prerequisite-patch-id: 82e0b7c5b2e9fa80baca001cce12577d98e306a9 prerequisite-patch-id: 8ee7f5bd6cb5b7b7d713947b554ad93bb90d8230 prerequisite-patch-id: d05c2253e4523b05b2e43491aa13ceeef68fd2f0 prerequisite-patch-id: 8be29513d3efa64df15297bcf81ec3db55088ee1 prerequisite-patch-id: d267dcd834afad75a69bcd2adcccfdad6566a7ba prerequisite-patch-id: 47145acae6e24e8e6580fca1dbddfbec24f7b50b prerequisite-patch-id: 8c66bccb923be821cf109a3a0d3a1a028edb4930 prerequisite-patch-id: d0f5f3769b2963208fd2348840726fa1d3501b63 prerequisite-patch-id: 746f63cf58fa3bf62736435c81dba2558aba8e81 prerequisite-patch-id: 375bb7847ae74c63d2eacdbd0d73371aef1546fe 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