ENUM NL802154_CCA_MODES(9)
β¨ 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.henum 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
- 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