regulatory_s...hy_regd_sync(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ regulatory_set_wiphy_regd_sync(9) ✨

okay so this is from the Kernel API Manual, bestie β€” like, the actual kernel docs, and this one is about setting the regulatory domain for self-managed drivers. it's giving "I handle my own regdom, thanks" energy πŸ’…


🌸 NAME 🌸

regulatory_set_wiphy_regd_sync β€” set regdom for self-managed drivers

πŸŽ€ SYNOPSIS πŸŽ€

int regulatory_set_wiphy_regd_sync (struct wiphy *wiphy , struct
       ieee80211_regdomain *rd );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • wiphy β€” the wireless device we want to process the regulatory domain on. like, this is the actual wifi thing we're doing the regdom glow-up for 🫢
  • rd β€” the regulatory domain information to use for this wiphy. this is the ✨content✨ of the glow-up.

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so listen: this function requires the RTNL and the wiphy mutex to be held πŸ”’ β€” no cap, that's a hard requirement, not a suggestion. with those locked down, it applies the new regdomain synchronously to this wiphy. so it's not like "fire and forget", it's "we do it right now, together, bestie" πŸ’–

for more details see regulatory_set_wiphy_regd. (that's the async-ish sibling, iykyk β€” go read that one if you want the full lore πŸ“–)

⭐ RETURN ⭐

0 on success. πŸ’š

and if it doesn't slay, you get -EINVAL or -EPERM 😭 β€” those are the two possible failure codes, fr fr.


more parts coming, bestie, don't go anywhere 🧚

🌈 SEE ALSO 🌈

okay bestie, this is the part where the manpage goes β€œand here is everyone else in the group chat.” πŸ’… it’s a whole extended cinematic universe of (9) pages, and yes, every single one is invited to the function. no skips, no cuts, we’re doing the full roll call:

and that’s the whole SEE ALSO recital, bestie β€” every name present and accounted for, no cap. πŸ’–βœ¨


okay that's literally the whole reference squad, bestie β€” every single one of them in ./include/net, dated October 2026, all bundled up under regulatory_s...hy_regd_sync(9). you read the entire page, which is giving dedicated scholar energy fr fr πŸŽ“πŸ’– now go forth and sync those regd domains βœ¨πŸ¦‹

πŸ“¦ where this page comes from