]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: rtw89: Drop malformed AMPDU frames with abnormal PN
authorPo-Hao Huang <phhuang@realtek.com>
Tue, 10 Mar 2026 08:01:44 +0000 (16:01 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 16 Mar 2026 06:21:16 +0000 (14:21 +0800)
commitbda294ed0ed05ada2a832b19a55dd4a6fa72b1a1
treee316aff3ab4880961b6e10e9d6fee826da667cb2
parent829b89c2b08ff376eb4c5edc66363ea09ba99138
wifi: rtw89: Drop malformed AMPDU frames with abnormal PN

Fix connection issue caused by AMPDU frames with abnormal PN patterns
(out-of-order packets with correct MPDU sequence numbers but paired
with abnormal PN values, which is next PN of previous in-order packet).
This is causing packet drops, low throughput and disconnections. It is
observed in fields with some specific AP firmwares. Do this workaround for
better interoperability since some APs could never receive a proper FW
update.

Signed-off-by: Po-Hao Huang <phhuang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20260310080146.31113-12-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/mac80211.c
drivers/net/wireless/realtek/rtw89/util.h
drivers/net/wireless/realtek/rtw89/wow.c
drivers/net/wireless/realtek/rtw89/wow.h