STRUCT IEEE802154_HW(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct ieee802154_hw(9) ✨

okay bestie, sit down, we're doing a Kernel API Manual deep dive πŸ’… this one's from the <9> section, i.e. kernel internals territory, and it's all about ieee802154 hardware β€” yes, the fancy name for 802.15.4 stuff, lowkey iconic πŸ¦‹


🌸 NAME 🌸

struct ieee802154_hw β€” ieee802154 hardware. that's it, that's the whole vibe πŸŽ€


✨ SYNOPSIS ✨

struct ieee802154_hw {
    int extra_tx_headroom;
    u32 flags;
    struct device *parent;
    void *priv;
    struct wpan_phy *phy;
 };

literally the whole struct, copied exactly, no cap πŸ™ˆ


πŸ¦‹ Members πŸ¦‹

so bestie, let's meet the members one by one, they're all main characters in their own way πŸ‘‘

  • extra_tx_headroom β€” this is the headroom you reserve in each transmit skb for the driver to use (like for transmit headers, yk). think of it as ✨space you set aside✨ before the actual payload shows up πŸŽ€
  • flags β€” hardware flags! for the deets go peek at enum ieee802154_hw_flags, iykyk 🫢
  • parent β€” the parent device of the hardware. the momager of the operation πŸ’…
  • priv β€” a pointer to the private area that was allocated for driver use along with this structure. it's giving built-in storage, obsessed πŸ“
  • phy β€” this points to the struct wpan_phy allocated for this 802.15.4 PHY. very "this is the physical layer bestie" energy πŸ’œ

🌈 SEE ALSO 🌈

run, don't walk, to all of these πŸ‘Ÿβœ¨

like, the whole squad fr fr 😭πŸ”₯


πŸ’€ friendly reminder: everything above is straight from the manual β€” no invented behaviour, no extra tips, just the facts with better eyeliner. if you're poking at drivers, read the actual kernel source too, bestie.

aaaand that's the page! πŸŽ€ this deliciousness lives in ./include/net, dated October 2026, and the title is struct ieee802154_hw(9) in the Kernel API Manual β€” go forth and slay your 802.15.4 adventures, periodt πŸ’…πŸ’–πŸ¦‹

πŸ“¦ where this page comes from