STRUCT IWL_TDLS_CHANNEL_SWITCH_TIMING(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

โœจ struct iwl_tdls_channel_switch_timing(9) โœจ

okay so bestie, welcome to the Kernel API Manual ๐Ÿ’– you're literally about to learn the switch timing struct for TDLS channel-switch and honestly? it's giving "small struct, big responsibilities" ๐Ÿ‘‘


๐ŸŽ€ NAME ๐ŸŽ€

struct iwl_tdls_channel_switch_timing โ€” the switch timing bits for TDLS channel-switch, no cap ๐Ÿ’…


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

struct iwl_tdls_channel_switch_timing {
    __le32 frame_timestamp;
    __le32 max_offchan_duration;
    __le32 switch_time;
    __le32 switch_timeout;
 };

look at her. four __le32 fields. iconic, honestly ๐ŸŒธ


๐Ÿ’œ Members ๐Ÿ’œ

  • frame_timestamp โ€” the GP2 timestamp of the channel-switch request/response packet that came in from the peer ๐Ÿซถ literally just "when did we get this packet" energy.
  • max_offchan_duration โ€” how many microseconds out of a DTIM get handed over to TDLS off-channel communication โœจ for example (and this is straight from the source, don't @ me): if the DTIM is 200TU and the TDLS peer is supposed to get 25% of the time, the value you give is 50TU โ€” which is 50 * 1024 if you translate it into microseconds ๐Ÿงฎ math girlies rise.
  • switch_time โ€” the switch time the peer sent in its channel switch timing IE ๐Ÿ’ซ it's their number, they said it, we're just holding it.
  • switch_timeout โ€” the switch timeout the peer sent in its channel switch timing IE โฐ same vibe, different field. the peer said it, it goes here.

๐ŸŒˆ SEE ALSO ๐ŸŒˆ

  • Kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/tdls.h
  • struct iwl_tdls_channel_switch_frame(9)
  • struct iwl_tdls_channel_switch_cmd_tail(9)
  • struct iwl_tdls_channel_switch_cmd(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 the whole squad, they all ate ๐Ÿ”ฅ


ok so real talk: this page is sourced from ./drivers/net/wireless/intel/i... and it's dated October 2026 โ€” so yeah, future vibes ๐Ÿ’€ anyway bestie that's the whole manual, go forth and switch channels responsibly ๐Ÿงšโ€โ™€๏ธ๐Ÿ’–๐ŸŽ€
๐Ÿ“ฆ where this page comes from