Received: by 10.213.65.68 with SMTP id h4csp479150imn; Fri, 16 Mar 2018 09:01:09 -0700 (PDT) X-Google-Smtp-Source: AG47ELtJwj4koW5lPuKgh8P1+GQ+erzU4wt/c5hr265UQ+TAH8hpZjPVI+IRK7BuHYColemdFt7+ X-Received: by 10.99.111.3 with SMTP id k3mr1870404pgc.135.1521216069398; Fri, 16 Mar 2018 09:01:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521216069; cv=none; d=google.com; s=arc-20160816; b=x95ep5t5VGJtrv9KL9vWHM5JS9k0Gmxl7/Ur0NjR90U5EMtGmt75ve8M59Dhy5XFrc 2/f+mSgx2MkItPXYWTwdFjhamjekYIVqMq+p1wnLTN422xrp3xGY7raE8yPyjTprgT8h etU8N8xwrCXCXjDg4uy9gvfQQYl5FFAV5GP/ofPVh0HxYBM9QkPIKEyj4j/pUlNwOL3C N5gtKu7ey9mv5cMl1wbCH47J0MdDLHWDt+p6I1ZbJhmylaCkY5ntgAj1MIfpfIoyLcwM WUAHNIJJ4OrlvW47Cd3KXCplC5pWs2vwIowah8zMJju4qo98SWd5IwaCb+QUvsEFPLuh gdRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=pWaMIpk+A5z/IpL2k1e+Wo2QmlSvYgks4CrDktmFriE=; b=boTEw/JGmbUA3guWctr/egf9xA9FpTv4haYmfn7b0Bg8H4vD88Bc5f+pyoGUyQ6wg2 2huPbtSXka5BrHgrGezEhUjI4ZK2UOHZNNutHBs8WKmTzE1LfqbagrlkldxbYYOldaaw 2HiExLrbupazYR6gX92bDwtqfznVvBeG5z60XoALMfqkCcFbv8OW+3ImtTgNj7kWPvUa 9rJ3YT9+xxQvfyudVfcaxh5FFDmLGrqREvLiCRCw29MOJ7LqKgjVmFKj5oFZB8lzNYkF 08J69fLzxBNRXJ3gSa2av+Ms42lrrCz+VlScctEfGxnmh98QflxrjaUoPv/NRTYYGbZg uRVQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t14si700510pgr.277.2018.03.16.09.00.52; Fri, 16 Mar 2018 09:01:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965374AbeCPP7B (ORCPT + 99 others); Fri, 16 Mar 2018 11:59:01 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:45500 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965255AbeCPPn0 (ORCPT ); Fri, 16 Mar 2018 11:43:26 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 3A45FD1D; Fri, 16 Mar 2018 15:43:25 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Ben Greear , Kalle Valo , Sasha Levin Subject: [PATCH 4.15 095/128] ath10k: fix invalid STS_CAP_OFFSET_MASK Date: Fri, 16 Mar 2018 16:23:56 +0100 Message-Id: <20180316152341.296178111@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180316152336.199007505@linuxfoundation.org> References: <20180316152336.199007505@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Ben Greear [ Upstream commit 8cec57f5277ef0e354e37a0bf909dc71bc1f865b ] The 10.4 firmware defines this as a 3-bit field, as does the mac80211 stack. The 4th bit is defined as CONF_IMPLICIT_BF at least in the firmware header I have seen. This patch fixes the ath10k wmi header to match the firmware. Signed-off-by: Ben Greear Signed-off-by: Kalle Valo Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/net/wireless/ath/ath10k/wmi.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/drivers/net/wireless/ath/ath10k/wmi.h +++ b/drivers/net/wireless/ath/ath10k/wmi.h @@ -5236,7 +5236,8 @@ enum wmi_10_4_vdev_param { #define WMI_VDEV_PARAM_TXBF_MU_TX_BFER BIT(3) #define WMI_TXBF_STS_CAP_OFFSET_LSB 4 -#define WMI_TXBF_STS_CAP_OFFSET_MASK 0xf0 +#define WMI_TXBF_STS_CAP_OFFSET_MASK 0x70 +#define WMI_TXBF_CONF_IMPLICIT_BF BIT(7) #define WMI_BF_SOUND_DIM_OFFSET_LSB 8 #define WMI_BF_SOUND_DIM_OFFSET_MASK 0xf00