STRUCT IWL_SCAN_CONFIG_V2(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct iwl_scan_config_v2(9)

okay so bestie, welcome to the Kernel API Manual ✨ β€” today's main character is struct iwl_scan_config_v2, aka the scan configuration command. yes, it's networking driver lore, yes it's iconic, and no you can't skip it. πŸŽ€


🌸 NAME 🌸

struct iwl_scan_config_v2 β€” the scan configuration command, fr fr πŸ¦‹


✨ SYNOPSIS ✨

struct iwl_scan_config_v2 {
    __le32 flags;
    __le32 tx_chains;
    __le32 rx_chains;
    __le32 legacy_rates;
    __le32 out_of_channel_time[SCAN_TWO_LMACS];
    __le32 suspend_time[SCAN_TWO_LMACS];
    struct iwl_scan_dwell dwell;
    u8 mac_addr[ETH_ALEN];
    u8 bcast_sta_id;
    u8 channel_flags;
    u8 channel_array[];
 };

like, look at her. every field is doing its little job and she's serving struct realness πŸ’…


🫢 Members 🫢

here's the field-by-field vibe check, no cap:

  • flags β€” enum scan_config_flags 🌈
  • tx_chains β€” the valid_tx antenna, using the ANT_* definitions πŸ“‘
  • rx_chains β€” the valid_rx antenna, also using the ANT_* definitions πŸ“‘
  • legacy_rates β€” the default legacy rates, as in enum scan_config_rates πŸ“
  • out_of_channel_time β€” the default max out of serving channel time ⏳
  • suspend_time β€” the default max suspend time 😴
  • dwell β€” the dwells for the scan 🧚
  • mac_addr β€” the default mac address to be used in probes πŸ’Œ
  • bcast_sta_id β€” the index of the station in the fw 🏷️
  • channel_flags β€” the default channel flags: enum iwl_channel_flags and scan_config_channel_flag 🚩
  • channel_array β€” the default supported channels πŸ“Ά

πŸ‘‘ SEE ALSO πŸ‘‘

literally the whole scan.h friend group, bestie β€” the kernel file is ./drivers/net/wireless/intel/iwlwifi/fw/api/scan.h, and here's the entire squad so nobody gets left out πŸ’œ:

  • 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(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_profiles_query_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)

okay that's the whole page, go off bestie πŸŒˆπŸ’–

sourced from ./drivers/net/wireless/intel/i... β€” October 2026 edition, mwah πŸ’‹ slay, and good luck out there in the scan configs πŸŽ€βœ¨
πŸ“¦ where this page comes from