ENUM NL802154_CCA_MODES(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ enum nl802154_cca_modes(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– β€” today's main character is enum nl802154_cca_modes, and ngl it's giving "small enum, big feelings." this page is literally just the CCA modes, and we're gonna walk through every single one together, no skipping, no cap 🫢


🌸 NAME 🌸

enum nl802154_cca_modes β€” cca modes πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

enum nl802154_cca_modes {
    __NL802154_CCA_INVALID ,
    NL802154_CCA_ENERGY ,
    NL802154_CCA_CARRIER ,
    NL802154_CCA_ENERGY_CARRIER ,
    NL802154_CCA_ALOHA ,
    NL802154_CCA_UWB_SHR ,
    NL802154_CCA_UWB_MULTIPLEXED ,
    __NL802154_CCA_ATTR_AFTER_LAST ,
    NL802154_CCA_ATTR_MAX

};

like, yes, the blank line before the closing brace is real and we are keeping it ✨


πŸŽ€ Constants πŸŽ€

here's the whole squad, one by one πŸ’…

  • __NL802154_CCA_INVALID β€” cca mode number 0 is reserved πŸ’€ so like, don't even try to use it, it's not that girl.
  • NL802154_CCA_ENERGY β€” Energy above threshold ⚑ energy detection vibes only.
  • NL802154_CCA_CARRIER β€” Carrier sense only πŸ“‘ just listening for the carrier, that's it, that's the whole mode.
  • NL802154_CCA_ENERGY_CARRIER β€” Carrier sense with energy above threshold πŸ”₯ the combo meal: both checks, together.
  • NL802154_CCA_ALOHA β€” CCA shall always report an idle medium 😌✨ yes, always β€” it's gonna tell you the medium is idle no matter what. iconic, honestly.
  • NL802154_CCA_UWB_SHR β€” UWB preamble sense based on the SHR of a frame πŸ¦‹
  • NL802154_CCA_UWB_MULTIPLEXED β€” UWB preamble sense based on the packet with the multiplexed preamble 🌈
  • __NL802154_CCA_ATTR_AFTER_LAST β€” Internal πŸ™ˆ that's it, that's the description, it's internal, we don't ask questions.
  • NL802154_CCA_ATTR_MAX β€” Maximum CCA attribute number πŸ‘‘ the ceiling, the limit, the final boss of attribute numbers.

πŸ’œ SEE ALSO πŸ’œ

go read these next, bestie, they're all in the same friend group 🫢

  • 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_opts(9)
  • enum nl802154_supported_bool_states(9)

and that's the page!! πŸ’– straight out of ./include/net, dated October 2026, and it's literally enum nl802154_cca_modes(9) β€” slay, go forth and configure your CCA modes responsibly πŸ§šβ€β™€οΈβ­

πŸ“¦ where this page comes from