ENUM NL802154_WPAN_PHY_CAPABILITY_ATTR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum nl802154_wpan_phy_capability_attr β€” wpan phy capability attributes πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ this one's all about enum nl802154_wpan_phy_capability_attr, and yes the name is a mouthful, but it's giving "lowkey iconic IEEE 802.15.4 capability vibes" and honestly? we're obsessed. πŸ¦‹

So real quick β€” this enum is the whole master list of capability attributes for a WPAN phy. Every attribute a device can flex lives here. Let's get into it, no cap. πŸ’–


✨ SYNOPSIS ✨

enum nl802154_wpan_phy_capability_attr {
    __NL802154_CAP_ATTR_INVALID ,
    NL802154_CAP_ATTR_IFTYPES ,
    NL802154_CAP_ATTR_CHANNELS ,
    NL802154_CAP_ATTR_TX_POWERS ,
    NL802154_CAP_ATTR_CCA_ED_LEVELS ,
    NL802154_CAP_ATTR_CCA_MODES ,
    NL802154_CAP_ATTR_CCA_OPTS ,
    NL802154_CAP_ATTR_MIN_MINBE ,
    NL802154_CAP_ATTR_MAX_MINBE ,
    NL802154_CAP_ATTR_MIN_MAXBE ,
    NL802154_CAP_ATTR_MAX_MAXBE ,
    NL802154_CAP_ATTR_MIN_CSMA_BACKOFFS ,
    NL802154_CAP_ATTR_MAX_CSMA_BACKOFFS ,
    NL802154_CAP_ATTR_MIN_FRAME_RETRIES ,
    NL802154_CAP_ATTR_MAX_FRAME_RETRIES ,
    NL802154_CAP_ATTR_LBT ,
    __NL802154_CAP_ATTR_AFTER_LAST ,
    NL802154_CAP_ATTR_MAX

};

πŸŽ€ Constants πŸŽ€

okay so here's every single one, and we're doing all of them, because nobody gets left behind in this house 🫢

  • __NL802154_CAP_ATTR_INVALID β€” attribute number 0 is reserved. it's the "do not touch" slot, the VIP velvet rope of this enum πŸ’…
  • NL802154_CAP_ATTR_IFTYPES β€” nl802154_iftype flags. this is where the interface types get to shine ✨
  • NL802154_CAP_ATTR_CHANNELS β€” a nested attribute for nl802154_channel_attr. yes bestie, nested β€” attributes inside attributes, it's giving inception πŸŒ€
  • NL802154_CAP_ATTR_TX_POWERS β€” a nested attribute for nl802154_wpan_phy_tx_power. more nesting, more power, literally πŸ”₯
  • NL802154_CAP_ATTR_CCA_ED_LEVELS β€” -- undescribed -- πŸ™ˆ yeah it's giving mysterious main character energy, the docs just never said anything about this one, so we're not gonna invent lore fr fr
  • NL802154_CAP_ATTR_CCA_MODES β€” nl802154_cca_modes flags. the CCA modes, all flagged up and ready πŸ‘‘
  • NL802154_CAP_ATTR_CCA_OPTS β€” nl802154_cca_opts flags. and the CCA options too, because why not both πŸ’–
  • NL802154_CAP_ATTR_MIN_MINBE β€” minimum of minbe value. the smallest minbe, so meta 😭
  • NL802154_CAP_ATTR_MAX_MINBE β€” maximum of minbe value. the biggest minbe, periodt
  • NL802154_CAP_ATTR_MIN_MAXBE β€” minimum of maxbe value. smallest maxbe, yes the naming is a whole journey, don't think about it too hard 🌸
  • NL802154_CAP_ATTR_MAX_MAXBE β€” maximum of maxbe value. biggest maxbe, slay
  • NL802154_CAP_ATTR_MIN_CSMA_BACKOFFS β€” minimum of csma backoff value. the floor for your backoff game ⭐
  • NL802154_CAP_ATTR_MAX_CSMA_BACKOFFS β€” maximum of csma backoffs value. the ceiling, also known as the limit πŸ”₯
  • NL802154_CAP_ATTR_MIN_FRAME_RETRIES β€” minimum of frame retries value. the fewest retries you can get πŸŽ€
  • NL802154_CAP_ATTR_MAX_FRAME_RETRIES β€” maximum of frame retries value. the most retries, try try again energy πŸ’€
  • NL802154_CAP_ATTR_LBT β€” nl802154_supported_bool_states flags. LBT said "I contain multitudes" and honestly, valid 🌈
  • __NL802154_CAP_ATTR_AFTER_LAST β€” internal use. bestie this is not for you, it's the enum's own private business πŸ™ˆ
  • NL802154_CAP_ATTR_MAX β€” highest cap attribute currently defined. the current ceiling of the whole capability situation, and it knows it πŸ‘‘

πŸ” SEE ALSO πŸ”

go read these next, iykyk:

  • Kernel file ./include/net/nl802154.h
  • 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)
  • enum nl802154_supported_bool_states(9)

and that's the whole page, bestie πŸ§šπŸ’œ this little gem lives over at ./include/net, and it's dated October 2026 β€” so go forth, cite your kernel enum, and remember: every attribute counts, even -- undescribed -- 😭🫢

πŸ“¦ where this page comes from