STRUCT CFG802154_MAC_PKT(9)
π STRUCT CFG802154_MAC_PKT π
bestie welcome to the kernel API manual page for struct cfg802154_mac_pkt β we're doing this one in style β¨
πΈ NAME πΈ
struct cfg802154_mac_pkt β the MAC packet descriptor, and yes she is specifically for beacon/command packets π
π¦ SYNOPSIS π¦
okay so here's the whole little struct, no cap, exactly as she lives:
struct cfg802154_mac_pkt {
struct list_head node;
struct sk_buff *skb;
struct ieee802154_sub_if_data *sdata;
netdevice_tracker dev_tracker;
u8 page;
u8 channel;
};
(also, um, shoutout to that one stray space before the closing brace β she's iconic, we keep her π )
π Members π
okay so the manual breaks down these five fields, and honestly? each one is kind of main character energy:
nodeβ the list member that hooks this packet onto the MAC packets to process list π«Άskbβ the receivedsk_buffitself, like, the actual packet β¨sdataβ the interface thatskbgot received on πΈpageβ the page configuration at the momentskbwas received πchannelβ the channel configuration at the momentskbwas received π‘
ngl, the struct in SYNOPSIS also has a dev_tracker field in it β but the Members list doesn't describe it, so we're not out here making stuff up about it π the struct definition above is verbatim, that's the promise π
π SEE ALSO π
the kernel file lives at ./include/net/cfg802154.h, and here's the whole squad it wants you to go read next β literally all of these, go look, they're lowkey great:
enum wpan_phy_flags(9)struct ieee802154_addr(9)struct ieee802154_coord_desc(9)struct ieee802154_pan_device(9)struct cfg802154_scan_request(9)struct cfg802154_beacon_request(9)cfg802154_device_is_associated(9)cfg802154_device_is_parent(9)cfg802154_device_is_child(9)cfg802154_set_max_associations(9)cfg802154_get_free_short_addr(9)
okay that's the whole page bestie, you ate that π this came to you from ./include/net, dated October 2026, and the source/version notes are literally struct cfg802154_mac_pkt(9) β slay, mwah ππ§ββοΈ
π¦ 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