Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp27400584rwd; Tue, 4 Jul 2023 02:22:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlGWVrUmrRx/hbtJ/Y3Nbow1EiuHkMHGmVrSlAdTtCW0+jCov2yV0cxoTO4PpWbVUuqE1OST X-Received: by 2002:a17:90a:558f:b0:263:129e:80ac with SMTP id c15-20020a17090a558f00b00263129e80acmr10311925pji.38.1688462552247; Tue, 04 Jul 2023 02:22:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688462552; cv=none; d=google.com; s=arc-20160816; b=nBYCEFtjBaqkO/XGVHqenn7pMeNmn/uyGLvOPdVFS+CJudFiHtIspdB5c3yHopHLzG P08i7uXo8oH6nlfOnZQm3kY2HgTmCLgOD3EGErqky5fxV/b80EdJtNr/8KQ0qyjp1fDk VBgpj6ek57Xqp/GaFnbVKCqVyIDdT/EajU5gBg9UDsZjr2dMv5x5JO9F9B5J9bB4mPV+ SfSMMmnGZul7OmuOAIZ5vLHqMgUUQoo5AIL9VnDJUcFr2Ot2qWD4kUh/8GpPUAodIUXm 66UqLyTY0PIVTHpB2L+qWI5aJEJBNSL7KseYs3GNpJlx/EzR5ToIJgdqOq0kYLrLvc9O JOfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=9lIfdybNfLzZfjeFz2mHctKCAs6xm0YYwJF3Ffdv1kY=; fh=L9oS+9iYY0SUEnoeQn6djLEZOKe2GTrgd5AOx7W/cBM=; b=Qt82O5U7DaHjB/lfX9AJdVYyHhsZznomcQ1a4jde8lXfiJ+6yxryIs4QI1zIT0Lppj KttYZU8VmnLMRYuTWXGBYkkJKmp1YVTZGnd7Hi79GaEONyEFmq+1Kv2ICp3Y/Bi4vE0U l6tOjrJiU/NIzXbQ/EfZlE/g4JY7H3JcnpbX24IgkiwobCIReYWwOOl1vNXsJtyk8URd BvtlRUoKuvqrJV4VJqJHdapuRerZVtasEj266xI4jYY4cgRdIRxPK3bpPRR2oaUd5cG3 krqV/lFWKZBbgGZRoI0F2tWzBWXUsXD2ZW4nrnPqHEezna0C+iicW9fp73b3pal7HUuz +t5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v22-20020a636116000000b0055bc4075c1dsi547140pgb.317.2023.07.04.02.22.19; Tue, 04 Jul 2023 02:22:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231449AbjGDJWB (ORCPT + 60 others); Tue, 4 Jul 2023 05:22:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231926AbjGDJVj (ORCPT ); Tue, 4 Jul 2023 05:21:39 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EF0D2172A; Tue, 4 Jul 2023 02:20:57 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 3649KCpM4007284, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.81/5.90) with ESMTPS id 3649KCpM4007284 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Tue, 4 Jul 2023 17:20:12 +0800 Received: from RTEXMBS03.realtek.com.tw (172.21.6.96) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.32; Tue, 4 Jul 2023 17:20:15 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS03.realtek.com.tw (172.21.6.96) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Tue, 4 Jul 2023 17:20:14 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::e138:e7f1:4709:ff4d]) by RTEXMBS04.realtek.com.tw ([fe80::e138:e7f1:4709:ff4d%5]) with mapi id 15.01.2375.007; Tue, 4 Jul 2023 17:20:14 +0800 From: Ping-Ke Shih To: Martin Blumenstingl CC: "linux-wireless@vger.kernel.org" , "Lukas F. Hartmann" , "linux-kernel@vger.kernel.org" , "tony0620emma@gmail.com" , "jernej.skrabec@gmail.com" Subject: RE: wifi: rtw88: question about SDIO RX aggregation limiting Thread-Topic: wifi: rtw88: question about SDIO RX aggregation limiting Thread-Index: AQHZnKKRatqDIe8IxUOv8mL1iw8+va+H/hkQgAoeggCAARZ68IAU90gAgAFFobA= Date: Tue, 4 Jul 2023 09:20:14 +0000 Message-ID: References: <9ab8cc85d4d440bfa63dcade4e4f9ecf@realtek.com> In-Reply-To: Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.69.188] x-kse-serverinfo: RTEXMBS03.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTWFydGluIEJsdW1lbnN0 aW5nbCA8bWFydGluLmJsdW1lbnN0aW5nbEBnb29nbGVtYWlsLmNvbT4NCj4gU2VudDogVHVlc2Rh eSwgSnVseSA0LCAyMDIzIDU6MjUgQU0NCj4gVG86IFBpbmctS2UgU2hpaCA8cGtzaGloQHJlYWx0 ZWsuY29tPg0KPiBDYzogbGludXgtd2lyZWxlc3NAdmdlci5rZXJuZWwub3JnOyBMdWthcyBGLiBI YXJ0bWFubiA8bHVrYXNAbW50cmUuY29tPjsgbGludXgta2VybmVsQHZnZXIua2VybmVsLm9yZzsN Cj4gdG9ueTA2MjBlbW1hQGdtYWlsLmNvbTsgamVybmVqLnNrcmFiZWNAZ21haWwuY29tDQo+IFN1 YmplY3Q6IFJlOiB3aWZpOiBydHc4ODogcXVlc3Rpb24gYWJvdXQgU0RJTyBSWCBhZ2dyZWdhdGlv biBsaW1pdGluZw0KPiANCj4gSGVsbG8gUGluZy1LZSwNCj4gDQo+IHNvcnJ5IGFnYWluIGZvciB0 aGUgbG9uZyB3YWl0aW5nIHRpbWUuIEknbGwgYmUgcXVpY2tlciBuZXh0IHRpbWUuDQo+IA0KPiBP biBUdWUsIEp1biAyMCwgMjAyMyBhdCA3OjI24oCvQU0gUGluZy1LZSBTaGloIDxw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JvbWlvKHJ0d3NkaW8tPnNkaW9fZnVuYywgYnVmLA0KLSAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgUlRXX1NESU9fQUREUl9SWF9SWDBGRl9HRU4ocnhhZGRyKSwgY291bnQpOw0KLSAg ICAgICBpZiAocmV0KQ0KLSAgICAgICAgICAgICAgIHJ0d193YXJuKHJ0d2RldiwNCi0gICAgICAg ICAgICAgICAgICAgICAgICAiRmFpbGVkIHRvIHJlYWQgJXp1IGJ5dGUocykgZnJvbSBTRElPIHBv cnQgMHglMDh4IiwNCi0gICAgICAgICAgICAgICAgICAgICAgICBjb3VudCwgcnhhZGRyKTsNCisg ICAgICAgd2hpbGUgKGNvdW50ID4gMCkgew0KKyAgICAgICAgICAgICAgIG4gPSBtaW4oaG9zdC0+ bWF4X3JlcV9zaXplLCBjb3VudCk7DQorDQorICAgICAgICAgICAgICAgcmV0ID0gc2Rpb19tZW1j cHlfZnJvbWlvKHJ0d3NkaW8tPnNkaW9fZnVuYywgYnVmLA0KKyAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICBSVFdfU0RJT19BRERSX1JYX1JYMEZGX0dFTihyeGFkZHIpLCBu KTsNCisgICAgICAgICAgICAgICBpZiAocmV0KQ0KKyAgICAgICAgICAgICAgICAgICAgICAgcnR3 X3dhcm4ocnR3ZGV2LA0KKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIkZhaWxlZCB0 byByZWFkICV6dSBieXRlKHMpIGZyb20gU0RJTyBwb3J0IDB4JTA4eCIsDQorICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICBuLCByeGFkZHIpOw0KKw0KKyAgICAgICAgICAgICAgIGNvdW50 IC09IG47DQorICAgICAgICAgICAgICAgYnVmICs9IG47DQorICAgICAgIH0NCisNCg0KICAgICAg ICBpZiAoYnVzX2NsYWltKQ0KICAgICAgICAgICAgICAgIHNkaW9fcmVsZWFzZV9ob3N0KHJ0d3Nk aW8tPnNkaW9fZnVuYyk7DQoNCg0KUGluZy1LZQ0KDQo=