ENUM RFKILL_OPERATION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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