STRUCT IWL_SCAN_CONFIG_V1(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct iwl_scan_config_v1(9) πŸ’–

okay bestie, welcome to the Kernel API Manual page for struct iwl_scan_config_v1 β€” it's the scan configuration command, and we're gonna get into it ✨


πŸŽ€ NAME πŸŽ€

struct iwl_scan_config_v1 β€” the scan configuration command, no cap. it literally configures your scans πŸ’…


✨ SYNOPSIS ✨

here's the whole glow-up, laid out exactly like the kernel wrote it:

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

look at those fields, they're giving organized 😭🫢


🌸 Members 🌸

okay so, member by member, we go:

  • flags β€” this one holds enum scan_config_flags. the vibe-check bits of the whole config πŸ¦‹
  • tx_chains β€” valid_tx antenna, using the ANT_* definitions. transmission realness πŸ’œ
  • rx_chains β€” valid_rx antenna, also ANT_* definitions. receiving, but make it iconic πŸ‘‘
  • legacy_rates β€” the default legacy rates, typed as enum scan_config_rates. old school but still slaying ⭐
  • out_of_channel_time β€” default max out of serving channel time, in case you were wondering how long we can be away from home 🏠
  • suspend_time β€” default max suspend time. nap time limits, fr fr 😴
  • dwell β€” the dwells for the scan, a whole struct iwl_scan_dwell. that's the "how long do we linger" energy 🧚
  • mac_addr β€” default mac address to be used in probes, sized ETH_ALEN. this is the identity she brings to the party πŸŽ€
  • bcast_sta_id β€” the index of the station in the fw. broadcast station, main character energy 🌈
  • channel_flags β€” default channel flags, enum iwl_channel_flags and scan_config_channel_flag. all the little channel details πŸ”₯
  • channel_array β€” default supported channels. the actual list, flexible size and all, u8 channel_array[] πŸ’«
ngl the channel_array[] is a flexible array member, so she's doing the "trailing data" thing β€” that's just what the [] means, bestie, no extra lore needed πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

so many friends, all of them linked from the kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/scan.h β€” let's give them their moment:

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_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_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)

like, that's a whole friend group and she knows every single one 🫢


mwah, that's the page πŸŽ€ this one came from ./drivers/net/wireless/intel/i... and it's dated October 2026 β€” go off, October 2026, you ate πŸ’…βœ¨

🌟 struct iwl_scan_config_v1(9) 🌟

πŸ“¦ where this page comes from