From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=211.75.126.72 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796179371; b=uacSADTzI9DX+qotCV7fmHFN162t5mZOYb2lewFpKfkVEyaGLQ2Cu8JvfIxAJVYoOvat 6ZxdZVbVE+N4B6VGvqFQXb6qbJGUKowv9QlDfofsIzbgZi+//AODbSBHIkE5I3iwaJQ4T QarNPrpHJS14w5w4/hlppQbw8hOL+c5mqvd2M7xb2yMyI+F1ncYmACk7Jasr3mEl6BegH gBkv5u5gZWGkHAfdmVIuMGUt4WgRKkJafFfZxODDTKHayiBWSyZIYJJQmcC7mzCK9Ge2c 0QX6CgtS4x/E2J0qoRQQ60TE1dQScGfVxuZ/AlPmPdsFSvPppUam4PZZD/A+yJpWsYg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796179371; h=DMARC-Filter:X-SpamFilter-By:DKIM-Signature:Received:Received: Received:Received:From:To:CC:Subject:Thread-Topic:Thread-Index:Date: Message-ID:References:In-Reply-To:Accept-Language:Content-Language: x-originating-ip:Content-Type:Content-Transfer-Encoding:MIME-Version; bh=OQ7fOc0L+d65sPlq1OaMX474a8//5WR33NG8Mg1mAFE=; b=jyuvr7Pp+e7iNeXELew83VPD2fl9kz96cV58shZ/YrgnRSHYmAi0kHmhF2mwPQ0NWuEK gO6XsTaQebzA9TqeKCBeSz5+emTZeVI2K0VB8DyFk6szTm3zWLBhaIBSiV+QZ2YQDpyQz nRWQiTP9smpsFMT/mE0v4v+iw87a4Yv99pnG1vIWQa8x8IAUWCmkKp5ug1zv4IQMRMipA AE3takJzJ4YCWHrM55QE6mduIQNGFEiqMq7a+6HmuTn4Ui+jWF6ne18o1rgg8/+q9Av5h in5H2iJdgsZg5f1k4WgQk0ILt6fVZTYXjTGenYFuURN0tHCtvC7pC0j5Vt2uuq0r1uA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; dkim=pass header.d=realtek.com header.i=@realtek.com header.a=rsa-sha256 header.s=dkim header.b="Qb7zgTw/"; arc=none smtp.remote-ip=211.75.126.72 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 840A8606A31A for ; Wed, 2 Dec 2026 02:42:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 840A8606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=realtek.com header.i=@realtek.com header.a=rsa-sha256 header.s=dkim header.b=Qb7zgTw/ X-SpamFilter-By: ArmorX SpamTrap 5.80 with qID 6B22ga5F3636569, This message is accepted by code: ctloc85258 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=realtek.com; s=dkim; t=1796179356; bh=OQ7fOc0L+d65sPlq1OaMX474a8//5WR33NG8Mg1mAFE=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=Qb7zgTw/ltyLJaOE3wN9lcKmmLTDAsJmxshvpiO6GdkfytAdfhDAef9zDSOai0GDy hwNokF1e4BG2kTI9oKVSldltZeMjHPFupJR1Q+JhnC4DMWz6yISZggm/UjsyCiNLRq bkDjDVEtIt1LVF/PR3GdRcJaUgZ6jhhQtiaT44eSTl3ytB5f+OgD/yYSEdZFXGhbgl hDN2MzGyBt2/MVfeSkciq6PXC73zwWuI/iig+/uGMPEft2g9+P9njMwnF9NTUTHHHz vEWMUSM8wdVVU4zU19bhUAe8NpwlIMKoCWPTyTIMjznNVw97mc2fjcqlufkBFIjIDz ZIO7FtNTD/07Q== Received: from mail.realtek.com (rtkexhmbs03.realtek.com.tw[10.21.1.53]) by rtits2.realtek.com.tw (8.15.2/3.29/5.94) with ESMTPS id 6B22ga5F3636569 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 2 Dec 2026 10:42:36 +0800 Received: from RTKEXHMBS05.realtek.com.tw (10.21.1.55) by RTKEXHMBS03.realtek.com.tw (10.21.1.53) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Wed, 2 Dec 2026 10:42:36 +0800 Received: from RTKEXHMBS06.realtek.com.tw (10.21.1.56) by RTKEXHMBS05.realtek.com.tw (10.21.1.55) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Wed, 2 Dec 2026 10:42:35 +0800 Received: from RTKEXHMBS06.realtek.com.tw ([fe80::eeeb:c765:ca73:5eef]) by RTKEXHMBS06.realtek.com.tw ([fe80::eeeb:c765:ca73:5eef%10]) with mapi id 15.02.2562.056; Wed, 2 Dec 2026 10:42:35 +0800 From: Ping-Ke Shih To: Ho Jie Feng CC: "linux-wireless@vger.kernel.org" , Bitterblue Smith , Luka Gejak Subject: RE: [PATCH rtw-next v5 7/7] wifi: rtw88: 8812a, 8821a: respect peer A-MPDU size limits Thread-Topic: [PATCH rtw-next v5 7/7] wifi: rtw88: 8812a, 8821a: respect peer A-MPDU size limits Thread-Index: AQHdfplLgVAB1KT0uU6izLYzrvCt4LdJEBwg Date: Wed, 2 Dec 2026 02:42:35 +0000 Message-ID: <16c1929d64574a2b9b753f088bcbbaa2@realtek.com> References: <20261127180034.1058591-1-hjf3108@gmail.com> <20261127180034.1058591-8-hjf3108@gmail.com> In-Reply-To: <20261127180034.1058591-8-hjf3108@gmail.com> Accept-Language: en-US, zh-TW Content-Language: zh-TW Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Ho Jie Feng wrote: > +static void rtw8812a_set_ampdu_factor(struct rtw_dev *rtwdev, u8 factor) > +{ > + factor =3D min_t(u8, factor, IEEE80211_VHT_MAX_AMPDU_128K); > + > + /* the vendor driver sets the undocumented BIT(31) */ Can you share the link? > + rtw_write32(rtwdev, REG_AMPDU_MAX_LENGTH, > + ((8192 << factor) - 1) | BIT(31)); > +} > +