Message ID | 20200829033947.2167817-4-bryan.odonoghue@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp1602863ilg; Fri, 28 Aug 2020 20:39:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQEPsiUuhH5S1Erqx2D2cYYMdacbu3rEQaVNSRzlJE411lb4W7Rr1LWsSCB5Jz1JGd1OZa X-Received: by 2002:a05:6638:1690:: with SMTP id f16mr3914275jat.91.1598672350843; Fri, 28 Aug 2020 20:39:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598672350; cv=none; d=google.com; s=arc-20160816; b=Ipt5KXJiuisXH/i2jL2/2yUfngS7GVt/GUhj5Ut26wkV8RJVIQY/8w9/andIz2chDa qllCpXxKXQFjJr71CG/agzPkxsyK9ou2ddUVlm98mieNJmOwgvNbMSH26W/ufNQENPZp xjUYvd5OcneXlcUzXMfj1zuRxgEafdphBgssYnSHHOh5JnPa/Zsi5bsfRQRkALy7W7Uj JjEBiOhsLdi3YpugjlGT76n+f5NCMgyOrMWdVrJURgfu0QqXIlRYC5mSgEHqfLSr1CWa EkxLVNB2+vvLcAFWtl+qRbX9RAVD0pxFDTQZW1CMBKOcg7zYmJQ7eVuYy45PwrVIe0RY Pt9g== 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:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=24BKZVtj12JRlleNm6PPRQzhJdaLhvOx7jvBAIsYZMo=; b=qn2Hg0+MKFc9t5BGW4JruKaTSvGgNlrHt9ysxTyKOqXGMoF83xGPVClLNzMU6CKNrP E5y2hPSsQth2OmgJ4869zlyC6rXCiJTJkFZaFWSKQQxewUjoQj0FhnNcxl53IwZqvDhw 6rfOaCDCrP8shsuCuyFLQPAX/E9ks+aDO2LygL0QwclMabdGJlsXnuZ60VAOIOUvNDiz Tl0IXwGE+DahRCBrddGG1vDMW4PNVMVXOG8x1JEhO+nKtFcrIRD+eNLAX6T4Qf+QyR3T LxKEST2eeSVNAWHX/r32jyqvLSF5Gfa8h3YLJGEHmd8/zSv1Q5gDW+VoU9X2E9OPqKfT 7KBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=GeLcxFck; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="Okw/bFl+"; 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: <wcn36xx-bounces+patch=linaro.org@lists.infradead.org> Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id t18si753492iob.42.2020.08.28.20.39.10 for <patch@linaro.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 20:39:10 -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=GeLcxFck; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="Okw/bFl+"; 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:References:In-Reply-To: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:List-Owner; bh=24BKZVtj12JRlleNm6PPRQzhJdaLhvOx7jvBAIsYZMo=; b=GeLcxFck+xwypVZkQM8JKE351 M4a4ZBbsOIv+UYzl/x2nqrFhtFa2p4q0FpfD3ZiBsF2yrrJ15Zvxotzvk0gyeAWP5zAfJCfOyUP3A ZK7At2Dvi/cKjQKwB+pDPa267sciw8f6J9uGpdCS4PQxwkSV6mssam75PMRqg2+etZRr/y4Rk0GQp 2fPQehh06bmNv1Vs4ePp9h7MUlh2oaKdSx2yH7vl+TfWydPVlLhzhDUfC7LPRFRgIDNoztEiIM/+b pcR0SsH/9pxICCiVtkddpxLY/kjcWB97HJNrC8tyxZX4YwqZF/2cA9oBuZpCwPHAxsgc8V2B9yHcr 0TbjE+1/Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBrhr-0002cE-PA; Sat, 29 Aug 2020 03:39:07 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBrho-0002aB-UA for wcn36xx@lists.infradead.org; Sat, 29 Aug 2020 03:39:05 +0000 Received: by mail-wr1-x444.google.com with SMTP id w13so878696wrk.5 for <wcn36xx@lists.infradead.org>; Fri, 28 Aug 2020 20:39:04 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=gyyyc+eVVPBc5oNmWeDufnX8Vdj7EzlctFSImbJVqV4=; b=Okw/bFl+1QURlf+DlpmTVa0gvxD/RbzvJ429LMzioPWrxukuqEZ+O7njYJhTMnGMhV 9wcB0ylpd69wM/+mKeIygft35AOcbZf5fPCqGtXFz2QDkmiw7JGcYoaPQBFDG8P0lEwJ PXzbaYgJApaUqhsxaSS1SrhxUA4cBVA9Y+81YBrceI8r7wPhkD+2EW2wf83oknGHAdr2 dSDf6ZJyHsZFonYTnSE9C5gCozdITixue6FJE9O0cT4PCqgUGI4Sc4HCAW+nBpYLzj+u YVCFgHlhbPKPZmNm5GBfRh+2H8fbg0gz1SNj3BTtw3gh2CunmVxmONTC5tYUhvVSODGv vhFA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=gyyyc+eVVPBc5oNmWeDufnX8Vdj7EzlctFSImbJVqV4=; b=qduw87yJrJAjcXxQeYuNVPLmp5U9Ins2Fw/7xVBku/muoAFjt2ntjk24ZARoPlw4DH 14mRxc3HKbnOAUwgM9SmECh2InTiMclZL6BzouGTfTMZKDLn7bHJpS6v6UPlhJz8e/kS 1XWGKcPCAf52hajqTtsW7Db7XULE9ToeJ2XQqY1Jvp4CfxSAEK6S7tMkZgHJzj/jTSAe jU7FaJdBxRfRJRxH+6mGoLVaGHDYUjTY6imSq/TPEBH/3Nik1h7zDu7isx54d/Ey/278 xsXXZQZfVxZh/ASPHzM1/5V7WW2UhAE6EKuo6h2eGp0izCCFTx9oYbDmatkaXQQDJATh Li/g== X-Gm-Message-State: AOAM532f5xgvT9jU+oZG2YrXGoZm1431b7IyrNZROU8YykR5smnH0Ph4 wSsOfxcD1TrmBWlglWbmtlUUyA== X-Received: by 2002:adf:cc8c:: with SMTP id p12mr1150793wrj.92.1598672344017; Fri, 28 Aug 2020 20:39:04 -0700 (PDT) Received: from localhost.localdomain ([176.61.57.127]) by smtp.gmail.com with ESMTPSA id l9sm1732151wmh.1.2020.08.28.20.39.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 20:39:03 -0700 (PDT) From: Bryan O'Donoghue <bryan.odonoghue@linaro.org> To: kvalo@codeaurora.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org Subject: [PATCH v2 3/5] wcn36xx: Add accessor macro HW_VALUE_PHY for PHY settings Date: Sat, 29 Aug 2020 04:39:45 +0100 Message-Id: <20200829033947.2167817-4-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200829033947.2167817-1-bryan.odonoghue@linaro.org> References: <20200829033947.2167817-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200828_233905_017246_D9FB5CB8 X-CRM114-Status: GOOD ( 11.85 ) 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:444 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: <wcn36xx.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/wcn36xx>, <mailto:wcn36xx-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/wcn36xx/> List-Post: <mailto:wcn36xx@lists.infradead.org> List-Help: <mailto:wcn36xx-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/wcn36xx>, <mailto:wcn36xx-request@lists.infradead.org?subject=subscribe> Cc: bryan.odonoghue@linaro.org, shawn.guo@linaro.org, loic.poulain@linaro.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "wcn36xx" <wcn36xx-bounces@lists.infradead.org> Errors-To: wcn36xx-bounces+patch=linaro.org@lists.infradead.org |
Series |
wcn36xx: PHY modifications to support 80MHz operation
|
expand
|
diff --git a/drivers/net/wireless/ath/wcn36xx/wcn36xx.h b/drivers/net/wireless/ath/wcn36xx/wcn36xx.h index ebce1ed7adf7..71fa9992b118 100644 --- a/drivers/net/wireless/ath/wcn36xx/wcn36xx.h +++ b/drivers/net/wireless/ath/wcn36xx/wcn36xx.h @@ -83,6 +83,8 @@ enum wcn36xx_ampdu_state { WCN36XX_AMPDU_OPERATIONAL, }; +#define HW_VALUE_PHY_SHIFT 8 +#define HW_VALUE_PHY(hw_value) ((hw_value) >> HW_VALUE_PHY_SHIFT) #define HW_VALUE_CHANNEL(hw_value) ((hw_value) & 0xFF) #define WCN36XX_HW_CHANNEL(__wcn)\ HW_VALUE_CHANNEL(__wcn->hw->conf.chandef.chan->hw_value)
Adds HW_VALUE_PHY(hw_value) an access macro that will be used to extract a hardware specific PHY setting for a given channel. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> --- drivers/net/wireless/ath/wcn36xx/wcn36xx.h | 2 ++ 1 file changed, 2 insertions(+) -- 2.27.0 _______________________________________________ wcn36xx mailing list wcn36xx@lists.infradead.org http://lists.infradead.org/mailman/listinfo/wcn36xx