ENUM IWL_DEBUG_CMDS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 struct iwl_dbg_mem_access_cmd and struct iwl_dbg_mem_access_rsp. two structs, one job ✨
  • UMAC_RD_WR β€” same energy but for UMAC memory read/write, also using struct iwl_dbg_mem_access_cmd and struct iwl_dbg_mem_access_rsp πŸ¦‹
  • HOST_EVENT_CFG β€” updates the enabled event severities, via struct iwl_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 struct iwl_buf_alloc_cmd πŸ“
  • GET_TAS_STATUS β€” sends a command to fw to get TAS status, and the response is struct iwl_tas_status_resp β€” round trip bestie 😭
  • FW_DUMP_COMPLETE_CMD β€” sends a command to fw once dump collection is completed, via struct iwl_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 β€” struct iwl_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