[PATCH v2 1/3] wifi: ath12k: fix MLO station firmware crash recovery

Johannes Berg johannes at sipsolutions.net
Tue Oct 20 01:39:46 PDT 2026


On Tue, 2026-10-20 at 16:37 +0800, Baochen Qiang wrote:
> > 
> > There might be a chance to disentangle the RTNL from this given the work
> > I did recently on disentangling it from cfg80211, but then on recovery
> > *failure* we have a problem with cfg80211_shutdown_all_interfaces().
> 
> Hmm, I wonder whether the restart work could take rtnl only around
> cfg80211_shutdown_all_interfaces(). From a quick look,
> ieee80211_reconfig() itself mostly only needs the wiphy mutex, except
> ieee80211_add_virtual_monitor(), which asserts RTNL. Though any rtnl holder that then
> needs this wiphy would still end up stalling everyone while the recovery runs.

No, it's not that simple - it would have to drop the wiphy mutex to
acquire RTNL, but then userspace can come inbetween and use the failed
device.

johannes



More information about the ath12k mailing list