STRUCT CFG802154_SCAN_REQUEST(9)
π NAME π
struct cfg802154_scan_request β bestie, this is literally the scan request struct, okay? it's giving "i wanna scan and i have opinions about it" β¨
okay so real quick: this page lives in the Kernel API Manual and we're about to go through every single member together, no skipping, no "tl;dr", because you deserve the whole thing π«Ά
πΈ SYNOPSIS πΈ
struct cfg802154_scan_request {
enum nl802154_scan_types type;
u8 page;
u32 channels;
u8 duration;
struct wpan_dev *wpan_dev;
struct wpan_phy *wpan_phy;
};
like... look at her. six fields. main character energy π
π Members π
okay so let's meet the cast π
typeβ the type of scan to be performed. like, which flavor of scan are we doing. it's anenum nl802154_scan_types, so don't just throw numbers at it, mkay πpageβ the page on which to perform the scan. au8. yes bestie, page, not the whole book πchannelsβ the channels in the page to be scanned. au32. so like... the page, and then within it, the channels. got it? got it πdurationβ time spent on each channel, and it is calculated with:
aBaseSuperframeDuration * (2 ^ duration + 1)
lowkey the most extra formula here but she ate, ngl π₯
wpan_devβ the wpan device on which to perform the scan.struct wpan_dev *. the device. the it-girl. π¦wpan_phyβ the wpan phy on which to perform the scan.struct wpan_phy *. the phy underneath it all π
β SEE ALSO β
bestie these are the friends she keeps, the group chat if you will, all from the Kernel file ./include/net/cfg802154.h π§
enum wpan_phy_flags(9)struct ieee802154_addr(9)struct ieee802154_coord_desc(9)struct ieee802154_pan_device(9)struct cfg802154_beacon_request(9)struct cfg802154_mac_pkt(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, no notes, no cap β every single member, every single friend in the SEE ALSO list, all accounted for π β¨
and that's a wrap! this came out of ./include/net and it's dated October 2026, so likeβ¦ go off, struct cfg802154_scan_request(9) ππ«Ά bye bestie!! π
π¦ 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