set_wiphy_dev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– set_wiphy_dev(9) πŸ’–

okay so this is from the Kernel API Manual bestie, section 9 β€” the driver-dev chapter of the kernel lore. it's a tiny little function but it's doing Real Work, so let's get into it 🫢


✨ NAME ✨

set_wiphy_dev β€” sets the device pointer for a wiphy, that's literally it, that's the whole job πŸ’…


🌸 SYNOPSIS 🌸

void set_wiphy_dev (struct wiphy *wiphy , struct device *dev );

returns nothing (void, so don't go looking for a return value, it's giving minimalism) and takes exactly two args. periodt.


πŸŽ€ ARGUMENTS πŸŽ€

  • wiphy β€” the struct wiphy whose device you're binding. this is the one getting a new parent, main character energy πŸ‘‘
  • dev β€” the struct device you're parenting it to. this is the new parent in question, no cap πŸ¦‹

that's part 1, there's more coming so don't go anywhere πŸ’œ

πŸ’– SEE ALSO πŸ’–

okay bestie, buckle up, because this section is basically the entire cfg80211 cinematic universe. Everything here lives in the kernel file ./include/net/cfg80211.h, and the tour starts with Introduction(9). After that it's just...... the whole cast list πŸ’€, all of them (9) pages, all of them listed below in exactly the order the original gives them. No skipping, no summarising, we are reading the whole guest list. iykyk.

πŸ¦‹ the caps, bands and iftype girlies

🌸 the whole config / chandef / station situation

(this one is LONG long β€” hydrate first πŸ“)

πŸ›°οΈ scanning, BSS handling and the connection arc

πŸ‘‘ rfkill, vendor stuff, test mode, and the notifier finale

and that's the whole list, no cap, every single one of them 🫢 literally not a single entry left out. but bestie we're not done β€” there's more page coming, so don't close the tab πŸ’…


And that's a wrap on the cross-refs, bestie β€” you made it all the way to the end 🫢 This page lives in ./include/net and it's stamped October 2026, so like... mark your calendar, screenshot it, whatever feels right πŸ“Έ The page you just read is set_wiphy_dev(9), and honestly? She ate. Periodt. πŸ‘‘βœ¨πŸŽ€

πŸ“¦ where this page comes from