STRUCT CFG802154_SCAN_REQUEST(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 an enum nl802154_scan_types, so don't just throw numbers at it, mkay πŸ’€
  • page β€” the page on which to perform the scan. a u8. yes bestie, page, not the whole book πŸ“–
  • channels β€” the channels in the page to be scanned. a u32. 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 🧚


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