ENUM IWL_TX_FLAGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– enum iwl_tx_flags(9) πŸ’–

okay bestie, welcome to this Kernel API Manual page for enum iwl_tx_flags(9) β€” it's giving β€œbitmask lore” and honestly it ate. This is all about the bitmasks for tx_flags in the TX command. No cap, every constant matters here, so let's get into it ✨


🌸 NAME 🌸

enum iwl_tx_flags β€” bitmasks for tx_flags in the TX command πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

       enum iwl_tx_flags {
           TX_CMD_FLG_PROT_REQUIRE ,
           TX_CMD_FLG_WRITE_TX_POWER ,
           TX_CMD_FLG_ACK ,
           TX_CMD_FLG_STA_RATE ,
           TX_CMD_FLG_BAR ,
           TX_CMD_FLG_TXOP_PROT ,
           TX_CMD_FLG_VHT_NDPA ,
           TX_CMD_FLG_HT_NDPA ,
           TX_CMD_FLG_CSI_FDBK2HOST ,
           TX_CMD_FLG_BT_PRIO_POS ,
           TX_CMD_FLG_BT_PRIO_MASK ,
           TX_CMD_FLG_BT_DIS ,
           TX_CMD_FLG_SEQ_CTL ,
           TX_CMD_FLG_MORE_FRAG ,
           TX_CMD_FLG_TSF ,
           TX_CMD_FLG_CALIB ,
           TX_CMD_FLG_KEEP_SEQ_CTL ,
           TX_CMD_FLG_MH_PAD ,
           TX_CMD_FLG_RESP_TO_DRV ,
           TX_CMD_FLG_TKIP_MIC_DONE ,
           TX_CMD_FLG_DUR ,
           TX_CMD_FLG_FW_DROP ,
           TX_CMD_FLG_EXEC_PAPD ,
           TX_CMD_FLG_PAPD_TYPE ,
           TX_CMD_FLG_HCCA_CHUNK

       };

πŸŽ€ Constants πŸŽ€

bestie, here's the whole flag squad, one by one, with zero skips πŸ’–

  • TX_CMD_FLG_PROT_REQUIRE β€” use RTS or CTS-to-self to protect the frame.
  • TX_CMD_FLG_WRITE_TX_POWER β€” update the current tx power value in the mgmt frame.
  • TX_CMD_FLG_ACK β€” expect ACK from the receiving station.
  • TX_CMD_FLG_STA_RATE β€” use the RS table with the initial index from the TX command. Otherwise, use rate_n_flags from the TX command.
  • TX_CMD_FLG_BAR β€” this frame is a BA request, and an immediate BAR is expected. You must set TX_CMD_FLG_ACK with this flag.
  • TX_CMD_FLG_TXOP_PROT β€” TXOP protection requested.
  • TX_CMD_FLG_VHT_NDPA β€” mark frame is NDPA for VHT beamformer sequence.
  • TX_CMD_FLG_HT_NDPA β€” mark frame is NDPA for HT beamformer sequence.
  • TX_CMD_FLG_CSI_FDBK2HOST β€” mark to send feedback to host (only if good CRC).
  • TX_CMD_FLG_BT_PRIO_POS β€” the position of the BT priority (bit 11 is ignored on old firmwares).
  • TX_CMD_FLG_BT_PRIO_MASK β€” BT priority value.
  • TX_CMD_FLG_BT_DIS β€” disable BT priority for this frame.
  • TX_CMD_FLG_SEQ_CTL β€” set if FW should override the sequence control. Should be set for mgmt, non-QOS data, mcast, bcast and in scan command.
  • TX_CMD_FLG_MORE_FRAG β€” this frame is non-last MPDU.
  • TX_CMD_FLG_TSF β€” FW should calculate and insert TSF in the frame. Should be set for beacons and probe responses.
  • TX_CMD_FLG_CALIB β€” activate PA TX power calibrations.
  • TX_CMD_FLG_KEEP_SEQ_CTL β€” if seq_ctl is set, don't increase inner seq count.
  • TX_CMD_FLG_MH_PAD β€” driver inserted 2 byte padding after MAC header. Should be set for 26/30 length MAC headers.
  • TX_CMD_FLG_RESP_TO_DRV β€” zero this if the response should go only to FW.
  • TX_CMD_FLG_TKIP_MIC_DONE β€” FW already performed TKIP MIC calculation.
  • TX_CMD_FLG_DUR β€” disable duration overwriting used in PS-Poll Assoc-id.
  • TX_CMD_FLG_FW_DROP β€” FW should mark frame to be dropped.
  • TX_CMD_FLG_EXEC_PAPD β€” execute PAPD.
  • TX_CMD_FLG_PAPD_TYPE β€” 0 for reference power, 1 for nominal power.
  • TX_CMD_FLG_HCCA_CHUNK β€” mark start of TSPEC chunk.

πŸ‘€ SEE ALSO πŸ‘€

the kernel file involved is ./drivers/net/wireless/intel/iwlwifi/fw/api/tx.h, and it's serving enum iwl_tx_cmd_flags(9), plus all these linked beauties:

  • enum iwl_tx_cmd_flags(9)
  • enum iwl_tx_pm_timeouts(9)
  • enum iwl_tx_cmd_sec_ctrl(9)
  • enum iwl_tx_offload_assist_flags_pos(9)
  • struct iwl_tx_cmd_v6_params(9)
  • struct iwl_tx_cmd_v6(9)
  • struct iwl_tx_cmd_v9(9)
  • struct iwl_tx_cmd(9)
  • struct agg_tx_status(9)
  • struct iwl_tx_resp_v3(9)
  • struct iwl_tx_resp(9)
  • struct iwl_mvm_ba_notif(9)
  • struct iwl_compressed_ba_tfd(9)
  • struct iwl_compressed_ba_ratid(9)
  • struct iwl_compressed_ba_notif(9)
  • struct iwl_mac_beacon_cmd_v6(9)
  • struct iwl_mac_beacon_cmd_v7(9)
  • struct iwl_mac_beacon_cmd(9)
  • struct iwl_extended_beacon_notif_v5(9)
  • struct iwl_extended_beacon_notif(9)
  • enum iwl_dump_control(9)
  • struct iwl_tx_path_flush_cmd_v1(9)
  • struct iwl_tx_path_flush_cmd(9)
  • struct iwl_flush_queue_info(9)
  • struct iwl_tx_path_flush_cmd_rsp(9)
  • struct iwl_scd_txq_cfg_cmd(9)
  • struct iwl_scd_txq_cfg_rsp(9)

source/version: ./drivers/net/wireless/intel/i... β€” date: October 2026. byeee bestie, go slay those TX flags πŸ’…βœ¨πŸ«Ά

πŸ“¦ where this page comes from