STRUCT IWL_TRANS(9)
π struct iwl_trans(9) β the Kernel API Manual, bestie edition
okay so this is struct iwl_trans(9), the actual transport common data β¨ from the Kernel API Manual. ngl this struct is basically the main character of the iwlwifi transport layer β it's holding everything together and it knows it π
πΈ NAME
struct iwl_trans β transport common data π«
π SYNOPSIS
struct iwl_trans {
bool csme_own;
struct iwl_op_mode *op_mode;
const struct iwl_mac_cfg *mac_cfg;
const struct iwl_rf_cfg *cfg;
struct iwl_drv *drv;
struct iwl_trans_config conf;
enum iwl_trans_state state;
unsigned long status;
struct device *dev;
const struct iwl_trans_info info;
bool reduced_cap_sku;
bool step_urm;
bool suppress_cmd_error_once;
u8 pnvm_loaded:1;
u8 fail_to_parse_pnvm_image:1;
u8 reduce_power_loaded:1;
u8 failed_to_load_reduce_power_image:1;
struct dentry *dbgfs_dir;
#ifdef CONFIG_LOCKDEP;
struct lockdep_map sync_cmd_lockdep_map;
#endif;
struct iwl_trans_debug dbg;
struct iwl_self_init_dram init_dram;
struct {
struct delayed_work wk;
struct iwl_fw_error_dump_mode mode;
bool during_reset;
} restart;
u8 request_top_reset:1, do_top_reset:1;
char trans_specific[];
};
slay, look at all those fields π«Ά careful with the bitfields bestie, they're literally single bits and they are NOT here to play π
π¦ Members
here's the full roster, no skips, no "you get the idea" β every single one π
csme_ownβtrueif we couldn't get ownership on the device π¬ (yes that's how it's phrased, yes it's a little cursed)op_modeβ pointer to the op_modemac_cfgβ the trans-specific configuration part β¨cfgβ pointer to the configurationdrvβ pointer toiwl_drvconfβ configuration set by the opmode before enterstateβ current device statestatusβ a bit-mask of transport status flags π©devβ pointer tostruct device *that represents the deviceinfoβ device information for use by other layers π«Ά (sharing is caring)reduced_cap_skuβ reduced capability supported SKUstep_urmβ STEP is in URM, no support for MCS>9 in 320 MHz πsuppress_cmd_error_onceβ suppress"FW error in SYNC CMD"once, e.g. for testing πpnvm_loadedβ indicates PNVM was loaded βfail_to_parse_pnvm_imageβ set totrueif pnvm parsing failed πreduce_power_loadedβ indicates reduced power section was loadedfailed_to_load_reduce_power_imageβ set totrueif pnvm loading failed πdbgfs_dirβ iwlwifi debugfs base dir for this devicesync_cmd_lockdep_mapβ lockdep map for checking sync commandsdbgβ additional debug data, seestruct iwl_trans_debuginit_dramβ FW initialization DMA datarestartβ restart worker datarestart.wkβ restart workerrestart.modeβ reset/restart error mode informationrestart.during_resetβ error occurred during previous software reset β οΈ
request_top_resetβ TOP reset was requested, used by the reset worker that should be scheduled (with appropriate reason)do_top_resetβ indication to the (PCIe) transport/context-info to do the TOP resettrans_specificβ data for the specific transport this is allocated for/with π§
lowkey a lot of these aretrue/falseflags telling you something went sideways β please actually read them before you assume everything is fine bestie π
π₯ SEE ALSO
the whole friend group, in order, no cap π«Ά
- Kernel file
./drivers/net/wireless/intel/iwlwifi/iwl-trans.h - Transport layer - what is it ?(9)
- Life cycle of the transport layer(9)
enum CMD_MODE(9)struct iwl_device_cmd(9)struct iwl_device_tx_cmd(9)enum iwl_hcmd_dataflag(9)struct iwl_host_cmd(9)enum iwl_trans_status(9)struct iwl_dump_sanitize_ops(9)struct iwl_trans_config(9)struct iwl_trans_rxq_dma_data(9)struct iwl_pnvm_image(9)enum iwl_trans_state(9)- Platform power management(9)
enum iwl_ini_cfg_state(9)struct iwl_dram_data(9)struct iwl_dram_regions(9)struct iwl_fw_mon(9)struct iwl_self_init_dram(9)struct iwl_imr_data(9)struct iwl_pc_data(9)struct iwl_trans_debug(9)struct iwl_trans_info(9)iwl_trans_resched_with_nic_access(9)
and that's the whole page, periodt ππ before you go: this one came from ./drivers/net/wireless/intel/i... and it's dated October 2026 β so yeah, future-dated manpage energy, we love to see it π go read the transport layer docs, ily, 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