STRUCT IEEE802154_HW(9)
β¨ 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 transmitskbfor 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 atenum 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 thestruct wpan_phyallocated for this 802.15.4 PHY. very "this is the physical layer bestie" energy π
π SEE ALSO π
run, don't walk, to all of these πβ¨
- Kernel file
./include/net/mac802154.henum ieee802154_hw_addr_filt_flags(9)struct ieee802154_hw_addr_filt(9)enum ieee802154_hw_flags(9)ieee802154_get_fc_from_skb(9)ieee802154_skb_dst_pan(9)ieee802154_skb_src_pan(9)ieee802154_skb_is_intra_pan_addressing(9)ieee802154_be64_to_le64(9)ieee802154_le64_to_be64(9)ieee802154_le16_to_be16(9)ieee802154_be16_to_le16(9)ieee802154_alloc_hw(9)ieee802154_free_hw(9)ieee802154_register_hw(9)ieee802154_unregister_hw(9)ieee802154_rx_irqsafe(9)ieee802154_xmit_complete(9)ieee802154_xmit_error(9)ieee802154_xmit_hw_error(9)
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
- 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