From patchwork Tue Sep 8 18:25:25 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: 249337 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp4791976ilg; Tue, 8 Sep 2020 11:24:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZo31Syo0B098Ft+RpKsY5JWO7C0GBp0NbElLRcyqXBvQPzpqkw3oWMvWGAelJu3ecYLXm X-Received: by 2002:a92:5f04:: with SMTP id t4mr9950ilb.299.1599589488651; Tue, 08 Sep 2020 11:24:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599589488; cv=none; d=google.com; s=arc-20160816; b=uwBBA369CZL5D7FK2VCoLR9FALl6ihGQ+VEfiaSmXogyAcr3MYv0z0DQLhzt4F4JBG qfi4SZaY5fedvTDeHcrr/RV8pGVHZEnww47Hq/DhucJvsosNJ1rV2gHpBLFtXvzvFjcb bjkpS25UfpYRA8gQ0tx85VP+9ByMXghP0NWMQQTvx8d5mjShqf/AUM/M+Tj2Ki4bVaTS 7+Fx+4SAhYAU/XLKviz9BCGB4IKaT4Rh54Im0mXmmZj80mWdnapU2htR5q8J1Y2GefX5 3HUxnrwWvd1+K4wxv+Dzku7YQ4udEAbg6KOOQYjJKCrK6akT65j1sCkmm7JyQPcY/D37 gAFQ== 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=qkIXlU/6OeECEWgWr0qSVcTWivXKmoQkCg2TlNMzMoc=; b=cxMNsQyF2SjPvkos/Wjl2J3x72J5BsGqP6PddjF+ZVV+lEHAqW+ymv8Tl8/1Ypp7Zr TcWsXRBQ1yJzKxAI5AWoI4+RLfde3GsoiMEx853tmp4JBmPxpylyYlQBgy1hcq5930YD bf058fXBsyatWyFUIdGP7vNzlE+v2wCisxdrd5QR6H1Tv2zSIu4V3xaqSW2ABYSwRCZn Fb06wLNoGOXrMAzSwfr+HibrO8wuRtpDdnhfs0II3tPFeCDjR+bqOpSvbD4Drd1ll0YP 6k55DMqZmEk/o6yVAHXb56JIDGPI2QyE6D0LXlWoHrF1onyBUkGj6dsWHjGeLlPVoP8r sfeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=1fOyFs52; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ucbxdG9j; 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 o7si6102355jat.48.2020.09.08.11.24.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2020 11:24:48 -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=1fOyFs52; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ucbxdG9j; 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=qkIXlU/6OeECEWgWr0qSVcTWivXKmoQkCg2TlNMzMoc=; b=1fOyFs52BqXgRS12bh0kiLHTTq zUZOOSHp5X7Uv5hAeeCRu82s8RHRIeVGyDO+7iZfDODDsPcPf5O5Fi7n2/x5l30TbLMUJ06/mxOkq 0JPfW2xsf0qfKrne/C6Ey0vNVYXNAn6lO2FgNnbEKYFy+PMheNenXiZ69Z2xZtebJmK8RN9MSQm20 Lha4YeeVD+gkhiQU+L+CM/PIIU3vprV8sjxOAorSn3znmOugNGyDLsviwz3MtXEnEzrj5Zwmu/jiE w/nP+Nm9FAsmQdLriqAfZuN/Ej3KsqO100Dr2nhQTBY63UHryVymMTjtYs/kDOqJKm/Ale98zb/wA kq5oYugw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFiIP-0005Oy-Al; Tue, 08 Sep 2020 18:24: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 1kFiIM-0005NZ-Vb for wcn36xx@lists.infradead.org; Tue, 08 Sep 2020 18:24:44 +0000 Received: by mail-wr1-x441.google.com with SMTP id e16so242814wrm.2 for ; Tue, 08 Sep 2020 11:24:42 -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=qmVal2o6VpsWzwKLRZjrXBlSLBI0SBy7tb3BPEz/CLk=; b=ucbxdG9jo8AxIkmpSyk1lJzUMR1qpq377fkvPUy95Z5BY9M43XEk0bDqmkj6hF/ONo Gm2R62JXAd37VC74H5HD7x8VIaWjal5eJ+eSV3u4e8bMn9o+H1uuh4weU94oTXW2F0RE eqf5AkEtgiaS7PwmKd8ISGfGRCiWXfdGLhXFgmpxitYUZhCp/1jYt9fx3epMncYJzFtJ AwZfPVpnhatddsLW4VSQPMk/l6bwxWZeCs9cwUPOvur2KCA4781fw0o7iOFVdZaDnStt yq8q3LXVuCttV/lKYN2/z5TW73o104MqXiRkKnsLDpkZqi0UmTR8IfPXlujnScg1SeoS lEnQ== 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=qmVal2o6VpsWzwKLRZjrXBlSLBI0SBy7tb3BPEz/CLk=; b=JcLkmc8JOiRoEtlEtzmswzNDo4UGZ73bG/xZgWiPSDP3a/2PO/dsENHduyA7MrrxpR tDcvlXRQwbkXD4r1fzF53WfDdsItBOFGTms9b3cokigQ0B1WMa734zknAsUtFwgIVxoE bvx3/YS7xNBJ606W5PTy5xX/ejyU7j5vGdX/bCeeK9WUg1qBIDewT0QX5+uEj2rjsoF1 J2OMh0m4wnUe5c4xYja1ytqb4gEyCn0Cz1tcR8gZonEZaxnU6MlBNmeQ/pggXpLcUp1e F6Xeq3RKPIKp1hXK7HENV4ghxfASOdOZmDF6GN4lbBRgCdrstPG4XlZqWe5dbOnRARrV cpCg== X-Gm-Message-State: AOAM53174Z/kbur1Uu+W2e2S2Mdp/yeL6kPFpJQskIW4XbFlkR26CvOO Jr3gJ7exvbd5ULBYAmYX9hfMIDS78rL2wg== X-Received: by 2002:adf:e601:: with SMTP id p1mr1011172wrm.172.1599589481964; Tue, 08 Sep 2020 11:24:41 -0700 (PDT) Received: from localhost.localdomain ([176.61.57.127]) by smtp.gmail.com with ESMTPSA id b84sm381427wmd.0.2020.09.08.11.24.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2020 11:24:41 -0700 (PDT) From: Bryan O'Donoghue To: kvalo@codeaurora.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org Subject: [PATCH v3 0/4] wcn36xx: Update firmware config to support wcn3680 Date: Tue, 8 Sep 2020 19:25:25 +0100 Message-Id: <20200908182529.2870478-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_142443_386457_FDC06898 X-CRM114-Status: GOOD ( 13.89 ) 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 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. 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(-) -- 2.27.0 _______________________________________________ wcn36xx mailing list wcn36xx@lists.infradead.org http://lists.infradead.org/mailman/listinfo/wcn36xx