From patchwork Mon Jul 17 15:09:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 9845423 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 B2C6960386 for ; Mon, 17 Jul 2017 15:10:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A5A7427CF9 for ; Mon, 17 Jul 2017 15:10:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9A86F28405; Mon, 17 Jul 2017 15:10:11 +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 5062C27CF9 for ; Mon, 17 Jul 2017 15:10:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751356AbdGQPKG (ORCPT ); Mon, 17 Jul 2017 11:10:06 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:33011 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751278AbdGQPKE (ORCPT ); Mon, 17 Jul 2017 11:10:04 -0400 Received: by mail-oi0-f68.google.com with SMTP id k186so2558377oib.0 for ; Mon, 17 Jul 2017 08:10:04 -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=k4xOGrHJX4iHMBLLuX/CSYCio1Faz4t6YlnCOAr8aGc=; b=C3s6oarP2tOyuEJq26qhXV2rtMvPzRrku499nkZVn344+M37IuKKJG1qQ9CJ+ZS9/H jfjcIYL1N0QpF5C6lLrZDbut9XN+ZO9J41MtR6eqw8SBOINt6SBV0moKUE8oDLgZyiBG 1n9yxQpKTFX9mcyxEZFv28AmTi4l+5jn1p0g2oWGgPEAxSqVTPXRM5HJ7e+SFrmn2tGg 9NpAJXf2fOKcTdvMbtxA/hOR2Zn7FUl4a/Zn+megGUtiMA+RpIO6zz56KO2O7PV9RpWO NQxBE5SsssHJxAPQBDLadrbnBR50V7YVBnva/T7Hrd4EcgAcRYKTHTziQrYaxjZ4WkGW dYTg== 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=k4xOGrHJX4iHMBLLuX/CSYCio1Faz4t6YlnCOAr8aGc=; b=hbqWkUVYlxnPert2qFvgkaH9BNx4GcLN58Al/fbBsYf/j8IElkXsaR4dsVAtt3i0xT R6f6tM10BmpDoxZUHqMZpLsLQ0qUjP637Zsq8VEMTSZnxw5Eu2qjYwqCwrtZvSeVcOoC lib668E9J1NxqWYdc7bFvRRmzrKpE7aqJO+MEGPJDcj9aEq1V5jxZa2kdycMSYUo5WKP srUijK28nkWROOjDBW/Nr925IdpN2K27qBwAQ45BJ8MDcf849JzpxAOL8hVi7bi2gA9X FJB7/BTMg6njiiGOoa+yzrBZUd+0A0F4WHQQkjF/9jAgMdduGtw6uXsP5gPF3ez/XSwg EQWA== X-Gm-Message-State: AIVw11011EdHlDqqVfFrpsU0iyoFKXxM+maBe6Gk1OuLsVYSvQU4n48a Bmi8WaVDOhj2iA== X-Received: by 10.202.237.215 with SMTP id l206mr14684270oih.167.1500304204298; Mon, 17 Jul 2017 08:10:04 -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 p65sm29370656oie.8.2017.07.17.08.10.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Jul 2017 08:10:03 -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 v2 02/11] rtlwifi: Fix MAX MPDU of VHT capability Date: Mon, 17 Jul 2017 10:09:45 -0500 Message-Id: <20170717150954.1441-3-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20170717150954.1441-1-Larry.Finger@lwfinger.net> References: <20170717150954.1441-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 --- v2 - no changes --- 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 883e29e96edc..0f36594da76c 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 |