From patchwork Mon Aug 3 03:11:01 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: 247311 Delivered-To: patch@linaro.org Received: by 2002:a92:cc90:0:0:0:0:0 with SMTP id x16csp860466ilo; Sun, 2 Aug 2020 20:10:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQuzgXYT1Ce9dht3r8auXQxsxJgAMP61U3V1hy7eqLBYq5rZkowBSLnxwuSqoNBXn0qU8O X-Received: by 2002:a50:b285:: with SMTP id p5mr5095442edd.139.1596424256244; Sun, 02 Aug 2020 20:10:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596424256; cv=none; d=google.com; s=arc-20160816; b=YpNTvwwuKZj1pzQIF+t6dF+RZ1cvrtTO2IbE74WYgGJEtwFJDaGQasU62VK7ohzp3t K5KIulwYtImodET33AyPmcNTNsVU96wvw1Oq+IyD9lwVZg12sv5ZPzJ6mtip0zS/iAXN Ss0+T/pBFe22IqE7g3J+IZ8lIkub999I6SLORAWLoiLDXem/sS3KmRK+k6wE24AZxA/6 T9fbiFnYRCx9z4L6bVcWdEilA6wHlPMBTtKXg4ejqyZLF2lLBdEWcWzla0C2lpUbqONZ OQ2l+1QSxk4VqupnGLazZmt2UVqq+HcZGqJWr0wm5mvhCThjuSC4KoGdJSnVzlcFqMIQ mXeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=B5DLtbiyK3rd9edQe5gM8jvZmZ4OmlENPvYbGbm0j2Q=; b=0PyjfQHcM4lcLtk/fDm4o90WQl1SFhDvHvm3ccO/l94dGTjVPifTeDN9E1Zr+Y2u3n O38tSEZ5EGOdODoC6YeM2tHGawDnBrAtMQAKrGsnVR5C6Obpl0wJKpM0zhBBvVcLXd53 gGRDcrAMlrxLGxshPEx6dDEb3IYHLVJy/fdTJO7cijpHreojELVDfPDBn9Ncb8rteymY 2nsO6PZjUgC5ysQNC3cboS07qYv3UMmgF+iz0Mm6McIx/UavgRi5RflpfE4KsPedAx3p 0Vzw5ylih1+zABrP9dROPUjhRpoSiqgNf30ryHwW7baFOjqDGuayriBG+oeY0cRpvfja HNSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="K/c/7AYv"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jz19si10235393ejb.34.2020.08.02.20.10.56; Sun, 02 Aug 2020 20:10:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="K/c/7AYv"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726918AbgHCDKz (ORCPT + 2 others); Sun, 2 Aug 2020 23:10:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726845AbgHCDKx (ORCPT ); Sun, 2 Aug 2020 23:10:53 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36067C06174A for ; Sun, 2 Aug 2020 20:10:53 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id k8so14104625wma.2 for ; Sun, 02 Aug 2020 20:10:53 -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=B5DLtbiyK3rd9edQe5gM8jvZmZ4OmlENPvYbGbm0j2Q=; b=K/c/7AYv8jxtEAqw4NRJLB9gp9r9K4vxkKvVMKLn3DAtS/TJMlAR5TgaZp8GpXhWCE I7ySMzZoM0eCF2G+K7PpRdTIUey55nTdPHtHVNJ218ahfD2tS9C7v1QlZYUPOdq4vnkT T19gY0G89Ww9F4XVNP/6JtC0K12nueY8Mi+Yg7OXG/RMk1joU4tU6DjhkD7cHG2Sorx4 EAQ4xUm2GwWbi3gSVnZ86c7FVyydp2XG4n2mr3LHoyTHAgk3qCqqqZY4chzYBEoNFpcm jz69nnR/Njp5jbcHSOJavQIRpZp9d/ac1Ljhp6ZxB7Pw+jbBoohDNQvgm1U9HxNJNPu2 zuJA== 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=B5DLtbiyK3rd9edQe5gM8jvZmZ4OmlENPvYbGbm0j2Q=; b=lwGjqGjTEwr1dEHkZB/iBipiZPnPW2nY1XnbHO2ofOcrX/0Ht+FEcVpRSbhwPCfVbH UdKFyinCPkE4yAPWhZaSOF5Lfnk4MzAynodFd2psVx0Qb238i4BEyhsXOF9+NjE1ov4f XFC7Jb8B4NINlQmzpTUQoQ7gTveFoj/5p+rpvPojXs2Db2bf2EfBNWa2QpjGxrSLPk8m kiMz2vxcubEiPfBxM49EyOTHer1tCKwQ+xeSK/xBJ09cQiggPnOQu5mf8mZco45oVAk+ CcQbd7WfKCaZ5/92Uc4gQUSYB4l8ebjACFUoC+iOjfmEf4Nw8Ivi2Hz61chTcUkiEEaF mGJA== X-Gm-Message-State: AOAM531gj7jsb8TjrslGbnL9lUM1ngSyWNFYcJ3sB6P9flejHyK4OFX/ qjan9XtSSUurMFIG5ppWdltztg== X-Received: by 2002:a7b:c38e:: with SMTP id s14mr13683939wmj.124.1596424251970; Sun, 02 Aug 2020 20:10:51 -0700 (PDT) Received: from localhost.localdomain ([176.61.57.127]) by smtp.gmail.com with ESMTPSA id q2sm21956857wro.8.2020.08.02.20.10.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Aug 2020 20:10:51 -0700 (PDT) From: Bryan O'Donoghue To: kvalo@codeaurora.org Cc: wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org, bryan.odonoghue@linaro.org, shawn.guo@linaro.org Subject: [PATCH 05/36] wcn36xx: Add 802.11ac HAL param bitfields Date: Mon, 3 Aug 2020 04:11:01 +0100 Message-Id: <20200803031132.1427063-6-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200803031132.1427063-1-bryan.odonoghue@linaro.org> References: <20200803031132.1427063-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.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 diff --git a/drivers/net/wireless/ath/wcn36xx/hal.h b/drivers/net/wireless/ath/wcn36xx/hal.h index aab5a58616fc..8df3184a348d 100644 --- a/drivers/net/wireless/ath/wcn36xx/hal.h +++ b/drivers/net/wireless/ath/wcn36xx/hal.h @@ -1507,7 +1507,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;