MAC80211 WORKQUEUE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– mac80211 workqueue β€” manual page (9) πŸ’–

okay so bestie, welcome to the mac80211 workqueue page (section 9, Kernel API Manual) β€” this one is short but it has rules, and we respect the rules. πŸ’…

mac80211 provides its own workqueue for drivers and internal mac80211 use. It is a single threaded workqueue, and it can only be accessed by helpers for sanity checking. That's the whole access policy, no cap.

If you're a driver, you must ensure all work added onto the mac80211 workqueue is cancelled on the driver stop callback. Like, actually cancelled β€” this is not a vibe-you-can-skip situation. 😭

mac80211 will flush the workqueue upon interface removal and during suspend. So those moments are handled, but your own cleanup still matters. ✨

⚠️ All work performed on the mac80211 workqueue must not acquire the RTNL lock. Periodt. Do not do it, not even a tiny bit.

🌸 SEE ALSO 🌸

The whole entourage, every single reference, no cuts β€” because y'all know I would never leave one out:

mwah πŸ’‹ β€” this page lives in the ./include/net source tree, dated October 2026.

πŸ“¦ where this page comes from