Re: [PATCH rtw-next v3 1/2] wifi: rtw88: 8822c: filter hardware-handled control frames on SDIO

From: Luka Gejak

Date: Tue Nov 17 2026 - 00:43:36 EST


On November 16, 2026 9:57:38 PM GMT+01:00, Leonard Lausen
<leonard@xxxxxxxxx> wrote:
>RTL8822C forwards every control-frame subtype to the host by default.
>ACK, Block Ack, RTS and CTS frames are handled by hardware, but forwarding
>them also adds small SDIO transfers to the data path.
>
>Clear these four subtypes from the normal SDIO RX filter, retaining BAR,
>PS-Poll and the remaining subtypes. Cache the current FIF_CONTROL request
>separately from that default, using the full requested flags even when
>changed_flags does not contain FIF_CONTROL.
>
>Use a shared writer in filter configuration, every chip initializer and
>both beamforming paths. This keeps the monitor override across IPS wake,
>MAC reinitialization and beamforming, while removing the request restores
>the current normal filter.
>
>Limit the reduced default to SDIO, where profiling identified this
>overhead. PCIe and USB receive paths have not been tested with it.
>FriendlyElec's RTL8822CS driver also filters control frames at startup;
>this change retains additional subtypes for mac80211.
>
>Link: https://github.com/friendlyarm/rtl8822cs/blob/c8b944a34bba2116fcdb060362bde40242bb87e5/hal/rtl8822c/rtl8822c_halinit.c
>Suggested-by: Luka Gejak <luka.gejak@xxxxxxxxx>
>Signed-off-by: Leonard Lausen <leonard@xxxxxxxxx>
>---

Reviewed-by: Luka Gejak <luka.gejak@xxxxxxxxx>

Best regards,
Luka Gejak