From patchwork Thu Sep 9 14:44:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 508357 Delivered-To: patch@linaro.org Received: by 2002:a02:8629:0:0:0:0:0 with SMTP id e38csp387589jai; Thu, 9 Sep 2021 07:42:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyE1cb4u+qwk+Elx1qUQgoRAPny6Rsh4duDCBpAtGVO8g2/xwpAH2r93eihDLsA3N+9427h X-Received: by 2002:a05:6a00:1705:b0:400:3a97:8ad9 with SMTP id h5-20020a056a00170500b004003a978ad9mr3558530pfc.26.1631198562838; Thu, 09 Sep 2021 07:42:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631198562; cv=none; d=google.com; s=arc-20160816; b=uE/zTIk7vbJCRO85RA1K+p4WNlyQNfc/JMiF5JvQ736lZiNthf/gaxv+67HAIGOjYv ZGlo9kzj5nxcPPPuOWx7UOWtU8aqg/A9QX6Wg/K9+IJY2brTwdWwrfjk6UEYWGrfjPB7 mH0f0TPVEvOZpIoVmeiVQcsg2rjCKRQrNX6Guy5b8J3FRVdJoSRVMz75e4prHTinY13O k8vXoQVsZovyWZR1YluONLpDr4QnuRFd+9Vdt2RR4muOZv4Et/qCdsdZCgkcwQC4cMd5 Fs4ubBQV69pHbiNhwzosmylW0ShROmwc4nl0N+lRBABgjw7VINrSWZIwZlhuIKPNapHk Ug/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence :mime-version:message-id:date:subject:cc:to:from:dkim-signature :dkim-signature; bh=rPWO9qg3g+rMfLzHBqn29kWMk5xUA+PoL5a6fM8fSmw=; b=obx1SSyTDruDDh/0oLZCA0ABKn558AHUeYUj/fU4iFKM8vY/VHMrtL5Wb+XqHoYlbE 9DTTc6gVE6MQMsW8z7zWRovF9+ajzXGZ0AbWC+CFXUpN5AMv0YVkuRbxwBbYJFSnSiV8 vVbbO5160LxWyFQeCE9qxjZ0+KH/aIUmFE/lE9FTpnCKrPNX6zhO03tDrmfDZJ0c3MgW mfsCyM7iZyISOfZyargUE5NP50ZNSO99EnYQ2tmRq9Av7lGboRIlZ91di3nrwZSn4GA4 TfpzjwtQlUL4Hi+TKbIeCRjxFCvIFjVv6p9wvf1CfoUmarC9TDaMNWUkUNSfRdVqRtot fBxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20210309 header.b=ePrVaPpL; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=pEcbWt0w; spf=pass (google.com: best guess record for domain of wcn36xx-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 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 bombadil.infradead.org (bombadil.infradead.org. [2607:7c80:54:e::133]) by mx.google.com with ESMTPS id p128si2339856pfg.274.2021.09.09.07.42.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 07:42:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of wcn36xx-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 as permitted sender) client-ip=2607:7c80:54:e::133; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20210309 header.b=ePrVaPpL; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=pEcbWt0w; spf=pass (google.com: best guess record for domain of wcn36xx-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 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=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :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=rPWO9qg3g+rMfLzHBqn29kWMk5xUA+PoL5a6fM8fSmw=; b=ePrVaPpLTTOYaL aAqINaaJeQ9La37UIKQbGGroUXgTXUFO7X3ZJZci1icO9sZCkeXBnCkQRLjZlNrmyf5foXv/LPtJY u3GsXpmBO3SO4+QJJz+1dgFC8rM+06ALvFCuj8mrTCYp2cuYA6UlCV/fYEkMPfEw6auEQ92yNMJ7D 3yA0SDVSzirw86xeTd2m44CUj7hTuYWT9xDX2zNRnutRHruJy19mxEzomDhMc2g893hUgPfrdtYf7 jKfIegslSZ4gWATEYwjmxmxaVKMUMNmP6S3Gcru45m5/EWig9Q12qKyyBHeFFbWUAh/Ka0ttaiwkp 8RhN8Th/m6kkrAojGYnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mOLGE-00AAhV-1e; Thu, 09 Sep 2021 14:42:42 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mOLGB-00AAfX-Aa for wcn36xx@lists.infradead.org; Thu, 09 Sep 2021 14:42:40 +0000 Received: by mail-wm1-x336.google.com with SMTP id 192-20020a1c04c9000000b002f7a4ab0a49so1290352wme.0 for ; Thu, 09 Sep 2021 07:42:35 -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=k8bZdv5DTLVGkZZdw+ZFnrk/hdYWsN69QWl4r7xO3Rs=; b=pEcbWt0wt9p+MeEc03t+K3ZYgt5E5ZiIdHOpTdInAw7p4Z284XCdcnqtuKslX2EKZ0 ulYG79dfxmzEvbxtO7FSHxO4Pm8yiWdhi1JRCQoKnTnzOLOzEZ4X+VpHrTyoCF9V6WaN 7OqzdHyEOOEG1uhSMu7tWgK0She63mFdlFPsCY1+/8ebyYjAUoKG+s31glg4X+yJHc3t CxnaslvYZzFJPed0Yu/uvk+Py9bjRX4fn36OlqHhRGS4uAdlFLk9s+ecKZMtGJx7LtuW HZ1bGCPqXJg5ybY1nZWXFnNstTkKq92lSMZikH85ZfZh1WaFHxKqXuJaWkEDQytdViIb I9Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=k8bZdv5DTLVGkZZdw+ZFnrk/hdYWsN69QWl4r7xO3Rs=; b=FR3nfUyFLhJzhWSSkhta7DfgLB5uOIOM6oLXBHOrfMH0D0XHF073vbsdpn6+PUU+U0 hcn+An8N5kxPbQSP8e3007ZkkRU7FYKlX8NE0oSsZ9vhy2y3HCIofcr/8AonKgEQo1FQ VzANxi88qm7JwARkEMJJMvj4b3jk4JhWNV1UgL1LOXph0v9FoiIX/4uSdVVZayA24gTG UPwLBMudeGUcroHSH0RuVUl1X0wF2hEroSzQDjdlkVlags1NNf9+1D4UjTksfAbcrH3d S1HG0Xz/DWmfXscNCrfy1kRe01jshzoLo4zp3iYbMMjovXRnwNsPZ/Bnm8YvsOi6RPhs Sc/w== X-Gm-Message-State: AOAM533Jq6B+cxSyiDPqLUFTjP+X3oEB2CfXzP3NCjx/eE2jnxXNsv5l EQ+DHzMHlVcvpLzC2LKrcV2AQA== X-Received: by 2002:a1c:f706:: with SMTP id v6mr3424313wmh.167.1631198554533; Thu, 09 Sep 2021 07:42:34 -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 k29sm1160712wms.24.2021.09.09.07.42.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 07:42:34 -0700 (PDT) From: Bryan O'Donoghue To: kvalo@codeaurora.org, linux-wireless@vger.kernel.org, wcn36xx@lists.infradead.org Cc: loic.poulain@linaro.org, benl@squareup.com, bryan.odonoghue@linaro.org Subject: [PATCH v2 0/2] wcn36xx: Two one line fixes for Antenna Diveristy Switching Date: Thu, 9 Sep 2021 15:44:26 +0100 Message-Id: <20210909144428.2564650-1-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210909_074239_415781_775C83EC X-CRM114-Status: UNSURE ( 9.91 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: V2: Ammends the commit log of the first patch - Clarifies NV is the location of antenna GPIO settings - Adds some text about feature bit ANTENNA_DIVERSITY_SELECTION - Tidies up language around "measur [...] Content analysis details: (-0.2 points, 5.0 required) 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:336 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_AU Message has a valid DKIM or DK signature from author's 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_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: wcn36xx@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "wcn36xx" Errors-To: wcn36xx-bounces+patch=linaro.org@lists.infradead.org V2: Ammends the commit log of the first patch - Clarifies NV is the location of antenna GPIO settings - Adds some text about feature bit ANTENNA_DIVERSITY_SELECTION - Tidies up language around "measured antenna" - Adds Tested-by: Benjamin Li V1: Here are two one liners. The first fixes a fairly major bug that is apparent with Antenna Diveristy Switching (ADS) but, is not limited to ADS. The bug is a basic firmware table corruption problem, which just happens to manifest itself clearly with the ADS logic. The second fix is a fairly trivial one-liner which prevents us from sending negative, two's complement integers to the firmware via the SMD backdoor "dump" command. Bryan O'Donoghue (2): wcn36xx: Fix Antenna Diversity Switching wcn36xx: Add ability for wcn36xx_smd_dump_cmd_req to pass two's complement drivers/net/wireless/ath/wcn36xx/debug.c | 2 +- drivers/net/wireless/ath/wcn36xx/main.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) -- 2.33.0 _______________________________________________ wcn36xx mailing list wcn36xx@lists.infradead.org http://lists.infradead.org/mailman/listinfo/wcn36xx