Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5281562ybh; Wed, 7 Aug 2019 03:41:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqwjoJrY2IcHcQPGTlBPm15B5/CVt2xyRwHVNASDZZcMF2rEpHzPzP/EtdmDd2c4HQXEGA8V X-Received: by 2002:a65:4505:: with SMTP id n5mr6419257pgq.301.1565174461495; Wed, 07 Aug 2019 03:41:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565174461; cv=none; d=google.com; s=arc-20160816; b=tg7OMSgPdXLPpbj3L3nLGkuREZoOCKEpUr49HfDRKeIE0HN2eV8DdVS/O8c1h79I1S gmgem66c4DoUZkxldjLkXu6Z/tCeBaQ/jyvJqtUx8f8bgOotw8MnejrOCYamVLKrbtWR 21PaB+gAadzSQStG8M0i/CaIZmGjoN3lumvt+mhdA9B8MVpMIMXFD6lwvwHxCH38nI7s zOjylrHsrRQVa0NZu83TOcAeU8rwnuZ3BMB8Cp+HBkL8Ik+Qx/8yQwrJ7MhaQ6Yzdzqa i90bUdSVZDB7+AFFH++fCx12ROBdPUJJUzlZH+yP6mtckxPwy16UxCk8R3dVHdP/CCv6 pEmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:authenticated-by; bh=wyY4IehwbmLOrKX4z1jMLj4PC2VcSXUJHZf763ooiuQ=; b=jpb3szgHyfYzcknLd4k6L5UiFdT5N7GFQksBfn39tPtufn4LHr/RtWmxj/djobxiXq QzEcEq/IAnoZ/ltbJvqyUp8kFybkoqWJV93s5uhxGTKf0R1C0B8KuXNyfYiovWi18SFS AvgfhxqJ0G/ZiOrM91kpJM7rPJq2FcMEIMlrCg0m79zzKjN76f07cFl8Nn2hp4f0wXiM BCOxF8QRctLp3r0bXgHIV8MWBcT+xOpYQ6NBMbxuSR1JfuQ/lcb2Bw9/d2vbh9lQpXih LX6ss2RGpqkFYCAYm6cTfHiq6lmp6sdSonS9I9xmZZH9r/l2woQLmr6697NhJ3NXZ8zj ucbQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-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 x12si31203570pgq.220.2019.08.07.03.40.39; Wed, 07 Aug 2019 03:41:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-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-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729488AbfHGKk2 (ORCPT + 99 others); Wed, 7 Aug 2019 06:40:28 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:56221 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728154AbfHGKk0 (ORCPT ); Wed, 7 Aug 2019 06:40:26 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID x77AeIAJ010072, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (RTITCASV01.realtek.com.tw[172.21.6.18]) by rtits2.realtek.com.tw (8.15.2/2.57/5.78) with ESMTPS id x77AeIAJ010072 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 7 Aug 2019 18:40:18 +0800 Received: from localhost.localdomain (172.21.68.126) by RTITCASV01.realtek.com.tw (172.21.6.18) with Microsoft SMTP Server id 14.3.439.0; Wed, 7 Aug 2019 18:40:17 +0800 From: To: CC: , , Subject: [PATCH 8/8] rtw88: allows to receive AMSDU in AMPDU Date: Wed, 7 Aug 2019 18:40:05 +0800 Message-ID: <1565174405-2689-9-git-send-email-yhchuang@realtek.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1565174405-2689-1-git-send-email-yhchuang@realtek.com> References: <1565174405-2689-1-git-send-email-yhchuang@realtek.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.21.68.126] Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Yan-Hsuan Chuang The hardware has enough buffer to receive like 8K for an MPDU. So tell mac80211 that we can receive AMSDU in AMPDU. Signed-off-by: Yan-Hsuan Chuang --- drivers/net/wireless/realtek/rtw88/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/realtek/rtw88/main.c b/drivers/net/wireless/realtek/rtw88/main.c index e5a6bc0..fc8f6213 100644 --- a/drivers/net/wireless/realtek/rtw88/main.c +++ b/drivers/net/wireless/realtek/rtw88/main.c @@ -1236,6 +1236,7 @@ int rtw_register_hw(struct rtw_dev *rtwdev, struct ieee80211_hw *hw) ieee80211_hw_set(hw, SUPPORTS_PS); ieee80211_hw_set(hw, SUPPORTS_DYNAMIC_PS); ieee80211_hw_set(hw, SUPPORT_FAST_XMIT); + ieee80211_hw_set(hw, SUPPORTS_AMSDU_IN_AMPDU); hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | BIT(NL80211_IFTYPE_AP) | -- 2.7.4