ieee802154_register_hw(9)
β¨ ieee802154_register_hw(9) β¨
okay bestie, welcome to the Kernel API Manual β this one's about ieee802154_register_hw(9), aka "make the hardware official" π
πΈ NAME πΈ
ieee802154_register_hw β Register hardware device π«Ά
π¦ SYNOPSIS π¦
int ieee802154_register_hw (struct ieee802154_hw *hw );
π ARGUMENTS π
hwβ the device you wanna register, exactly as it came back fromieee802154_alloc_hw. no substitutions, no knockoffs, gotta be the real one π
β¨ DESCRIPTION β¨
so here's the tea, bestie π΅ β you must call this function before any other functions in mac802154. like, it's the first domino, the main character moment, the vibe-setter. no skipping ahead, no cap.
also lowkey important: before a hardware can actually be registered, you need to fill in the contained wpan_phy's information first. do that prep work or it's giving unfinished homework π
π₯ RETURN π₯
0on success β slay π β¨- an error code otherwise β not slay, but at least you know π
β SEE ALSO β
Kernel file ./include/net/mac802154.h enum:
ieee802154_hw_addr_filt_flags(9)struct ieee802154_hw_addr_filt(9)struct ieee802154_hw(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_unregister_hw(9)ieee802154_rx_irqsafe(9)ieee802154_xmit_complete(9)ieee802154_xmit_error(9)ieee802154_xmit_hw_error(9)
like, that's the whole friend group right there π go read them too, iykyk π§
and that's the whole page, bestie β sourced from ./include/net, dated October 2026, and officially filed under ieee802154_register_hw(9) π byeee, go register that hardware π
π¦ 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