STRUCT IWL_SCAN_OFFLOAD_PROFILES_QUERY_V1(9)
β¨ 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
- 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