STRUCT IWL_TDLS_CHANNEL_SWITCH_CMD(9)
π¦ 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'ssee enum iwl_tdls_channel_switch_typefor 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 astruct 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms