STRUCT IWL_TDLS_CONFIG_CMD(9)
π 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 firsttdls_peer_countentries are set β the rest are literally just standing there, unset, not invited π. it's an array ofstruct iwl_tdls_sta_info, sizedIWL_TDLS_STA_COUNT, iykykpti_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 astruct iwl_tx_cmd_v6_params, and it's giving parameters πpti_req_templateβ the PTI request template data itself. a flexible array memberu8 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 juststruct iwl_tdls_config_cmd(9). periodt πβ¨
π¦ 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