STRUCT IWL_TX_QUEUE_CFG_CMD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct iwl_tx_queue_cfg_cmd β€” txq hw scheduler config command ✨

okay bestie, so this is a page straight out of the Kernel API Manual πŸ’… and it's literally all about struct iwl_tx_queue_cfg_cmd β€” the command that tells the hardware scheduler how to set up a txq. yes ma'am, hardware scheduling era πŸŽ€


🌸 SYNOPSIS 🌸

struct iwl_tx_queue_cfg_cmd {
    u8 sta_id;
    u8 tid;
    __le16 flags;
    __le32 cb_size;
    __le64 byte_cnt_addr;
    __le64 tfdq_addr;
 };

like, that's the whole struct. six fields, all business, zero filler 🫢


πŸ‘‘ Members πŸ‘‘

  • sta_id β€” the station id. that's it, that's the field, she's just here to say which station we're talking about πŸ’–
  • tid β€” the tid of the queue. gotta know which one we mean ✨
  • flags β€” peep enum iwl_tx_queue_cfg_actions for these, iykyk πŸ‘€
  • cb_size β€” the size of the TFD cyclic buffer, and bestie this one's a sneaky little exponent situation: the value is exponent - 3. so the minimum value is 0 (that's 8 TFDs) and the maximum value is 5 (that's 256 TFDs). do NOT forget the -3, I'm begging πŸ”₯
  • byte_cnt_addr β€” the address of the byte count table πŸ“
  • tfdq_addr β€” the address of the TFD circular buffer πŸ“

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/txq.h
  • enum iwl_tx_queue_cfg_actions(9)
  • struct iwl_tx_queue_cfg_rsp(9)

ngl the cb_size exponent thing is the main character of this page. exponent minus three. she's iconic, she's confusing, she's correct πŸ’€

that's the whole vibe check bestie, go forth and configure those queues 🌈⭐

β€” from that kernel file under ./drivers/net/wireless/intel/i..., dated October 2026, page struct iwl_tx_queue_cfg_cmd(9). mwah, take care, bye πŸ’œπŸ§š

πŸ“¦ where this page comes from