ENUM NL802154_WPAN_PHY_CAPABILITY_ATTR(9)
π 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 number0is reserved. it's the "do not touch" slot, the VIP velvet rope of this enum πNL802154_CAP_ATTR_IFTYPESβnl802154_iftypeflags. this is where the interface types get to shine β¨NL802154_CAP_ATTR_CHANNELSβ a nested attribute fornl802154_channel_attr. yes bestie, nested β attributes inside attributes, it's giving inception πNL802154_CAP_ATTR_TX_POWERSβ a nested attribute fornl802154_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 frNL802154_CAP_ATTR_CCA_MODESβnl802154_cca_modesflags. the CCA modes, all flagged up and ready πNL802154_CAP_ATTR_CCA_OPTSβnl802154_cca_optsflags. and the CCA options too, because why not both πNL802154_CAP_ATTR_MIN_MINBEβ minimum ofminbevalue. the smallest minbe, so meta πNL802154_CAP_ATTR_MAX_MINBEβ maximum ofminbevalue. the biggest minbe, periodtNL802154_CAP_ATTR_MIN_MAXBEβ minimum ofmaxbevalue. smallest maxbe, yes the naming is a whole journey, don't think about it too hard πΈNL802154_CAP_ATTR_MAX_MAXBEβ maximum ofmaxbevalue. biggest maxbe, slayNL802154_CAP_ATTR_MIN_CSMA_BACKOFFSβ minimum ofcsma backoffvalue. the floor for your backoff game βNL802154_CAP_ATTR_MAX_CSMA_BACKOFFSβ maximum ofcsma backoffsvalue. the ceiling, also known as the limit π₯NL802154_CAP_ATTR_MIN_FRAME_RETRIESβ minimum offrame retriesvalue. the fewest retries you can get πNL802154_CAP_ATTR_MAX_FRAME_RETRIESβ maximum offrame retriesvalue. the most retries, try try again energy πNL802154_CAP_ATTR_LBTβnl802154_supported_bool_statesflags. 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
- 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