From patchwork Fri Sep 29 19:47:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 9978583 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 4E41C60329 for ; Fri, 29 Sep 2017 19:48:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3F7AE298AD for ; Fri, 29 Sep 2017 19:48:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 332E4298AF; Fri, 29 Sep 2017 19:48:12 +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=-4.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID, URIBL_BLACK 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 57993298AD for ; Fri, 29 Sep 2017 19:48:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752478AbdI2TsK (ORCPT ); Fri, 29 Sep 2017 15:48:10 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:34666 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752405AbdI2TsI (ORCPT ); Fri, 29 Sep 2017 15:48:08 -0400 Received: by mail-oi0-f67.google.com with SMTP id l81so292678oib.1 for ; Fri, 29 Sep 2017 12:48:08 -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=05YxXEwvd2TCXdDZgS1SXspgFOcwTEqf/gXOFp7PxE8=; b=fAf5MKhKv995SDSKK1RFdKHX7ele3QLW+0M1tFP7v9h8NZb+N3fRUrj9/Y9RGhll3b cpupCxHQspKkKZZB0o16uWSBvg4MvaOZb5LTTRERNiCGPTFnl3+C/AVDNrCO7ptQIRH8 MjeH0UYzemtJSbq/kMj7WIsR9FMBeBPjZ4LU+DOZoAh8TNK66EwpmLHAWjTOD0KuOZ6y OJbOI3PylWIe2zFOfZFFrzOQOAXlod/hV2Bu8Y7QE+jWTH1ixyMEknLLt+EDN8K0axum IugXG2BVRfUaJoVCZvNzLHvUlFP/XMeYMrMSzvZAGYn7Q1dcJgKdUVD3APGa30N9/T3c DqMg== 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=05YxXEwvd2TCXdDZgS1SXspgFOcwTEqf/gXOFp7PxE8=; b=GXcmKNdYouhQmDmZdJP9p1sIyJ/crCHycA9O/0T6mgHvrwTNja6vGUvzW+68RLCEW5 Hs0ZzPbDIejLz6RaZ2JR/nmMtOt83YtTbwYviAKSAfov3/z72Zlq3RTVwxAZRoiQvr/e IYzivm9mD94GGnpt4w6qcl9Fl3YjYU7zgk/vMjJea7g1Rd76JhjUvAkLUHLrjVYMy5sN dofAHmf+zbvP9t3xuCWKeWYTERbmiik0oSyB1RzgtkjgJ0GhyQvTiFu21hygVAn6efB0 kh1RYZb+Mlqw5vnLvSymhYEXlX6FFFA04nCnvds2cd5VF6KqpxjHWOYZL0CaO72bJfdS xRAw== X-Gm-Message-State: AMCzsaU8f6l+4NSvyB9kiRlEw2oXKaL/Xntk3VcC0alfxxpbcySU4aNX 4H37KXWVx7LGw2tn6jGF3KM= X-Google-Smtp-Source: AOwi7QDPQ8lzJ9aZ8p1DYURvHKWg4ImEfL6xoJReYpS12QlsIf3UWAnOLfQ2SS67yVK6qjPzN76Cgg== X-Received: by 10.157.26.91 with SMTP id u27mr3529339otu.439.1506714488381; Fri, 29 Sep 2017 12:48:08 -0700 (PDT) Received: from Larrylap.localdomain (cpe-24-31-251-255.kc.res.rr.com. [24.31.251.255]) by smtp.gmail.com with ESMTPSA id v14sm2311062oif.39.2017.09.29.12.48.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Sep 2017 12:48:07 -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 01/10] rtlwifi: Fix MAX MPDU of VHT capability Date: Fri, 29 Sep 2017 14:47:51 -0500 Message-Id: <20170929194800.15617-2-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170929194800.15617-1-Larry.Finger@lwfinger.net> References: <20170929194800.15617-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 ea18aa7afecb..fcf6e31d0fb9 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 |