STRUCT IWL_TFD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct iwl_tfd β€” Transmit Frame Descriptor (TFD) πŸ’–

okay so bestie, this is a page from the Kernel API Manual (the 9 section, kernel girlies know) and it's all about struct iwl_tfd, which literally stands for Transmit Frame Descriptor β€” TFD if you're in a hurry πŸ’…. it's giving "the little receipt that tells the hardware where your frames are at." iconic.


✨ SYNOPSIS ✨

here's the whole struct, laid out exactly as it lives, no cap:

struct iwl_tfd {
    u8 __reserved1[3];
    u8 num_tbs;
    struct iwl_tfd_tb tbs[IWL_NUM_OF_TBS];
    __le32 __pad;
 };

that's it. that's the queen. πŸŽ€


🌸 Members 🌸

okay let's go member by member, bestie, no skipping:

  • __reserved1 β€” reserved. it's just vibing there, 3 bytes of u8, not for you to touch πŸ™ˆ
  • num_tbs β€” the good part:
    • 0-4 β†’ number of active tbs πŸ”₯
    • 5 β†’ reserved
    • 6-7 β†’ padding (not used)
  • tbs β€” the transmit frame buffer descriptors, an array of struct iwl_tfd_tb sized IWL_NUM_OF_TBS. this is the main character energy of the whole struct ✨
  • __pad β€” padding. __le32. it's padding, that's the whole job, slay 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

go read these next, iykyk:

  • Kernel file ./drivers/net/wireless/intel/iwlwifi/iwl-fh.h
  • struct iwl_rb_status(9)
  • enum iwl_tfd_tb_hi_n_len(9)
  • struct iwl_tfd_tb(9)
  • struct iwl_tfh_tb(9)
  • struct iwl_tfh_tfd(9)
  • struct iwl_bc_tbl_entry(9)

and that's the page, bestie πŸ’œ β€” brought to you by the source at ./drivers/net/wireless/intel/i..., dated October 2026, part of the Kernel API Manual. go forth and describe your frames, you absolute icon πŸ‘‘

πŸ“¦ where this page comes from