ENUM RFKILL_TYPE(9)
π 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 a802.11wireless 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
- 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