STRUCT IWL_SCAN_OFFLOAD_PROFILES_QUERY_V1(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct iwl_scan_offload_profiles_query_v1(9) ✨

okay so bestie, pop open the Kernel API Manual and let's talk about this struct 🫢 it's basically the lil receipt you get back after an offloaded scan goes "hey, I found matches" β€” a match results query response, no cap.


🌸 NAME 🌸

struct iwl_scan_offload_profiles_query_v1 β€” the match results query response. yeah that's it, that's the whole vibe πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

struct iwl_scan_offload_profiles_query_v1 {
    __le32 matched_profiles;
    __le32 last_scan_age;
    __le32 n_scans_done;
    __le32 gp2_d0u;
    __le32 gp2_invoked;
    u8 resume_while_scanning;
    u8 self_recovery;
    __le16 reserved;
    struct iwl_scan_offload_profile_match_v1 matches[];
};

literally the whole layout, character for character, look at all those __le32s 😭 little endian icons fr fr.


πŸ’– Members πŸ’–

okay field-by-field, let's go πŸ•Ί

  • matched_profiles β€” a bitmap of matched profiles, referencing the matches passed in the scan offload request. it's giving "which of the things you asked about actually hit" πŸ‘‘
  • last_scan_age β€” the age of the last offloaded scan. how old is the tea, basically ⏳
  • n_scans_done β€” the number of offloaded scans done. count 'em πŸ”₯
  • gp2_d0u β€” GP2 when D0U occurred. that's the value, bestie, that's what it is πŸ’€
  • gp2_invoked β€” GP2 when scan offload was invoked 🌸
  • resume_while_scanning β€” not used. iconic of it honestly, just vibing there occupying space πŸ™ˆ
  • self_recovery β€” obsolete. old news, retired, respectfully ✨
  • reserved β€” reserved. it's reserved. hands off πŸŽ€
  • matches β€” array of match information, one for each match. one entry per match, no duplicates, no extras πŸ’…
lowkey a heads up: matched_profiles is a bitmap that points back at the profiles you sent in the scan offload request β€” it's not a count, it's not an index, it's a bitmap, periodt.

πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group, in order, no one gets left out 🫢 (from the kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/scan.h):

  • enum iwl_scan_subcmd_ids(9)
  • struct iwl_ssid_ie(9)
  • struct iwl_scan_offload_blocklist(9)
  • struct iwl_scan_offload_profile(9)
  • struct iwl_scan_offload_profile_cfg_data(9)
  • struct iwl_scan_offload_profile_cfg_v1(9)
  • struct iwl_scan_offload_profile_cfg(9)
  • struct iwl_scan_schedule_lmac(9)
  • struct iwl_scan_req_tx_cmd(9)
  • struct iwl_scan_channel_cfg_lmac(9)
  • struct iwl_scan_probe_segment(9)
  • struct iwl_scan_probe_req_v1(9)
  • struct iwl_scan_probe_req(9)
  • struct iwl_scan_channel_opt(9)
  • enum iwl_mvm_lmac_scan_flags(9)
  • struct iwl_scan_req_lmac(9)
  • struct iwl_scan_results_notif(9)
  • struct iwl_lmac_scan_complete_notif(9)
  • struct iwl_periodic_scan_complete(9)
  • struct iwl_scan_dwell(9)
  • struct iwl_scan_config_v1(9)
  • struct iwl_scan_config_v2(9)
  • struct iwl_scan_config(9)
  • enum iwl_umac_scan_flags(9)
  • enum iwl_umac_scan_general_flags2(9)
  • enum iwl_umac_scan_general_flags_v2(9)
  • enum iwl_umac_scan_general_params_flags2(9)
  • struct iwl_scan_channel_cfg_umac(9)
  • struct iwl_scan_umac_schedule(9)
  • struct iwl_scan_req_umac_tail_v2(9)
  • struct iwl_scan_umac_chan_param(9)
  • struct iwl_scan_req_umac(9)
  • struct iwl_scan_probe_params_v3(9)
  • struct iwl_scan_probe_params_v4(9)
  • struct iwl_scan_channel_params_v4(9)
  • struct iwl_scan_channel_params_v7(9)
  • struct iwl_scan_channel_params_v8(9)
  • struct iwl_scan_general_params_v11(9)
  • struct iwl_scan_periodic_parms_v1(9)
  • struct iwl_scan_req_params_v12(9)
  • struct iwl_scan_req_params_v17(9)
  • struct iwl_scan_req_params_v18(9)
  • struct iwl_scan_req_umac_v12(9)
  • struct iwl_scan_req_umac_v17(9)
  • struct iwl_scan_req_umac_v18(9)
  • struct iwl_umac_scan_abort(9)
  • enum iwl_umac_scan_abort_status(9)
  • struct iwl_umac_scan_start(9)
  • struct iwl_umac_scan_complete(9)
  • struct iwl_scan_offload_profile_match_v1(9)
  • struct iwl_scan_offload_profile_match(9)
  • struct iwl_scan_offload_match_info(9)
  • struct iwl_umac_scan_iter_complete_notif(9)
  • struct iwl_umac_scan_channel_survey_notif(9)

(also hi, parms is spelled that way in iwl_scan_periodic_parms_v1 and I'm not touching it, that's canon 🌈)


and that's the page, bestie 🧚 source is ./drivers/net/wireless/intel/i..., dated October 2026 β€” mwah, go read the kernel source, ily, bye πŸ“πŸ’œ

πŸ“¦ where this page comes from