cfg80211_shu...l_interfaces(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– cfg80211_shutdown_all_interfaces β€” part one, bestie πŸ’–

okay so we're diving into cfg80211_shu...l_interfaces(9) β€” yeah that's the kernel API manual, section 9, and the name got a lil truncated in the header but you know her πŸŽ€ this is the glow-up version, come learn with me.


✨ NAME ✨

cfg80211_shutdown_all_interfaces β€” the function that shuts down all the interfaces on a wiphy. all of them. every last one. πŸ’…


🌸 SYNOPSIS 🌸

void cfg80211_shutdown_all_interfaces (struct wiphy *wiphy );

like, that's the whole signature. no return value, void, she doesn't give anything back 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • wiphy β€” the wiphy you wanna shut down. that's it, that's the argument. the wiphy in question. the one catching these hands πŸ”₯

πŸ’œ DESCRIPTION πŸ’œ

so here's the tea β˜• this function shuts down all the interfaces that belong to this wiphy β€” and it does that by calling dev_close (and treating non-netdev interfaces as needed). yes bestie, as needed, the non-netdev girlies get handled too. 🧚

now the important part, and I need you to actually listen to me on this one πŸ‘‘ β€” it shouldn't really be used unless there are some fatal device errors that really can't be recovered in any other way. like, this is the nuclear option, not a casual lil vibe check. it's giving last resort. it's giving "the device is gone and so are we." πŸ’€

⚠️ and the realest warning: callers must hold the RTNL and must be able to deal with callbacks into the driver while the function is running. no cap, that's non-negotiable. if you're not set up for driver callbacks mid-run, do not come crying to me 😭

that's part one bestie, there's more coming so don't go anywhere πŸ’–βœ¨

✨ SEE ALSO ✨

This SEE ALSO list is literally a whole festival lineup, and every single reference is below exactly as written β€” no cap, no skipping, no edits, because we do not gatekeep the lore πŸ’…βœ¨

okay so the roll call is still going and honestly at this point it's giving ✨ phone book ✨ β€” but every single one of these is a legit cross-reference, so we're listing them all, no skipping, no "etc." bestie πŸ’…






the NAN girlies said "don't forget us" and we would never 🫢



color-change squad, assemble 🌈



and yes, more NAN, because the NAN section of this header is lowkey enormous πŸ’€



and that's the whole list, bestie β€” every last cross-ref, accounted for, nothing dropped, we ate and left absolutely zero crumbs πŸ‘‘

okay real talk though: this page is huge because cfg80211 and ieee80211 are enormous, and the SEE ALSO section is basically the group chat member list. read the ones you actually need, don't try to memorize all sixty-three 😭

and that's a wrap on the whole page, bestie πŸŽ€βœ¨ it ships from ./include/net, dated October 2026, and it's filed under cfg80211_shu...l_interfaces(9) β€” go forth and configure your wireless interfaces, you absolute icon πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from