ENUM RFKILL_OPERATION(9)
β¨ enum rfkill_operation(9) β¨
okay so bestie π welcome to the enum rfkill_operation page from the Kernel API Manual β it's short, it's sweet, and it's literally the whole vibe of "what just happened to my radio device." let's get into it π
πΈ NAME πΈ
enum rfkill_operation β operation types π
like, the categories of things that can occur. that's it. that's the whole page. slay.
β¨ SYNOPSIS β¨
enum rfkill_operation {
RFKILL_OP_ADD ,
RFKILL_OP_DEL ,
RFKILL_OP_CHANGE ,
RFKILL_OP_CHANGE_ALL
};
four constants, one enum, zero notes. iconic behavior tbh π
π¦ CONSTANTS π¦
RFKILL_OP_ADDβ a device was added π«Ά like a new little guy just showed up. welcome to the function, bestie!!RFKILL_OP_DELβ a device was removed π gone. departed. no longer in the building. we mourn.RFKILL_OP_CHANGEβ a device's state changed β and to be clear, this is userspace changing one device. just the one. single-target energy π―RFKILL_OP_CHANGE_ALLβ userspace changes all devices into a state π₯ β and "all" here means of a type, or genuinely all of them, iykyk β and it also updates the default state used for devices that are hot-plugged later. that last part is the sneaky important bit, don't skip it π
ngl RFKILL_OP_CHANGE_ALL is doing the most out of all four of them. main character energy fr fr.
π SEE ALSO π
- Kernel file
./include/uapi/linux/rfkill.h enum rfkill_type(9)enum rfkill_hard_block_reasons(9)struct rfkill_event(9)struct rfkill_event_ext(9)Extensibility(9)
go read those too, bestie, they're all in the same friend group π
that's the whole page!! mwah π this came from ./include/uapi/linux, dated October 2026, and it's filed under enum rfkill_operation(9) β go forth and understand your radio state changes, no cap π§ββοΈβ¨
π¦ 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