Message ID | 20200910150552.2178882-6-bryan.odonoghue@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ecf:0:0:0:0 with SMTP id i15csp825351ilk; Thu, 10 Sep 2020 08:05:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybMaTEuzBu5k1DUFgiZlMQB5QOTDUeVvCChovP0qsYTX09OMZlrnsG4pCfxIpUAg5XsVv8 X-Received: by 2002:a9d:53c1:: with SMTP id i1mr4348273oth.16.1599750317187; Thu, 10 Sep 2020 08:05:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599750317; cv=none; d=google.com; s=arc-20160816; b=OsLnSR8ZF4hL5LXoaUm2ksjto8A8uIhvGMY+7H6e6yFAEN2tp8iwtjgMzscNUd9In2 mzDvLWTPwi6s20/aFQBXtXixWeZEsCB2jOJcFsqWXeP02kAKJDLdR/N8DIy/TChYJ9Gr hGuCyzs9FG742YRCEM43+s6cEbTEtrFp7tbFFIp3jOxwc7bjWLmY7qlYl3c72CJFa9mF HVRqQtkYDOyMIn8BrW1fihlr/egF8AgelGSU9qVk3uylXOHtiFF5PGqbDFcmW+js74dw 6Tsb9XqSQd2Z9kaNTGhEcuXnF1XbSHeaHnQk1G/TaCkiKunfhBV4tTKpJoZupze2/lpH XJ4g== 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=0UzWP6Ju06k6axIWqNcYR/Oac5yErdZ1/l5gF4IhWZU=; b=FfeJ6cVNkNN2xz2IkQYaws73EOTxBpskWsX6ssJSYZezYdNe02qqbEezOonK9smnWO TkCNbnKTdJbTDWrw4iIERtf07OzCQ+oibL5/ER1oN6s7ZfNCXF8uVsGapkKnwvp9a9Xr V8mVWSDIJI5vCbKfg7bmtLXCB5Eyk5Z/D46VkvPrVw3rk2zpNUl5JwIgwN9jyw6YY2fS uYTdRJTc5faZVAg9IEz+C/uxxBlrWoW8EBGc1SiS3bI+IzV6XU+WO/HxudKRl25rZv/Q J3nMsAEIdMSjZmzGiy/f3RHQ6g6ks/8VjjjWFsiDd7ekv2bPCZUrf+3mGPCyb+Gjkxip 3SzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=WUL6WaM8; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=VgXQxDJJ; 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 k68si2210466oih.130.2020.09.10.08.05.17 for <patch@linaro.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2020 08:05:17 -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=WUL6WaM8; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=VgXQxDJJ; 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=0UzWP6Ju06k6axIWqNcYR/Oac5yErdZ1/l5gF4IhWZU=; b=WUL6WaM8HSdVY1Sbn7SEXWORa yoNkdPIFd6mL0HYs4TrtQ1zHM15J4qub85Svx9k0fWxRTqDKVly5yapsaXWDaexsvIsAYfBqHl9NP DGCICQ3kVLLITDFng23nl2oTdaEIXctzuXOiLX5YztoQZJeHAKXCp+Sz1et6fKS8+USJARCyrR76T c3p18DTTZA4lh87Pz2BKg5dnOlw+IPIIW5QoJ1O3qFMHaZpxGc27CC3TyAU+wDLBATOkXvSbiHQNC uZk5uXTVBt4STKZYx+kMM6GjSAxO138puaLe6XbYdMNqjGeq+Pzj+5tIhCB3tQAmn2SYy5ocdXmHj p2BtslRzQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGO8Q-0007Wh-4H; Thu, 10 Sep 2020 15:05:14 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGO8M-0007Tx-Nf for wcn36xx@lists.infradead.org; Thu, 10 Sep 2020 15:05:11 +0000 Received: by mail-wr1-x442.google.com with SMTP id z4so7098607wrr.4 for <wcn36xx@lists.infradead.org>; Thu, 10 Sep 2020 08:05:10 -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=J7OETVLDh9JWcogSM8CDzEM26oQ0pGJijOBeVJ880zs=; b=VgXQxDJJradt6PJ+rpPriG71cFDgg04zrawTaOr0wQGs28wSCdRy6a9jMPgJFTufeq gQmZ9yqbKxUKQ5ZtrwTuZsItIbSjuAC3b3Er4JPLZfKB205+Sdudrf9tLveLx5baghF8 xUzeRMBq9gukRX+390jzn4t6aNPINlMTG5JZwJ06uM/Xl/G5xqLbsluD03kVRqMZ1clt vpwizbxuT19pzxKnGI+Rs/rEQ1vqcCE/YzCQ96IaYJapbL7j8xFJLx3WI5RQrHHR0bYW hj8JYBFrzYyQPwQxqDbIqRMIy9GdRQad9ubUW1/4zowORaqAnyqetIyY1dDz4XmWWHSW FGfw== 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=J7OETVLDh9JWcogSM8CDzEM26oQ0pGJijOBeVJ880zs=; b=LwkSbd4x07QG/hK1iLWyHZE7XtUtxkm8ifpVNakeKJVUYbp8VFOSrFXwou4YbhJMrw PD39z2qSGG3zr7X9PRyR56SziUFfbnSYOiaOwbTyWy0clyBO6JmLbgK5kfozzhzmwpla Kw4ilepfeN5i0KEh/jCqSbYpIfr5FeMKStuGVdQXnC/nuRry3oq1Lsjn96N1dz6R0Kod Hdt8GhcqsVipMnRV+7FrShd+36Qy3b7ECSNk3yznS0wzHe6m6vkcVR/BCKJ9nnW00mqc 5R9DOug+LENhHwHcf+yX3bLizXfhcfkePHUyk652EIcR72zyRXd+xRMWDfXtppdXYCeK ESbg== X-Gm-Message-State: AOAM532c2m4D3/0peCAptWYNzWesfJqTBO69Q4wEVhDM4mg9MNReq6TS KFg/aaSvCl9fEd0w7/fPur0zmw== X-Received: by 2002:a05:6000:d0:: with SMTP id q16mr9492606wrx.24.1599750309722; Thu, 10 Sep 2020 08:05:09 -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 g8sm3852620wmd.12.2020.09.10.08.05.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2020 08:05:09 -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 v5 5/7] wcn36xx: Add wcn36xx_smd_set_sta_ht_ldpc_params() Date: Thu, 10 Sep 2020 16:05:50 +0100 Message-Id: <20200910150552.2178882-6-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200910150552.2178882-1-bryan.odonoghue@linaro.org> References: <20200910150552.2178882-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-20200910_110510_787334_EAD49264 X-CRM114-Status: GOOD ( 11.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:442 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: <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 1432f310f758..ab9b6116cc75 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -199,6 +199,17 @@ void wcn36xx_smd_set_sta_vht_params(struct wcn36xx *wcn, } } +void wcn36xx_smd_set_sta_ht_ldpc_params(struct ieee80211_sta *sta, + struct wcn36xx_hal_config_sta_params_v1 *sta_params); +void wcn36xx_smd_set_sta_ht_ldpc_params(struct ieee80211_sta *sta, + struct wcn36xx_hal_config_sta_params_v1 *sta_params) +{ + if (sta->ht_cap.ht_supported) { + sta_params->ht_ldpc_enabled = + is_cap_supported(sta->ht_cap.cap, IEEE80211_HT_CAP_LDPC_CODING); + } +} + static void wcn36xx_smd_set_sta_default_ht_params( struct wcn36xx_hal_config_sta_params *sta_params) {
Adds a routine to allow setting the LDPC bit for HT parameter passing inside the version 1 STA parameters data structure. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> --- drivers/net/wireless/ath/wcn36xx/smd.c | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 2.27.0 _______________________________________________ wcn36xx mailing list wcn36xx@lists.infradead.org http://lists.infradead.org/mailman/listinfo/wcn36xx