From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.53 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796209085; b=wECok7nWQIPixZKM5fYrO4JN9Mkx/rxo+Ltoprx+ye47TpO6N2LaQ5OjJWlxv9Za/9MA zXJaTHyp7KKRhTWUuU+uN6GrpSs6Q3nm5XaFMfMooSgVUrB3Cmt7XUBfnLFWicS46wMeW wDTkZaR5HUY4kpwKoehLO0rcdcsC2nKcieSyYESCeZI1AI1mxjezHZgKswFzgblKJn8AS ArNMVsdKKUHG7ZqO1wtxiV5XGhku2iNFYBFU0TGwtrPv8N9c6DPamIqVyV9LbvAElRdox +DlcOOk+fAXfOcg+X/tWbkQl4XzumqG9nHoZqrxvt5xbE02bqFMt2PIf2kl0cDBeIRA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796209085; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:MIME-Version: Content-Transfer-Encoding; bh=VH9Tm/T6XxeUwQo6lzPGI+HwxJ1tH468vBNBT5k/V3U=; b=2KYD53EB8IfRD8iv1IBbk+mzTSwbGTNPVNP55W1OwxYU7QWAeSpJH9NcK2jS3a1+ewcG L2uZV7ZoDAv93CuK2O2f83isRHt8SQzXruUSzwEi4Am2OH62I+bGzdft+5SJoz0DEBSKj WOg946gtVK9nV85u7TIQvxcaRIEu2YXHUm+zT5U5wHdGxvf7R4jYz5+Npes1heEa/Nvg6 reX0JImMZ3241GX0aQX3AGNCy/4MqN+pjLWbvoGA6JA4PVnD/0uWZ3MyOkgENesaM8P2J WvrmOsSkpWIa7bgpw0QsMw3OtS70bqug8tSlRuSffPG0KwYg79nfKcELphAXlF23uKA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=ww5K96nc; arc=none smtp.remote-ip=209.85.128.53 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C64B8606A32C for ; Wed, 2 Dec 2026 10:58:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C64B8606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=ww5K96nc Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-49d05d51553so88171455e9.2 for ; Wed, 02 Dec 2026 02:58:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796209082; x=1796813882; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=VH9Tm/T6XxeUwQo6lzPGI+HwxJ1tH468vBNBT5k/V3U=; b=ww5K96ncJ7Jc9D9+f+lngwvGAtt4EudE5lDCs7cPuGFIp0RVLp4RACGji0vv+lEKdb hYFCr0lXvWcVDpU5C3KzpZZyUBEtWN53BlZCYk+RErrqtg/BDVtXlKba+Kqm5l0gKzfb T1ZGhuGOh1E2Ilq2Qvyxw67i9g5oLlFDhucmJmwZtJyqEruaJhKchaOfMpIosn1/aBQi ywE7+M+Q5IY6pk9ErWKz5xrqfJT8hSqGsVl2L3aqlTFVoy8lSAstY2E0G7U9m/LEFOXy 8+mgNkZk8MTo0qKdUJQ5Khx8h2KpEK13tJAKDV8g0xA1dSBGtqnh5DB6yxfyh1Hoe+fR eEFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796209082; x=1796813882; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=VH9Tm/T6XxeUwQo6lzPGI+HwxJ1tH468vBNBT5k/V3U=; b=W7O/SqULqWjZGl6/4YkPTvsdAeUUGgPpSwjGqbRaLiAcLahSaD1n5CHDp+kf22qBhz +RDCfSLqTi+nseq1zz2q5AGFa7BGqx+TvHbS+mYUSsyOSt5rvR3ObfNafZLK+xGHWYvm dcjPUcXAMvFH+oJPHlgObZl5dJVp/uObUgwPKScjXhX7x2g/T272xcqHR6EQX+UMFkyB 7fq16EwXkZ9dBPoEh0pLYaX0J9lCwY6jwNXkmqmhCHEPAulWXprD0AKh9cUHyW/5/n9s tyxh24xPa9b4XDr+RLtyqQY1ixP82696PTI3Uv0Pmw5p3cEf6sSSa5bk++60U+/Ve92y 3kiA== X-Forwarded-Encrypted: i=1; AL+hErEuqKmBOvqPm3+4ycxRqaxAC75D+gchK1oq8TLiIk1zZq0zCLgJrnNq1ZpQYiWGQ6yAX3HJDd5OuOjiLWw4ew==@vger.kernel.org X-Gm-Message-State: APuU4Z8XOH2T/sTSWEfyceQYfCm9WDhvUBahYArGMa8xSos5iPyS+/wR D05s0+hSU9mjDMIFji0xihdIaEpjKlolzgc/0d88MOzxOSG+Ypi1NHTi X-Gm-Gg: AZFdTZdU59XzGFrj4bgC3A2Nm4rhXYE4ISnnPs553ODEHhzU2SFDHPEgH3kpP4l3g5W k/7YOJWsMYa2kbLiMmX+lRR9mKkQ/khSFvoUFqr9h2TjHFvMR6mtAVGJntYxQrOKDH+B3mcz1pC ZGTAHBcmS5dJM5LFByCr+R98yBgnAIIsxRNys1OZPuQ4/swTYKl/Dvz4ep7pafSMHCkg5Dho3Cs ePHxRDvmkCbJM5eqyikNZoN1z5GtgTZUrBus/+FxOPh6h9AxXPl7sM0wVBFrb0mT1+Rlh8x5Vuf zML7xFr2P+5wdUq2Db1z26+skmJcyNQ7bNHlL0MsabLyJmFaGghc+OEVt504vMty7b/l/DeXm04 gf5quFfhLh4nd74iX7jor6aP+XXHusaF2Ub1Zl2pYtHLPbA7uekwZV8PENMyqFqFC8jfNa/7Ibx VUSwjqDyEy1cevoyp7nKw9OHz+qv2Mlw/JMuOEZJOsH/1in+0Hp6WQ682Sd7llg+aLZwpSGxosK YDkm+piG+yfrUTmbaGE/zdXdsz4rh6eX7Y+CbCgPBB5T7m4VAlKECmb25cmzg1gpH8pdmW/7pTw 70DpwVA/j/GmgGUYwbCa7DzGyiIYsgOu85U= X-Received: by 2002:a05:600c:a08e:b0:4bb:647d:dabe with SMTP id 5b1f17b1804b1-4bb887c3afamr838579595e9.3.1796209082011; Wed, 02 Dec 2026 02:58:02 -0800 (PST) Received: from deb05.proceq.com ([213.160.61.66]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb88402ce9sm902211745e9.0.2026.12.02.02.58.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 02:58:01 -0800 (PST) From: Mehmet Fide To: Ping-Ke Shih Cc: Jes Sorensen , Martin Kaistra , Kalle Valo , Taehee Yoo , Andrea Merello , Bitterblue Smith , =?UTF-8?q?Georg=20M=C3=BCller?= , Shreyansh Khajanchi , linux-wireless@vger.kernel.org, mehmet.fide@screeningeagle.com Subject: [PATCH rtw-next v2 0/2] wifi: rtl8xxxu: A-MPDU sessions per station, FCS Date: Wed, 2 Dec 2026 11:57:58 +0100 Message-ID: <20261202105800.2584278-1-mehmet.fide@gmail.com> X-Mailer: git-send-email 2.56.0 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 Content-Transfer-Encoding: 8bit From: Mehmet Fide Two patches found while testing the RTL8188EU as an access point. The AP mode series for the 8188e will follow on top of them. 1 keeps the TX block ack sessions per station. They were per device, so in AP mode only the first station got a block ack session, and the other stations got aggregated frames without one. 2 lets every chip append the FCS to received frames. Without it the 8188e reports some MPDUs of an A-MPDU 4 bytes short, and with CCMP they lose 4 bytes of payload. This happens in station mode too. Tested with an RTL8188EU, rtl8xxxu from rtw-next: as a WPA2 station of an MT7921AU and of an RTL8822BU AP, as an AP for nine stations with the AP mode series on top, and as a monitor. I have no other rtl8xxxu chip, so both patches ran on the RTL8188EU only. With RTS for an A-MPDU only, the station got the same TCP throughput as with v1, 11/4.9 against 10.7/4.6 Mbit/s up/down (medians of eight runs), and the nine stations of the AP 6.9 to 9.1 against 6.8 to 7.6 Mbit/s in total (three runs each). Patch 2 applies to 6.12.y and later. 6.6.y still has the old file names and needs a separate backport. v2: - 1/2: no Fixes tag, AP mode is a new feature (Ping-Ke) - 1/2: ampdu_enable is set only for a frame marked with IEEE80211_TX_CTL_AMPDU, so RTS is on for an A-MPDU only, as in the vendor drivers; the commented out check is gone (Ping-Ke) - 1/2: the throughput numbers are gone; they came from single runs that three runs each on the current rtw-next did not repeat - 2/2: every chip appends the FCS, and RX_INCLUDES_FCS lets mac80211 remove it, so a monitor interface gets it too (Bitterblue) - 2/2: the v1 message said that the vendor driver appends the FCS; it does so only in monitor mode - 2/2: Closes tag for the report of 2023 - rebased on rtw-next Mehmet Fide (2): wifi: rtl8xxxu: keep the A-MPDU session state per station wifi: rtl8xxxu: append the FCS to received frames drivers/net/wireless/realtek/rtl8xxxu/core.c | 31 +++++++++---------- .../net/wireless/realtek/rtl8xxxu/rtl8xxxu.h | 3 +- 2 files changed, 15 insertions(+), 19 deletions(-) base-commit: f496c65cc2870f2342ff37736dd31d0748588c72 -- 2.56.0