]> Gentwo Git Trees - linux/.git/commit
wifi: rtw89: limit the PPDU length for VHT rate to 0x40000
authorChia-Yuan Li <leo.li@realtek.com>
Thu, 15 Aug 2024 13:40:54 +0000 (21:40 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Thu, 22 Aug 2024 02:14:54 +0000 (10:14 +0800)
commit124410976bf807e76c45e36685ed8bf959229545
treed3309c15e43ef710f9ea1bc24173b339e6666923
parenta3f00afc250aac2a4ed04828b9ec27278aebfe46
wifi: rtw89: limit the PPDU length for VHT rate to 0x40000

If the PPDU length for VHT rate exceeds 0x40000, calculating the PSDU
length will overflow. TMAC will determine the length to be too small and
as a result, all packets will be sent as ZLD (Zero Length Delimiter).

Fixes: 5f7e92c59b8e ("wifi: rtw89: 8852b: set AMSDU limit to 5000")
Signed-off-by: Chia-Yuan Li <leo.li@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20240815134054.44649-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/mac.c
drivers/net/wireless/realtek/rtw89/reg.h