ENUM IWL_DEBUG_CMDS(9)
πΈ NAME πΈ
enum iwl_debug_cmds β the debug commands, bestie π
and yes this is from the Kernel API Manual, like, the actual kernel, we're in the kernel rn π«Ά
β¨ SYNOPSIS β¨
okay so here's the whole enum, character for character, no cap:
enum iwl_debug_cmds {
LMAC_RD_WR ,
UMAC_RD_WR ,
HOST_EVENT_CFG ,
INVALID_WR_PTR_CMD ,
DBGC_SUSPEND_RESUME ,
BUFFER_ALLOCATION ,
GET_TAS_STATUS ,
FW_DUMP_COMPLETE_CMD ,
FW_CLEAR_BUFFER ,
MFU_ASSERT_DUMP_NTF
};
like, that's the entire vibe. ten constants. slay π₯
π CONSTANTS π
okay now the main character energy β one bullet per constant, and I'm not skipping a single one π
LMAC_RD_WRβ LMAC memory read/write, and it does it using structiwl_dbg_mem_access_cmdand structiwl_dbg_mem_access_rsp. two structs, one job β¨UMAC_RD_WRβ same energy but for UMAC memory read/write, also using structiwl_dbg_mem_access_cmdand structiwl_dbg_mem_access_rspπ¦HOST_EVENT_CFGβ updates the enabled event severities, via structiwl_dbg_host_event_cfg_cmdπINVALID_WR_PTR_CMDβ the invalid write pointer, and it's set in the TFD when it's not in use. she's literally just sitting there marking "nobody home" πDBGC_SUSPEND_RESUMEβ DBGC suspend/resume command (the source spells it "commad" and honestly? iconic, we keep her π ). Uses a single dword as data:0β resume DBGC recording,1β suspend DBGC recording. that's it, that's the whole dword πBUFFER_ALLOCATIONβ passes DRAM buffers to a DBGC, via structiwl_buf_alloc_cmdπGET_TAS_STATUSβ sends a command to fw to get TAS status, and the response is structiwl_tas_status_respβ round trip bestie πFW_DUMP_COMPLETE_CMDβ sends a command to fw once dump collection is completed, via structiwl_dbg_dump_complete_cmdβFW_CLEAR_BUFFERβ clears the firmware's internal buffer, and no payload. zero. nothing. empty. she said "no thoughts" π§MFU_ASSERT_DUMP_NTFβ structiwl_mfu_assert_dump_notif, that's the one π
π SEE ALSO π
the whole friend group, no one left behind π
- Kernel file
./drivers/net/wireless/intel/iwlwifi/fw/api/debug.h - struct
iwl_error_resp(9) - struct
iwl_shared_mem_cfg_v2(9) - struct
iwl_shared_mem_lmac_cfg(9) - struct
iwl_shared_mem_cfg(9) - struct
iwl_mfuart_load_notif_v1(9) - struct
iwl_mfuart_load_notif(9) - struct
iwl_mfu_assert_dump_notif(9) - enum
iwl_marker_id(9) - struct
iwl_marker(9) - struct
iwl_marker_rsp(9) - struct
iwl_dbg_mem_access_cmd(9) - struct
iwl_dbg_mem_access_rsp(9) - struct
iwl_dbg_suspend_resume_cmd(9) - struct
iwl_buf_alloc_frag(9) - struct
iwl_buf_alloc_cmd(9) - struct
iwl_dram_info(9) - struct
iwl_dbgc1_info(9) - struct
iwl_dbg_host_event_cfg_cmd(9) - struct
iwl_dbg_dump_complete_cmd(9) - struct
iwl_tas_status_per_mac(9) - struct
iwl_tas_status_resp(9) - enum
iwl_tas_dyna_status(9) - enum
iwl_tas_statically_disabled_reason(9) - enum
iwl_fw_dbg_config_cmd_type(9) - struct
iwl_fw_dbg_config_cmd(9)
ngl that's a long list but every single one is here, fr fr. go read them, they're lowkey obsessed with you π«Ά
okay that's the whole page!! sourced from ./drivers/net/wireless/intel/i... and dated October 2026 β like, future girl summer β anyway ily, go read the kernel, mwah πππ¦
π¦ 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