STRUCT IWL_TOF_RESPONDER_CONFIG_CMD_V6(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct iwl_tof_responder_config_cmd_v6(9) 🌸

okay so bestie, welcome to the kernel API manual, page nine of struct iwl_tof_responder_config_cmd_v6 β€” yes that's the whole entire title, we're not shortening it, it's iconic and we respect it πŸ’…


✨ NAME ✨

struct iwl_tof_responder_config_cmd_v6 β€” ToF AP mode (for debug)

like literally that's it, that's the whole vibe: Time-of-Flight responder config, AP mode, and it's flagged for debug purposes πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct iwl_tof_responder_config_cmd_v6 {
    __le32 cmd_valid_fields;
    __le32 responder_cfg_flags;
    u8 bandwidth;
    u8 rate;
    u8 channel_num;
    u8 ctrl_ch_position;
    u8 sta_id;
    u8 reserved1;
    __le16 toa_offset;
    __le16 common_calib;
    __le16 specific_calib;
    u8 bssid[ETH_ALEN];
    __le16 reserved2;
 };

no cap, that's the whole struct, every field exactly where it lives, don't touch anything 😌


πŸ’– Members πŸ’–

bestie this is the part where we meet the whole squad, one field at a time 🫢

  • cmd_valid_fields β€” it's the iwl_tof_responder_cmd_valid_field situation β€” the bitfield of "which of these fields actually mean something rn"
  • responder_cfg_flags β€” the iwl_tof_responder_cfg_flags flags, the config's whole personality
  • bandwidth β€” current AP Bandwidth: enum iwl_tof_bandwidth
  • rate β€” current AP rate
  • channel_num β€” current AP Channel
  • ctrl_ch_position β€” the coding of the control channel position relative to the center frequency, see iwl_mvm_get_ctrl_pos β€” she's relative, she's coded, she's giving spatial reasoning πŸ”₯
  • sta_id β€” index of the AP STA when in AP mode
  • reserved1 β€” reserved. that's the whole description. she's just there. we love her anyway πŸ™ˆ
  • toa_offset β€” Artificial addition [pSec] for the ToA β€” for debug purposes, simulating station movement by adding various values to this field. lowkey unhinged but that's the point, it's a debug knob πŸŽ€
  • common_calib β€” XVT: common calibration value
  • specific_calib β€” XVT: specific calibration value
  • bssid β€” Current AP BSSID
  • reserved2 β€” reserved. same energy as reserved1, absolute queen of minding her own business πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

the whole extended friend group, no one gets left out, every single one of these is getting @'d in the group chat πŸ’œ

Kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/location.h and then, in order, bestie:

enum iwl_location_subcmd_ids(9), enum iwl_location_frame_format(9), enum iwl_location_bw(9), enum iwl_location_format_bw(9), struct iwl_tof_config_cmd(9), enum iwl_tof_bandwidth(9), enum iwl_tof_responder_cmd_valid_field(9), enum iwl_tof_responder_cfg_flags(9), struct iwl_tof_responder_config_cmd_v7(9), struct iwl_tof_responder_config_cmd_v8(9), struct iwl_tof_responder_config_cmd_v9(9), struct iwl_tof_responder_config_cmd(9), struct iwl_tof_responder_dyn_config_cmd_v2(9), enum iwl_responder_dyn_cfg_valid_flags(9), struct iwl_tof_responder_dyn_config_cmd(9), struct iwl_tof_range_req_ext_cmd(9), enum iwl_tof_location_query(9), enum iwl_initiator_ap_flags(9), struct iwl_tof_range_req_ap_entry_v3(9), struct iwl_tof_range_req_ap_entry_v4(9), enum iwl_location_cipher(9), struct iwl_tof_range_req_ap_entry_v6(9), struct iwl_tof_range_req_ap_entry_v7(9), struct iwl_tof_range_req_ap_entry_v8(9), struct iwl_tof_range_req_ap_entry_v9(9), struct iwl_tof_range_req_ap_entry(9), enum iwl_tof_response_mode(9), enum iwl_tof_initiator_flags(9), struct iwl_tof_range_req_cmd_v5(9), struct iwl_tof_range_req_cmd_v7(9), struct iwl_tof_range_req_cmd_v8(9), struct iwl_tof_range_req_cmd_v9(9), struct iwl_tof_range_req_cmd_v11(9), struct iwl_tof_range_req_cmd_v12(9), struct iwl_tof_range_req_cmd_v13(9), struct iwl_tof_range_req_cmd(9), enum iwl_tof_entry_status(9), struct iwl_tof_range_rsp_ap_entry_ntfy_v3(9), struct iwl_tof_range_rsp_ap_entry_ntfy_v4(9), struct iwl_tof_range_rsp_ap_entry_ntfy_v5(9), struct iwl_tof_range_rsp_ap_entry_ntfy_v7(9), struct iwl_tof_range_rsp_ap_entry_ntfy(9), enum iwl_tof_response_status(9), struct iwl_tof_range_rsp_ntfy_v5(9), struct iwl_tof_range_rsp_ntfy_v6(9), struct iwl_tof_range_rsp_ntfy_v7(9), struct iwl_tof_range_rsp_ntfy_v9(9), struct iwl_tof_range_rsp_ntfy(9), struct iwl_tof_mcsi_notif(9), struct iwl_tof_range_abort_cmd(9), struct iwl_ftm_responder_stats(9)

that's fifty-ish references and we read every single one, slay 🫑


ngl bestie, quick vibe check: this whole struct is tagged for debug. if you're out here shipping it to production like it's main character energy, that's on you, not on me πŸ’€

and that's the page!! ✨ sourced from ./drivers/net/wireless/intel/i... and dated October 2026 β€” mwah, go read location.h, ily, bye πŸŽ€πŸ’–πŸ¦‹

πŸ“¦ where this page comes from