ENUM REG_REQUEST_TREATMENT(9)
π enum reg_request_treatment(9) β the Kernel API Manual glow-up π
okay so bestie, picture this: you're deep in the kernel, the wireless regulatory stuff is happening, and somebody hands you a request. and you're likeβ¦ "what do i even do with this?" π that's literally this enum. it's the vibe check for regulatory requests β four little constants that tell the code whether to keep going, yeet it, merge it, or just chill because it's already done. welcome to the group chat. π¦
it lives in the Kernel API Manual, and it's giving main-character energy for ./net/wireless. periodt. β¨
β¨ SYNOPSIS β¨
enum reg_request_treatment {
REG_REQ_OK ,
REG_REQ_IGNORE ,
REG_REQ_INTERSECT ,
REG_REQ_ALREADY_SET
};
like, that's it. that's the whole roster. four icons and they all mean something different. π
πΈ CONSTANTS πΈ
REG_REQ_OKβ bestie said yes π continue processing the regulatory request. we're so back.REG_REQ_IGNOREβ nope, not today. π just ignore the regulatory request entirely. blocked. deleted. moving on.REG_REQ_INTERSECTβ ooh she's doing math π§ the regulatory domain that results from this request should be intersected with the current one. two domains, one overlap, no cap.REG_REQ_ALREADY_SETβ girl it's already done π this regulatory request will not change the current regulatory settings, and no further processing is required. we can all go home. π«Ά
β SEE ALSO β
the lore continues, iykyk:
- Kernel file
./net/wireless/reg.c Wireless regulatory infrastructure(9)freq_in_rule_band(9)regdom_intersect(9)reg_process_hint_core(9)reg_process_hint_user(9)reg_process_hint_driver(9)reg_process_hint_country_ie(9)
π friendly reminder: these constants aren't just cute names, they're the actual control flow. treat REG_REQ_ALREADY_SET with the respect it deserves β it's telling you to stop working. π
and that's the whole page, bestie! π brought to you from ./net/wireless, dated October 2026, filed under enum reg_request_treatment(9) β slay, go touch some regulatory domains. πππ₯
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms