Re: [PATCH rtw-next 1/3] wifi: rtw88: free the reserved pages of an interface on firmware recovery

From: Mehmet Fide

Date: Fri Nov 13 2026 - 15:42:09 EST


On Fri, 13 Nov 2026, Luka Gejak wrote:
> Maybe rtw_fw_update_beacon_work() could skip the download while
> RTW_FLAG_RESTARTING is set? The reconfig downloads the beacon again for
> BSS_CHANGED_BEACON anyway.

On Fri, 13 Nov 2026, Zong-Zhe Yang wrote:
> How about adding a flag to indicate if this rtwvif has been init-ed or not ?
> If init-ed and rtw_ops_add_interface() again, call rtw_remove_rsvd_page() first.

Thank you both. I could reproduce it: with a test build that queues the
work right after rtw_enter_ips() in the recovery, v1 gives the "Should
not have an empty reserved page" warning on an RTL8822CE with an AP
interface.

I will take the RTW_FLAG_RESTARTING check for v2, as the flag already
covers the time from the reset to the end of the reconfiguration. With
it the same test build does not warn.

Best regards,
Mehmet