From patchwork Sat Aug 29 03:38:43 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: 248669 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp1602414ilg; Fri, 28 Aug 2020 20:38:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyelQJ4FijAv92N/GPUI4uo+T/qFurNtOyAc3oSN5TJ9BWR87Gb8Uhand1BQsXzS8EiGiPV X-Received: by 2002:a92:c8c1:: with SMTP id c1mr1540365ilq.175.1598672298512; Fri, 28 Aug 2020 20:38:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598672298; cv=none; d=google.com; s=arc-20160816; b=IPfXIIY2kOCIKs9clTSKHpgRwOs2COYANL1l4z9VwgmI2EbjeN432XCcEL6pGwbgsS 3DgiEbhBr69AF9dQILi+yU0iVvUt83GZVoYSwnOLQYmaaJd0w9bOvaLU7xnPuuIgNbPb v0TIiv8Rdi2sfdErY/kncg5BE6fLTNvZ5vRw9GkqYhGneiVlU2Io/SdKIqddf3rE3qNd 0ylHf5rwvGLA9OCe9RiGBfQ0whPU5lXm3QaKdeu1a3NJYSzEqEd5Rh2xats4iy1ym8df 1Gpq3Z2ZljGqcjFM9ylJ7EPU2L0OzGLnnahvjwCZMaZveaTmDAJfmJ7GHbKHQREKA8NK twMg== 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=WY6A+XQuy8zBDJ0nwB/ScPjgIkWqjw3/JwYbgbf4aDM=; b=yvtA6heEiKUbHggBE30cm/HkbJ47DpIqUSmiQJWoGel2MQgjdQrAz97aJZnyR5jVbP wXhnoOq1zm8/CnZPtn224VB3r5XatrzkAbEFdwlYtHh36nQ6MHCNQZ3XuiW+eICoBE8n wDx71h4Kj/0j9zKjoj+o14tkkCxzH/Qbjw8O/GL9AzPU6TndPU9DXiDD/oN8sacrCi8c AGhtuLGBqsd2XMEFEPXwJZJHEnbJ/mt6VSskC9lg1znqruLP66UQLKMwakz/svm4qCYx pED1WwmRfu76ViTQ23Lj3feHYhA7JSCv/t0cj2xfVI98ADW2uwB5vYYwWgI+/1GcHOSX 8m/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=Khdk0eCx; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=vvG6htBB; 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 r10si1130377ilg.84.2020.08.28.20.38.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 20:38:18 -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=Khdk0eCx; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=vvG6htBB; 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=WY6A+XQuy8zBDJ0nwB/ScPjgIkWqjw3/JwYbgbf4aDM=; b=Khdk0eCx1Cf0aA398nzdqI2dO IQnSvFrr94qCV5VM6fdj/L9Qn9KY3oSrBwA3HFuneLKo/MTDIT5Qf9hreC+SIKVnSsellxJ7Ze/AN /b6H0qUKAy6DFnODxKlTMmmOKcJ8ln322H2eW9xe8wWVzbbEiFiRy5okbyHi4D5AjwVeA7OHssx6W H3YvjZBZWP+9rqSmBtacovoVgwWmfNVXR33UnCyW0fVrivXQYDM4Tvx/Y9sKnFRGnYAcR1c013V2s Cqvo5Tt46h1DMYHoZKgLYDByZZoi4WOkfvpcVQluDo6ur9KF/EGHZ4Q9yXg1eGwpk5oRrRP83EQX0 dLiW+ND/w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBrh1-0002BC-IT; Sat, 29 Aug 2020 03:38:15 +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 1kBrgx-00027l-Pf for wcn36xx@lists.infradead.org; Sat, 29 Aug 2020 03:38:12 +0000 Received: by mail-wr1-x444.google.com with SMTP id w5so867352wrp.8 for ; Fri, 28 Aug 2020 20:38:11 -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=x14bAIQMwOQ/wd1IM8KwbT5bU9D+bQ8R4vcYDwgbN5g=; b=vvG6htBBheLhm1ujXdXNj0loUhvt/Xo9DHfkOqPTTdzFQBlyza61Q/FdBGhBCfB0bF SYVFOMH1wVjVtek7wzr+jY326+atNrg1iRqvnX1TAGjKvczHgR+tQoce/DuHvbaPXYHq B6TghRyXDsKUnLvgopI4f1UA/KYsof9ZK9awUTqL+kUT9bRgbBol1aiz+SGHts230k/l N3CBORCoutU435tD5Z/GBOaNHq8dPWj8sQWIXvq+67S9n+XEgZVsvjF3+mSxr6NQDYz1 BD8GkP1zF1C5aNmniy7J51RsceFN5sccwGPighaL68EF5Ur+M2iFEk8mQ11JVamU4xxq jXMA== 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=x14bAIQMwOQ/wd1IM8KwbT5bU9D+bQ8R4vcYDwgbN5g=; b=WiNbXHT8UX8JbtTbihskgBN4vBS94eXf+8IQtF27w3cpPG0RK4XG8BquwCXYIUihIc nPdbn9zutVEZsHm6+RiNcb/LouW43sKGWcvcuTEAvdM9DZ4nkJcqBYiUvdEK+NIb5D1p aPtAqJJgnpeu/OqskSZkraoWdROm/4YB5pg+ySrrCGhb01ZBVMT/zmOCeLixGIFOqhXv MjUOeiueHJ/sUpKHVxKtVqxA/4XxYTuFw92a4kDwrLEZlM8tde7VuZ65625XSXu5j2bT n6BI/5JygNzp3otKAYBpp/gd2+cKSwtoM37CfuXqXRyZNt1fsu+060umlNZkvSUAb1UE yb/g== X-Gm-Message-State: AOAM533gUzJJdiTLUiyRsBes3JRb7bXAogfdjKZsjECcSngpsaChZuvz 9ywHnJNENT96Tgz0vZhXHiCxAw== X-Received: by 2002:adf:fcc5:: with SMTP id f5mr1700858wrs.126.1598672290496; Fri, 28 Aug 2020 20:38:10 -0700 (PDT) Received: from localhost.localdomain ([176.61.57.127]) by smtp.gmail.com with ESMTPSA id v29sm1827545wrv.51.2020.08.28.20.38.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 20:38:10 -0700 (PDT) From: Bryan O'Donoghue To: kvalo@codeaurora.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org Subject: [PATCH v2 07/10] wcn36xx: Add 802.11ac HAL param bitfields Date: Sat, 29 Aug 2020 04:38:43 +0100 Message-Id: <20200829033846.2167619-8-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200829033846.2167619-1-bryan.odonoghue@linaro.org> References: <20200829033846.2167619-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_233811_877892_FB15E1D8 X-CRM114-Status: GOOD ( 12.07 ) 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 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -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.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: 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 patch enumerates four previously unused bits in wcn36xx_hal_config_sta_params_v1 describing - HT LDPC enable - VHT LDPC enable - VHT TX BF enable - VHT MU Beamformee enable Signed-off-by: Bryan O'Donoghue --- drivers/net/wireless/ath/wcn36xx/hal.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.27.0 _______________________________________________ wcn36xx mailing list wcn36xx@lists.infradead.org http://lists.infradead.org/mailman/listinfo/wcn36xx diff --git a/drivers/net/wireless/ath/wcn36xx/hal.h b/drivers/net/wireless/ath/wcn36xx/hal.h index 30476f857d23..c7661fb50c10 100644 --- a/drivers/net/wireless/ath/wcn36xx/hal.h +++ b/drivers/net/wireless/ath/wcn36xx/hal.h @@ -1515,7 +1515,11 @@ struct wcn36xx_hal_config_sta_params_v1 { u8 p2p; /* Reserved to align next field on a dword boundary */ - u8 reserved; + u8 ht_ldpc_enabled:1; + u8 vht_ldpc_enabled:1; + u8 vht_tx_bf_enabled:1; + u8 vht_tx_mu_beamformee_capable:1; + u8 reserved:4; /* These rates are the intersection of peer and self capabilities. */ struct wcn36xx_hal_supported_rates supported_rates;