From patchwork Mon Jul 3 18:40:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 9823807 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.web.codeaurora.org (Postfix) with ESMTP id 5BF79604D9 for ; Mon, 3 Jul 2017 18:40:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 510DE2856D for ; Mon, 3 Jul 2017 18:40:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 458D3285EF; Mon, 3 Jul 2017 18:40:53 +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=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E35032856D for ; Mon, 3 Jul 2017 18:40:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754180AbdGCSku (ORCPT ); Mon, 3 Jul 2017 14:40:50 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:32899 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753570AbdGCSkr (ORCPT ); Mon, 3 Jul 2017 14:40:47 -0400 Received: by mail-oi0-f68.google.com with SMTP id f134so12887969oig.0 for ; Mon, 03 Jul 2017 11:40:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=f/bOb8OFQSWvXCQmf33kfpOHeLT2XYDUvmFio7nmpRg=; b=c6ueyKM15UHf1C1e+38KJN0TTJpooLQv3LhwisaaGEXgqjUoVcBFNViC9vql45sPbF W3LtBDF3pMc4pbftM6x3VraAJm99YhHDGrYiD3/9VkfrklGZTRfPTJe8UUaZsihMOdwG HoK+mxQfEthrGuVSeTkTOY6zst53yc157R8uZBjfUXsEkLUCYJQ2Y0gQ1mdhk1kIkpTM w9s8M9USoft6LdzDHwQVkaVVEp0xAYDiR5wf/vMI1JT2MA21tscpP80PjOE01g/qDhb4 X1i1Iz1VJnb4AUvISImHEf64BRN/wZ1MD35t7CI/5aUBIv5mi+LSviIBKTrYRaMMkeV0 q7gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=f/bOb8OFQSWvXCQmf33kfpOHeLT2XYDUvmFio7nmpRg=; b=eGq5Ovr3c6O+bfXmtXKgzlev3sEXru2Qe6tKsIXa5W51xYGhkB/zWLtuFiqcWoqO2k coRqXwpOd7EJqE8lac3F1I02tQxYpeYCpdDO5a53bYPdySw6JwnJJOzylPhzmjZWT65n tm6sfUPWXwORAWS+GX0IXuxiLtIHbB0nzqLgBsyFYuqrrv6yHJp+otWa0vs6d+q+5F/I uFfl33BwvOEfAkUbbjnVo7PaO/yH3+q+K0IXcY5C9EsFin0uIdQal8wSq31XysA+7HoO Dow8807tgELCcWu+mmP1vZqtM8bHlVoAR1A12kufrXC7djYNSOxtR84GnDc4Mh/m5oFQ N/Gg== X-Gm-Message-State: AKS2vOzTaZoN7CAeWd3tueFWOiyc3kjZ/Optkw26lfMYjWsuCk6RFiIW cRNMcq4OMTAcSIgl X-Received: by 10.202.81.138 with SMTP id f132mr21125284oib.94.1499107246480; Mon, 03 Jul 2017 11:40:46 -0700 (PDT) Received: from linux-4v1g.suse (cpe-24-31-249-175.kc.res.rr.com. [24.31.249.175]) by smtp.gmail.com with ESMTPSA id o2sm14641309oik.16.2017.07.03.11.40.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Jul 2017 11:40:46 -0700 (PDT) From: Larry Finger To: kvalo@codeaurora.org Cc: linux-wireless@vger.kernel.org, Ping-Ke Shih , Larry Finger , Yan-Hsuan Chuang , Birming Chiu , Shaofu , Steven Ting Subject: [PATCH 02/11] rtlwifi: Fix MAX MPDU of VHT capability Date: Mon, 3 Jul 2017 13:40:29 -0500 Message-Id: <20170703184038.24669-3-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20170703184038.24669-1-Larry.Finger@lwfinger.net> References: <20170703184038.24669-1-Larry.Finger@lwfinger.net> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ping-Ke Shih We must choose only one of VHT_CAP among IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_3895, IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_7991 and IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_11454. Signed-off-by: Ping-Ke Shih Signed-off-by: Larry Finger Cc: Yan-Hsuan Chuang Cc: Birming Chiu Cc: Shaofu Cc: Steven Ting --- drivers/net/wireless/realtek/rtlwifi/base.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/base.c b/drivers/net/wireless/realtek/rtlwifi/base.c index 40c6fbc05c14..40e281273a55 100644 --- a/drivers/net/wireless/realtek/rtlwifi/base.c +++ b/drivers/net/wireless/realtek/rtlwifi/base.c @@ -249,8 +249,6 @@ static void _rtl_init_hw_vht_capab(struct ieee80211_hw *hw, vht_cap->vht_supported = true; vht_cap->cap = - IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_3895 | - IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_7991 | IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_11454 | IEEE80211_VHT_CAP_SHORT_GI_80 | IEEE80211_VHT_CAP_TXSTBC | @@ -283,8 +281,6 @@ static void _rtl_init_hw_vht_capab(struct ieee80211_hw *hw, vht_cap->vht_supported = true; vht_cap->cap = - IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_3895 | - IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_7991 | IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_11454 | IEEE80211_VHT_CAP_SHORT_GI_80 | IEEE80211_VHT_CAP_TXSTBC |