STRUCT IWL_CHAN_SWITCH_TE_CMD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay bestie, welcome to the Kernel API Manual ✨ β€” yes we're reading kernel headers for fun now, this is who we are, and honestly? iconic behavior. This little guy is the Channel Switch Time Event command and it lives rent-free in the Intel wireless firmware API. let's get into it 🫢


🌸 NAME 🌸

struct iwl_chan_switch_te_cmd β€” Channel Switch Time Event command. that's it, that's the whole vibe πŸ’…


✨ SYNOPSIS ✨

struct iwl_chan_switch_te_cmd {
    __le32 mac_id;
    __le32 action;
    __le32 tsf;
    u8 cs_count;
    u8 cs_delayed_bcn_count;
    u8 cs_mode;
    u8 reserved;
 };

look at her. seven fields, all dressed up, ready to tell the firmware about a channel switch. no cap πŸŽ€


πŸ¦‹ Members πŸ¦‹

so bestie, here's the field-by-field breakdown β€” every single one, we do not skip πŸ“

  • mac_id β€” the MAC ID for the channel switch, like the little name tag this operation wears to the party.
  • action β€” the action to perform. peep enum iwl_ctxt_action for the actual menu of options, iykyk.
  • tsf β€” beacon tsf. that's the timestamp field, doing timestamp things ⭐
  • cs_count β€” the channel switch count, straight from the CSA/eCSA IE. it's giving "how many more beacons till we dip." πŸ’€
  • cs_delayed_bcn_count β€” okay this one's important: if it's set to N (where N != 0), the GO/AP can delay N beacon intervals at the new channel after the channel switch. but if N == 0, then nah β€” expect the beacon right after the channel switch, no lollygagging. πŸ™ˆ
  • cs_mode β€” 1 - quiet, 0 - otherwise. simple as that, no notes πŸ‘‘
  • reserved β€” reserved for alignment purposes. she's just there to keep things cute and aligned, main character energy but zero lines 🌈

πŸ”₯ SEE ALSO πŸ”₯

okay this is the long part bestie, grab a snack, we're listing every single one fr fr πŸ’œ

  • Kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/mac-cfg.h
  • enum iwl_mac_conf_subcmd_ids(9)
  • struct iwl_p2p_noa_attr(9)
  • struct iwl_probe_resp_data_notif(9)
  • struct iwl_missed_vap_notif(9)
  • struct iwl_channel_switch_start_notif_v1(9)
  • struct iwl_channel_switch_start_notif(9)
  • struct iwl_channel_switch_error_notif_v1(9)
  • struct iwl_channel_switch_error_notif(9)
  • struct iwl_cancel_channel_switch_cmd(9)
  • struct iwl_mac_low_latency_cmd(9)
  • struct iwl_mac_client_data(9)
  • struct iwl_mac_p2p_dev_data(9)
  • enum iwl_mac_config_filter_flags(9)
  • struct iwl_mac_wifi_gen_support_v2(9)
  • struct iwl_mac_wifi_gen_support(9)
  • struct iwl_mac_config_cmd_v3(9)
  • struct iwl_mac_nan_data(9)
  • struct iwl_mac_config_cmd(9)
  • enum iwl_link_ctx_modify_flags(9)
  • enum iwl_link_ctx_protection_flags(9)
  • enum iwl_link_ctx_flags(9)
  • enum iwl_link_modify_bandwidth(9)
  • enum iwl_npca_flags(9)
  • struct iwl_npca_params(9)
  • struct iwl_link_config_cmd(9)
  • enum iwl_fw_sta_type(9)
  • struct iwl_sta_cfg_cmd_v1(9)
  • struct iwl_sta_cfg_cmd_v2(9)
  • struct iwl_sta_cfg_cmd(9)
  • struct iwl_aux_sta_cmd(9)
  • struct iwl_remove_sta_cmd(9)
  • struct iwl_mvm_sta_disable_tx_cmd(9)
  • enum iwl_mvm_fw_esr_recommendation(9)
  • struct iwl_esr_mode_notif_v1(9)
  • enum iwl_esr_leave_reason(9)
  • struct iwl_esr_mode_notif(9)
  • struct iwl_missed_beacons_notif(9)
  • struct iwl_esr_trans_fail_notif(9)
  • struct iwl_twt_operation_cmd(9)
  • struct iwl_nan_band_config(9)
  • enum iwl_nan_flags(9)
  • struct iwl_nan_config_cmd(9)
  • struct iwl_nan_schedule_cmd_v1(9)
  • struct iwl_nan_schedule_cmd(9)
  • struct iwl_nan_peer_cmd(9)
  • enum iwl_nan_cluster_notif_flags(9)
  • struct iwl_nan_cluster_notif(9)
  • struct iwl_nan_dw_end_notif(9)
  • struct iwl_nan_ulw_attr_notif(9)
  • enum iwl_nan_sched_update_status(9)
  • struct iwl_nan_sched_update_completed_notif(9)

like I said. every. single. one. πŸ’…βœ¨


and that's the page bestie!! πŸŽ€ before you go β€” the source lives under ./drivers/net/wireless/intel/i... (the manual truncates the path, that's just how it is, don't come for me 😭), it's dated October 2026, and yes the footer title is literally struct iwl_...witch_te_cmd(9) because even the manpage generator got lazy with the name. slay. bye bestie, go read some wifi headers πŸ’–πŸ¦‹

πŸ“¦ where this page comes from