STRUCT IWL_TX_QUEUE_CFG_CMD(9)
β¨ 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β peepenum iwl_tx_queue_cfg_actionsfor 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 is0(that's 8 TFDs) and the maximum value is5(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
- 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