STRUCT IWL_TLC_CONFIG_CMD(9)
π¦ struct iwl_tlc_config_cmd β TLC configuration π¦
Okay bestie, so this one is a Kernel API Manual page, and it's literally the whole deal on struct iwl_tlc_config_cmd β the TLC config struct. No cap, it's just a struct + a member-by-member glow-up tour. Let's get into it π
β¨ SYNOPSIS β¨
Here's the whole vibe, verbatim, don't @ me:
struct iwl_tlc_config_cmd {
__le32 sta_mask;
__le32 phy_id;
u8 max_ch_width;
u8 mode;
u8 chains;
u8 sgi_ch_width_supp;
__le16 flags;
__le16 non_ht_rates;
__le32 ht_rates[IWL_TLC_NSS_MAX][IWL_TLC_MCS_PER_BW_NUM_V4];
__le16 max_mpdu_len;
__le16 max_tx_op;
};
π Members π
Girl. The members. Every single one, here we go:
sta_maskβ the station mask. And the tea here π΅: in NAN we can have multiple logical stations of the same peer (like, ones that share the same TLC configuration). Multiple. Logical. Stations. Iconic behavior honestly.phy_idβ the phy id that gets used for this TLC configuration.max_ch_widthβ the max supported channel width, straight fromenum iwl_tlc_mng_cfg_cw.modeβ it'senum iwl_tlc_mng_cfg_mode. That's it, that's the field.chainsβ a bitmask ofenum iwl_tlc_mng_cfg_chains.sgi_ch_width_suppβ a bitmap of SGI support per channel width, and you build it withBIT(enum iwl_tlc_mng_cfg_cw). Cute little bitwise moment.flagsβ a bitmask ofenum iwl_tlc_mng_cfg_flags.non_ht_ratesβ a bitmap of supported legacy rates. The old-school ones, respectfully.ht_ratesβ a bitmap ofenum iwl_tlc_mng_ht_rates, per<nss, channel-width>pair. And the pair indexing, iykyk:0β 80mhz width and below1β 160mhz2β 320mhz
max_mpdu_lenβ max MPDU length, in bytes. Bytes!! Not vibes.max_tx_opβ max TXOP in uSecs for all AC (BK,BE,VO,VI). Set it to zero for no limit π«Ά
π₯ SEE ALSO π₯
Kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/rs.h, plus this whole friend group:
enum iwl_tlc_mng_cfg_flags(9)enum iwl_tlc_mng_cfg_cw(9)enum iwl_tlc_mng_cfg_chains(9)enum iwl_tlc_mng_cfg_mode(9)enum iwl_tlc_mng_ht_rates(9)enum IWL_TLC_MCS_PER_BW(9)struct iwl_tlc_config_cmd_v3(9)struct iwl_tlc_config_cmd_v4(9)enum iwl_tlc_update_flags(9)struct iwl_tlc_update_notif(9)enum iwl_tlc_debug_types(9)struct iwl_dhc_tlc_cmd(9)struct iwl_lq_cmd(9)
β¨ okay that's the whole page, go forth and configure your TLC β¨
And the cute little sign-off, fr: this one came from ./drivers/net/wireless/intel/i... (the path is literally truncated like that, not my fault π), dated October 2026, out of the Kernel API Manual. Bye bestie, slay ππ
π¦ 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