From patchwork Fri Aug 9 09:26:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kalle Valo X-Patchwork-Id: 11086001 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AB6111395 for ; Fri, 9 Aug 2019 09:26:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 99ABA28C2D for ; Fri, 9 Aug 2019 09:26:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8C90C28C42; Fri, 9 Aug 2019 09:26:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3371A28C2D for ; Fri, 9 Aug 2019 09:26:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:To:From:Subject:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RCzH1JooepQ4yyOKFMS9VmbO6Daw9SAeCJQXam4Cw6k=; b=Kwiq1lcFkKSb/1 CJBw07Um37j8PNMFkzpGiDqOW4wYns46noG5zkrY74rsWbhK/teoYv4x/1xwL+u21aNv7j4CMduR6 gUZvxB2Tr27cOSDGmNMgF2eJuAGoX3LjedW3KuVzy+3sva2PndyrLXlyMVWgIeEtwz1PxDLE9+Iip 3xejWjvph88rEnRNM6jZezYo8U/fDN+xwydxprt831a4KTbC6FNjVp0juj4fu4/ehfp68aT/qoWNV 48pgjY3F1MRQCShG2OBBVvZow7lT2+v9oOJbUbkyZEEtDS6wmn6/fGkzmhqyL+2EUNdc7nvNyG0+s pqamP/KLYUXnxBeq1IOg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hw1AU-0000fG-B4; Fri, 09 Aug 2019 09:26:38 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hw1AS-0000ez-2Q for ath11k@lists.infradead.org; Fri, 09 Aug 2019 09:26:37 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 834E6608A5; Fri, 9 Aug 2019 09:26:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1565342795; bh=yJtmqwkazmTUmp3v/t6QSbYWvO1zYppVH/fiy06Tkz4=; h=Subject:From:To:Date:In-Reply-To:References:From; b=NpPcAyESuAZna5EX/5nNEtk4HGlosYcq9uMLBzfxeOf943dIVvB2ja6XBfucOH3Bg lH8N5CbBhjPrSqyDXqDd4M+mn9EJmuewxID8FTF0GytM9IH50NFwMMljhkNKEp5oEo gGwgzQxWfP/zBznneYYCSz42gH1ZXYq/k9kPpedI= Received: from [127.0.1.1] (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 307626083E for ; Fri, 9 Aug 2019 09:26:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1565342794; bh=yJtmqwkazmTUmp3v/t6QSbYWvO1zYppVH/fiy06Tkz4=; h=Subject:From:To:Date:In-Reply-To:References:From; b=S8oognZC+uzE5B+PQaxgQ/+El8k8/pmKAMezNsJH07D3AU5vMGWRpmnDLPg3x+S91 xyZZqoFx1NE31AHLrVUj/IXkozu6YEFlUhB0Ef6fttLvpH+t6KEMPSNJ4o/6s1SlG8 m04AF8kaLszFtk5MsoJClMu/d4OvVsXulo+vaVNM= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 307626083E Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Subject: [PATCH 04/15] ath11k: remove unused IEEE80211_VHTCAP defines From: Kalle Valo To: ath11k@lists.infradead.org Date: Fri, 09 Aug 2019 12:26:32 +0300 Message-ID: <156534279182.30736.14499654679081848241.stgit@x230> In-Reply-To: <156534276745.30736.11736417077894270794.stgit@x230> References: <156534276745.30736.11736417077894270794.stgit@x230> User-Agent: StGit/0.19 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190809_022636_157304_9BDEAD7A X-CRM114-Status: UNSURE ( 9.49 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "ath11k" Errors-To: ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP I think these should be in ieee80211.h. Also add a fixme comment for the two VHT MCS defines which are used. Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/mac.h | 50 +-------------------------------- 1 file changed, 1 insertion(+), 49 deletions(-) diff --git a/drivers/net/wireless/ath/ath11k/mac.h b/drivers/net/wireless/ath/ath11k/mac.h index 7ced4bc17c2e..29b42b145fc3 100644 --- a/drivers/net/wireless/ath/ath11k/mac.h +++ b/drivers/net/wireless/ath/ath11k/mac.h @@ -108,55 +108,7 @@ struct ath11k_generic_iter { WMI_VHT_CAP_RX_FIXED_ANT | \ WMI_VHT_CAP_TX_FIXED_ANT) -/* VHT capability flags */ -/* B0-B1 Maximum MPDU Length */ -#define IEEE80211_VHTCAP_MAX_MPDU_LEN_3839 0x00000000 -#define IEEE80211_VHTCAP_MAX_MPDU_LEN_7935 0x00000001 -#define IEEE80211_VHTCAP_MAX_MPDU_LEN_11454 0x00000002 - -/* B2-B3 Supported Channel Width */ -#define IEEE80211_VHTCAP_SUP_CHAN_WIDTH_80 0x00000000 -#define IEEE80211_VHTCAP_SUP_CHAN_WIDTH_160 0x00000004 -#define IEEE80211_VHTCAP_SUP_CHAN_WIDTH_80_160 0x00000008 -#define IEEE80211_VHTCAP_SUP_CHAN_WIDTH_S 2 - -#define IEEE80211_VHTCAP_RX_LDPC 0x00000010 -#define IEEE80211_VHTCAP_SHORTGI_80 0x00000020 -#define IEEE80211_VHTCAP_SHORTGI_160 0x00000040 -#define IEEE80211_VHTCAP_TX_STBC 0x00000080 -#define IEEE80211_VHTCAP_TX_STBC_S 7 - -#define IEEE80211_VHTCAP_RX_STBC 0x00000700 -#define IEEE80211_VHTCAP_RX_STBC_S 8 - -#define IEEE80211_VHTCAP_SU_BFORMER 0x00000800 -#define IEEE80211_VHTCAP_SU_BFORMER_S 11 -#define IEEE80211_VHTCAP_SU_BFORMEE 0x00001000 -#define IEEE80211_VHTCAP_SU_BFORMEE_S 12 - -#define IEEE80211_VHTCAP_BF_MAX_ANT 0x0000E000 -#define IEEE80211_VHTCAP_BF_MAX_ANT_S 13 - -#define IEEE80211_VHTCAP_STS_CAP_S 13 -#define IEEE80211_VHTCAP_STS_CAP_M 0x7 - -#define IEEE80211_VHTCAP_SOUND_DIM 0x00070000 -#define IEEE80211_VHTCAP_SOUND_DIM_S 16 - -#define IEEE80211_VHTCAP_MU_BFORMER 0x00080000 -#define IEEE80211_VHTCAP_MU_BFORMER_S 19 -#define IEEE80211_VHTCAP_MU_BFORMEE 0x00100000 -#define IEEE80211_VHTCAP_MU_BFORMEE_S 20 -#define IEEE80211_VHTCAP_TXOP_PS 0x00200000 -#define IEEE80211_VHTCAP_PLUS_HTC_VHT 0x00400000 - -#define IEEE80211_VHTCAP_MAX_AMPDU_LEN_FACTOR 13 -#define IEEE80211_VHTCAP_MAX_AMPDU_LEN_EXP 0x03800000 -#define IEEE80211_VHTCAP_MAX_AMPDU_LEN_EXP_S 23 - -#define IEEE80211_VHTCAP_LINK_ADAPT 0x0C000000 -#define IEEE80211_VHTCAP_RESERVED 0xF0000000 - +/* FIXME: should these be in ieee80211.h? */ #define IEEE80211_VHT_MCS_SUPPORT_0_11_MASK GENMASK(23, 16) #define IEEE80211_DISABLE_VHT_MCS_SUPPORT_0_11 BIT(24)