STRUCT IWL_TDLS_CHANNEL_SWITCH_CMD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct iwl_tdls_channel_switch_cmd β€” TDLS channel switch command πŸ¦‹

okay so bestie, this is a page from the Kernel API Manual, and it's all about struct iwl_tdls_channel_switch_cmd β€” the TDLS channel switch command. it lives in the kernel, it's lowkey iconic, and we're gonna go through it field by field. no skipping, fr fr πŸ’…


✨ SYNOPSIS ✨

struct iwl_tdls_channel_switch_cmd {
    u8 switch_type;
    __le32 peer_sta_id;
    struct iwl_fw_channel_info ci;
    struct iwl_tdls_channel_switch_cmd_tail tail;
 };

like, that's the whole shape of it πŸŽ€ four members, each one doing its own little job.


🌸 MEMBERS 🌸

  • switch_type β€” this one tells you which kind of switch it is, and it's see enum iwl_tdls_channel_switch_type for the actual values. iykyk πŸ‘‘
  • peer_sta_id β€” the station id of the TDLS peer. that's your bestie on the other end of the link 🫢
  • ci β€” the channel we switch to. it's a struct iwl_fw_channel_info, so it's carrying the whole channel situation, not just a number ✨
  • tail β€” the command tail, struct iwl_tdls_channel_switch_cmd_tail. the little ending bit. the garnish. we love her πŸ’–

πŸ’œ DESCRIPTION πŸ’œ

so the way this works: the command is sent to initiate a channel switch, and it's also sent in response to incoming TDLS channel-switch request/response packets from remote peers. both directions, main character energy, no cap πŸ”₯

literally the same command doing double duty β€” starting the switch AND replying to the remote peer's request/response packets. iconic behaviour honestly.

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/tdls.h
  • struct iwl_tdls_channel_switch_timing(9)
  • struct iwl_tdls_channel_switch_frame(9)
  • struct iwl_tdls_channel_switch_cmd_tail(9)
  • struct iwl_tdls_channel_switch_notif(9)
  • struct iwl_tdls_sta_info(9)
  • struct iwl_tdls_config_cmd(9)
  • struct iwl_tdls_config_sta_info_res(9)
  • struct iwl_tdls_config_res(9)

go read those too, bestie, they're all in the same little friend group 🧚


k that's the whole page!! source is ./drivers/net/wireless/intel/i..., dated October 2026, and it's page struct iwl_t...l_switch_cmd(9) of the Kernel API Manual πŸŽ€ slay, go switch some channels, drink water, mwah πŸ’–β­

πŸ“¦ where this page comes from