Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp4324601ybe; Mon, 9 Sep 2019 07:42:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqwdAQJJxrD6RAkBEk7C+kXGHsNy7xgL0bDlZTdEgfW25UDiM8VNdsIYj+PXTo6QiHMF6WRg X-Received: by 2002:a17:906:8158:: with SMTP id z24mr19671421ejw.54.1568040173666; Mon, 09 Sep 2019 07:42:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568040173; cv=none; d=google.com; s=arc-20160816; b=QDzdRw+McFmDMpcSC3Mfj1znNQFtNASl2R4TOTTWqSEdreOy6Ds1iuh42rYi0SsCTM OlZzSpUJ2zDjgtjOgVfMo2T2cZ4uHk0ZTdBpQRIXYUjK57rKKYmrI746BDXE5VWwS71b Kj2RjyIE2hElP1/CbsBeXNUVmanA4MoKkRGw8bPO3RFCNF6FGIl+kIyaEudXsdakw5/I zgrP+zSjEI+mk0EcROfEdPiVBIULRSkj2yDjg9vYdTFb6Y3+Lk+A959RGLjsPYsfX6HW HqUZxp8NO6M0X/8Gzmoo34EHOSNZk6QGXZQnFaFlHl+MpBtnGzHGMTYRbM2z6ql3lICR g3Cg== 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=+7Oey82rvghmPVwmYmco3iNZYWxYm8HdZsKTY+q9l/E=; b=iCgTIi6yq0uNNboVXMUsj9Opn7pz+nzy+O+jMoRpf9F2BCY8cgvEYUttoW5JdG1Vts oWGO6K66Vk+LE/9KtXs/bLRl8hAZ0j6hk06oPCnPhKoz0ml11drEvt3rxhLlLACVYYSL NAp/qB3xrWIHS3X4alAg/m1grlD4JoV65BbQ5Wu1g7I2TC0ay0pMWaSEjxLV/Fx8HXBD rnLdNQ0Kmi6Bg+wPzDmgfM1cniLyCBtjydZnq8xwwpOB/e09lynd+quX4dDbe+K8/TRH AEUrsjOCoTprfA5SveCU4SYd+Q7+nLcCnFBNvv6oMYjkv868rQF1uCF1RjBGPTvMpr8L R60w== 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 m26si7598014eji.61.2019.09.09.07.42.29; Mon, 09 Sep 2019 07:42:53 -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 S1732274AbfIIHQc (ORCPT + 99 others); Mon, 9 Sep 2019 03:16:32 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:57965 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387409AbfIIHQ3 (ORCPT ); Mon, 9 Sep 2019 03:16:29 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID x897GN4E014378, 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 x897GN4E014378 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 9 Sep 2019 15:16:23 +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.468.0; Mon, 9 Sep 2019 15:16:23 +0800 From: To: CC: , Subject: [PATCH v2 8/8] rtw88: allows to receive AMSDU in AMPDU Date: Mon, 9 Sep 2019 15:16:11 +0800 Message-ID: <1568013371-21805-9-git-send-email-yhchuang@realtek.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1568013371-21805-1-git-send-email-yhchuang@realtek.com> References: <1568013371-21805-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 --- v1 -> v2 * no change 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