Message ID | 20200908182437.2870281-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 c28csp4791378ilg; Tue, 8 Sep 2020 11:24:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymrtwJukVX5fl1G2BydyjHq6ZQN9Kh4QO+stneUb7VUpsLMC/TA84S8OF8ssYCHpwPDJTl X-Received: by 2002:a05:6e02:e84:: with SMTP id t4mr20603ilj.149.1599589441888; Tue, 08 Sep 2020 11:24:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599589441; cv=none; d=google.com; s=arc-20160816; b=CGZTmNmMFwEzlvDZbkJvYGcp8wGYzx6q4RPbtacmrNeZAuogqVhyLLzTo24riyTDXA yxnpYXda8QyCOWzxOGow+VrMsrx/8/cTzwkw8eoqkQQpDe0d1AE297iX5ccnqDkEceQu nxV2rDXkbKab/w8a16Oyi0xWkPcGq2UMCiQFo+tmFoUwHmr9JXyi8kV0a/TkXbI9I+aP ID5Ri4hMbbIdsneRYh9pzyQVIOQzjJ/tFwrDowkk1wXgsgj9o8u4fjNhw7PcrGUPWe3x wNhJiAa7bl9X0rrf1ESQJpQ66OqQy32ZRMUyCm/UmMapzE8F/Sx6N+mxm3jcL869rfVM Vw8Q== 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=vNF8a1DJjFgP3RybtRwhN0d3/D9+PJ5WTJIHuvFRYic=; b=QV80c7VNiLotGCOPJZi67qTGRSekXYV0MUE3QAymHafSWOkKLJAZbsQYYLrFsPdwTx QLgR8ChBqFIffXrMLowhpv4V8ldK6iA/0CsKnq0mzdzvemYJ4d+6YcgrJ6xoybQm9jFQ jMiYEXy4XTv8QqYO197WuqwGVb3y/Uo2aUPIxORBqHOGHCtiz+0Xng0dDh8kAW5zy23h iberiRAX8XAsZjPTRakyol50Ai7BALkAZwQaylRne1KxMleodIFxTWgWKFMmJTyXtxYD mv44oF/WV4YoylWc7Junh8GHkVeXJwNysmxP6ZFGfPSqWYgVXkNe2ObTHrGGWZ6zga0u KiJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=eiuxiVc8; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=LTHB9KCJ; 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 a1si220508ilq.58.2020.09.08.11.24.01 for <patch@linaro.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2020 11:24:01 -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=eiuxiVc8; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=LTHB9KCJ; 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=vNF8a1DJjFgP3RybtRwhN0d3/D9+PJ5WTJIHuvFRYic=; b=eiuxiVc88wAkaGw8vBXjqYVKH 5EW8ooBacu/GCBSvWHRRMKVbuDy8+uuqq3VW6JkdolazbpCp1/ZF51XvEXKpyLv0C14qDpAIq0Sef d2RSwTYcdC0HAVYYLT3ofc++kn0U82M2k89ZXrK0nwWtq5ttvqsqWfpPDhNCtXxoZ9Lhcw4AyLXyr 1blrR0+NxFUCqMQWVsyyIdgDM0vFA+o5H7QLCRMAXglaFqtibOy5uYyl2EPCkiAvyQo7xmcexS9KA rCZPAIJ2MmqsGBUomgXQ1MN5CZhmeAM87FxFmc71xaiJ8YUiFSs8W7arhjZsXm6xxREMxmWPkUlib apoOL2S5A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFiHe-00051A-4C; Tue, 08 Sep 2020 18:23:58 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFiHa-0004yA-S2 for wcn36xx@lists.infradead.org; Tue, 08 Sep 2020 18:23:55 +0000 Received: by mail-wm1-x342.google.com with SMTP id s13so277994wmh.4 for <wcn36xx@lists.infradead.org>; Tue, 08 Sep 2020 11:23:54 -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=YvzZFSwrpgxQ+WGjQnmFyunvxfM/MsB1Cn6EiHCvmSY=; b=LTHB9KCJE1QUX6RZrRuw1GYy4xlUDUeqoywhh/tA8Jc9cINXN7UARuLYNdBTwe449u OpBTNnsUvGxfYfA2KvjxqWj4J+k+LcvMDJ5jvtbMHjvu1v8Oirjp0UVZTibtH8gtfHLE BjGJDO8O0bydjsQQa9d87Mmmrx+ODTZEHXPH9mVWpLrCJomhltz57Pmz45H1+NzgFaKY quPSNGfklDg3e3YXHv7mq5BUE2WmXYmuoxtP50ZmbyHuCa8BhFhCogQ4mCXnZTSAG/R+ /e4UBhBr29vruFJsRcBSWaYXAuec2wPOen3rIzmUBbeyPvFw9KuEsoJ6rD8WMPACr1Yt EOcw== 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=YvzZFSwrpgxQ+WGjQnmFyunvxfM/MsB1Cn6EiHCvmSY=; b=AZhfxUeqz7sAPqcTPqYT5sG2uMUsnNS+4hpcX6iGIOgNGYNtMmzfJ7NdozXw/GSH+e 6evwvGX+ga8QEQNT8cllbxLpg5uOt5vK/aHLWxXOTrIrenmK/h0NJMFhDxH6e+3bS4uI 6N0Rw/f0uvlmsWXusVrpq2ApfCRgboGKCpZT3O+Dyv/4rrcVO3utMDn6W//8i86sydGk OFVI6F0wmiOud4UO8DF7jilB+h2oW7awmXqbSYn4F9dmsbLXtH1RRyHHmdhNr8CoLmsB DGevKs4hk/5lhINXmq7T/hY4GejLPn8ZJL5kF00kU1AxSf1GliQCwe2w/J4fABgQV3Ef MXtg== X-Gm-Message-State: AOAM532iH8mG5jnod/h8/TSkWDsVDOoDKkmETsrCIMmKrmcyEaxd46lz nEMVjwcJA5usE9LdGr5ph0DMLg== X-Received: by 2002:a7b:cf30:: with SMTP id m16mr416670wmg.0.1599589433441; Tue, 08 Sep 2020 11:23:53 -0700 (PDT) Received: from localhost.localdomain ([176.61.57.127]) by smtp.gmail.com with ESMTPSA id k8sm362516wrl.42.2020.09.08.11.23.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2020 11:23:53 -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 v3 3/7] wcn36xx: Add wcn36xx_smd_set_sta_default_ht_ldpc_params() Date: Tue, 8 Sep 2020 19:24:33 +0100 Message-Id: <20200908182437.2870281-4-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200908182437.2870281-1-bryan.odonoghue@linaro.org> References: <20200908182437.2870281-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-20200908_142354_936464_AF81BFBC X-CRM114-Status: GOOD ( 12.39 ) 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:342 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: <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: Add a set of helpers to enable VHT parameter passing
|
expand
|
diff --git a/drivers/net/wireless/ath/wcn36xx/smd.c b/drivers/net/wireless/ath/wcn36xx/smd.c index bb31c4d4d9a8..3f57acfe11bb 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -206,6 +206,15 @@ void wcn36xx_smd_set_sta_default_vht_params(struct wcn36xx *wcn, sta_params->vht_tx_bf_enabled = 0; } +void wcn36xx_smd_set_sta_default_ht_ldpc_params(struct wcn36xx *wcn, + struct wcn36xx_hal_config_sta_params_v1 *sta_params) +{ + if (wcn->rf_id == RF_IRIS_WCN3680) + sta_params->ht_ldpc_enabled = 1; + else + sta_params->ht_ldpc_enabled = 0; +} + static void wcn36xx_smd_set_sta_params(struct wcn36xx *wcn, struct ieee80211_vif *vif, struct ieee80211_sta *sta,
Toggling the LDPC enabled bit is possible only via the extended V1 data-structure. This function provides a means of setting the default depending on chip-type. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> --- drivers/net/wireless/ath/wcn36xx/smd.c | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.27.0 _______________________________________________ wcn36xx mailing list wcn36xx@lists.infradead.org http://lists.infradead.org/mailman/listinfo/wcn36xx