STRUCT IWL_TDLS_CONFIG_CMD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct iwl_tdls_config_cmd(9) β€” Kernel API Manual πŸ’…

okay so bestie, welcome to the struct iwl_tdls_config_cmd glow-up page ✨ this is the TDLS basic config command, and we're gonna get you two acquainted. it's from the Kernel API Manual, and honestly? she's iconic. let's go 🫢


🌸 NAME 🌸

struct iwl_tdls_config_cmd β€” the TDLS basic config command, aka the main character of this whole page πŸ‘‘


✨ SYNOPSIS ✨

here's the whole vibe, exactly as she ships:

struct iwl_tdls_config_cmd {
    __le32 id_and_color;
    u8 tdls_peer_count;
    u8 tx_to_ap_tid;
    __le16 tx_to_ap_ssn;
    struct iwl_tdls_sta_info sta_info[IWL_TDLS_STA_COUNT];
    __le32 pti_req_data_offset;
    struct iwl_tx_cmd_v6_params pti_req_tx_cmd;
    u8 pti_req_template[];
};

like, look at her. struct goals fr fr πŸ’–


πŸ¦‹ Members πŸ¦‹

okay now we do the little member-by-member tour, no skipping, we are NOT that girl who skips the boring parts 😀

  • id_and_color β€” the MAC id and color that's being configured. that's her whole identity bestie, MAC id and color 🌈
  • tdls_peer_count β€” how many TDLS peers are currently connected. the headcount at the party πŸŽ€
  • tx_to_ap_tid β€” the TID reserved vs. the AP for FW based Tx. reserved seat, VIP section only πŸ’…
  • tx_to_ap_ssn β€” the initial SSN that the FW should use for Tx on its TID vs. the AP. the starting point, the origin story ⭐
  • sta_info β€” per-station info. and listen, only the first tdls_peer_count entries are set β€” the rest are literally just standing there, unset, not invited 😭. it's an array of struct iwl_tdls_sta_info, sized IWL_TDLS_STA_COUNT, iykyk
  • pti_req_data_offset β€” the offset of the network-level data for the PTI template. where the actual data lives, lowkey ✨
  • pti_req_tx_cmd β€” the Tx parameters for the PTI request template. it's a struct iwl_tx_cmd_v6_params, and it's giving parameters πŸ’œ
  • pti_req_template β€” the PTI request template data itself. a flexible array member u8 pti_req_template[], hanging out at the end like the last one to leave the group chat πŸ™ˆ

🧚 SEE ALSO 🧚

the whole friend group, all linked from the 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_cmd(9)
  • struct iwl_tdls_channel_switch_notif(9)
  • struct iwl_tdls_sta_info(9)
  • struct iwl_tdls_config_sta_info_res(9)
  • struct iwl_tdls_config_res(9)

go read them too, they're all slay, and this struct references several of them directly (hi sta_info πŸ‘‹ hi pti_req_tx_cmd πŸ‘‹) πŸ¦‹


and that's the page!! πŸ’–

quick sign-off from your girl: this came out of ./drivers/net/wireless/intel/i..., dated October 2026, and the page is literally just struct iwl_tdls_config_cmd(9). periodt πŸ‘‘βœ¨
πŸ“¦ where this page comes from