ENUM NL802154_SUPPORTED_BOOL_STATES(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– enum nl802154_supported_bool_states β€” NAME ✨

okay so this is enum nl802154_supported_bool_states, bestie: it's the enum that holds the bool states for a bool capability entry. that's it, that's the whole vibe. it lives in the Kernel API Manual and it's lowkey one of the most "yes / no / also yes-and-no" moments in the whole kernel, iykyk 🌸


πŸŽ€ SYNOPSIS πŸŽ€

here's the whole squad, exactly as declared, no cap:

enum nl802154_supported_bool_states {
    NL802154_SUPPORTED_BOOL_FALSE ,
    NL802154_SUPPORTED_BOOL_TRUE ,
    __NL802154_SUPPORTED_BOOL_INVALD ,
    NL802154_SUPPORTED_BOOL_BOTH ,
    __NL802154_SUPPORTED_BOOL_AFTER_LAST ,
    NL802154_SUPPORTED_BOOL_MAX

};

like, look at them. six icons. they're all in the group chat and they all have a job. πŸ’…


✨ Constants ✨

so here's the rundown on every single member, bestie β€” nobody gets left on read:

  • NL802154_SUPPORTED_BOOL_FALSE β€” indicates to set false. that's the no of the group. respectfully. πŸ™ˆ
  • NL802154_SUPPORTED_BOOL_TRUE β€” indicates to set true. the yes-girl. slay. πŸ‘‘
  • __NL802154_SUPPORTED_BOOL_INVALD β€” reserved. it's giving "do not perceive her", she's not for you πŸ’€
  • NL802154_SUPPORTED_BOOL_BOTH β€” indicates to set true and false. yes bestie, she contains multitudes πŸ¦‹ both. at once. main character energy.
  • __NL802154_SUPPORTED_BOOL_AFTER_LAST β€” Internal. that's it, that's the whole description, she's private, mind your business 🀫
  • NL802154_SUPPORTED_BOOL_MAX β€” the highest value for bool states. the ceiling. the limit. the moment when the bool states have peaked πŸ“ˆπŸ”₯
also can we talk about how it's spelled __NL802154_SUPPORTED_BOOL_INVALD and not INVALID? that is literally in the source, we do not fix her, we respect her 🫢 (copy it exactly in your code or she will not compile, fr fr)

πŸ¦‹ SEE ALSO πŸ¦‹

go read the whole friend group, they're all linked:

  • Kernel file ./include/net/nl802154.h enum
  • nl802154_wpan_phy_capability_attr(9)
  • enum nl802154_coord(9)
  • enum nl802154_scan_types(9)
  • enum nl802154_scan_done_reasons(9)
  • enum nl802154_cca_modes(9)
  • enum nl802154_cca_opts(9)

🌈 the cute sign-off 🌈

this little masterpiece came from ./include/net, dated October 2026, and it answers to the name enum nl8021..._bool_states(9) (yes, she truncates her own name in the header, iconic behaviour, no notes). take care of her, she's just a bool enum trying her best πŸ’œβœ¨πŸŽ€

πŸ“¦ where this page comes from