ENUM RFKILL_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– enum rfkill_type (9) β€” Kernel API Manual πŸ’–

okay so bestie, welcome to the enum rfkill_type page ✨ this is a Linux kernel API manual page, section 9, and it's literally all about what kind of rfkill switch we're talking about. no cap, it's short, it's cute, and it's gonna make sense in like two minutes 🫢


🌸 SYNOPSIS 🌸

the whole enum, exactly as it lives in the kernel:

enum rfkill_type {
    RFKILL_TYPE_ALL ,
    RFKILL_TYPE_WLAN ,
    RFKILL_TYPE_BLUETOOTH ,
    RFKILL_TYPE_UWB ,
    RFKILL_TYPE_WIMAX ,
    RFKILL_TYPE_WWAN ,
    RFKILL_TYPE_GPS ,
    RFKILL_TYPE_FM ,
    RFKILL_TYPE_NFC ,
    NUM_RFKILL_TYPES

};

like, that's it. that's the whole thing. nine vibes plus a counter πŸŽ€


πŸ¦‹ Constants πŸ¦‹

here's the tea on every single one of these, no skips, no summaries πŸ’…

  • RFKILL_TYPE_ALL β€” toggles, like, all the switches at once. but heads up bestie: it's requests only, it is not a switch type. so don't go treating it like one, okay? πŸ™ˆ
  • RFKILL_TYPE_WLAN β€” the switch lives on a 802.11 wireless network device. wifi energy ✨
  • RFKILL_TYPE_BLUETOOTH β€” the switch lives on a bluetooth device. πŸ¦‹
  • RFKILL_TYPE_UWB β€” the switch lives on a ultra wideband device.
  • RFKILL_TYPE_WIMAX β€” the switch lives on a WiMAX device.
  • RFKILL_TYPE_WWAN β€” the switch lives on a wireless WAN device.
  • RFKILL_TYPE_GPS β€” the switch lives on a GPS device. πŸ›°οΈ
  • RFKILL_TYPE_FM β€” the switch lives on a FM radio device. πŸ“»
  • RFKILL_TYPE_NFC β€” the switch lives on an NFC device.
  • NUM_RFKILL_TYPES β€” literally just the number of defined rfkill types. the count. the final boss of the enum. πŸ”₯
okay so important vibe check: RFKILL_TYPE_ALL is the only one that isn't actually a switch type β€” it's a request that toggles everything. all the others are real, physical switch homes. don't mix them up, i'm begging 😭

πŸ‘‘ SEE ALSO πŸ‘‘

more reading if you're obsessed (and you should be):

  • Kernel file ./include/uapi/linux/rfkill.h
  • enum rfkill_operation(9)
  • enum rfkill_hard_block_reasons(9)
  • struct rfkill_event(9)
  • struct rfkill_event_ext(9)
  • Extensibility(9)

that's the whole page, bestie, you ate that πŸ“πŸ’œ this one comes from ./include/uapi/linux, dated October 2026 β€” go forth and rfkill responsibly, mwah πŸŽ€βœ¨

πŸ“¦ where this page comes from