wifi: rtw88: backport 737e980e1298 and f24d0d8c3cd7 to 6.18.y and 6.12.y
Hello,
please consider applying the following two rtw88 commits to the stable trees noted below. Both fix user-visible breakage of USB adapters running as an access point, both are small and self-contained, and neither carries a Cc: stable tag:
737e980e1298 ("wifi: rtw88: TX QOS Null data the same way as Null data")
for 6.18.y and 6.12.y. It was merged in v7.1, so 7.1.y and 7.2.y already have it, and it applies to both trees unmodified. It does not apply to 6.6.y as is, only because the lines around the changed one differ there; the changed line itself is identical.
f24d0d8c3cd7 ("wifi: rtw88: Fix the random "error beacon valid" messages
for USB")
for 6.12.y. It was merged in v6.16 and 6.18.y already has it. It applies unmodified, to 6.6.y as well should you want it there.
The setup is a Turris Omnia (armv7, mvebu) running OpenWrt 24.10 with mac80211 from backports 6.12.96, a TP-Link Archer T2U v3 (RTL8811AU) and an Archer T4U v3 (RTL8812BU), both as 2.4 GHz APs serving home automation clients that spend most of their time in power save.
f24d0d8c3cd7
Without it the driver logs
rtw_8821au 2-1:1.0: error beacon valid
rtw_8821au 2-1:1.0: failed to download drv rsvd page
rtw_8821au 2-1:1.0: failed to download beacon526 times over 12 hours of uptime, roughly one every 82 seconds. The driver mutex is held for the duration of the failing poll. With the commit applied on top of 6.12.96 the messages stopped completely, with the same clients connected and the same traffic.
737e980e1298
Without it the driver logs
rtw_8822bu 3-1:1.0: failed to get tx report from firmware
every one to three seconds, and stations are dropped with
hostapd: phy7-ap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
hostapd polls an idle station with a Null frame and uses the TX status to determine whether the station responded, so a purged status is indistinguishable from a station that did not answer. I have not instrumented the link between the two, but they appear together here and the driver does drop exactly those frames.
This is my first request to the stable team, so please tell me if the format or the amount of detail is not what you want.
Thanks,
Josef Schlehofer
Quoted 5 lines
737e980e1298("wifi: rtw88: TX QOS Null data the same way as Null data")
for 6.18.y and 6.12.y. It was merged in v7.1, so 7.1.y and 7.2.y already have it, and it applies to both trees unmodified. It does not apply to 6.6.y as is, only because the lines around the changed one differ there; the changed line itself is identical.
Queued for 6.18, 6.12 and 6.6, thanks. Your reading of 6.6 is right: only the surrounding context differs, so the three way merge puts the change on the intended line and it went in there too.
Quoted 4 lines
f24d0d8c3cd7("wifi: rtw88: Fix the random "error beacon valid" messages
for USB")
for 6.12.y. It was merged in v6.16 and 6.18.y already has it. It applies unmodified, to 6.6.y as well should you want it there.
Queued for 6.12 and 6.6, thanks.
Signature · 2 lines
Thanks, Sasha