STRUCT IWL_DBG_MEM_ACCESS_CMD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct iwl_dbg_mem_access_cmd β€” the little struct that literally asks the device to read or write memory 🫢 (this is a page from the Kernel API Manual, bestie, so buckle up)


✨ SYNOPSIS ✨

struct iwl_dbg_mem_access_cmd {
    __le32 op;
    __le32 addr;
    __le32 len;
    __le32 data[];
 };

okay so that trailing data[] is a flexible array member and yes she IS the main character of this struct, we'll get to her πŸ’…


🌸 Members 🌸

  • op β€” the operation, and it's one of the DEBUG_MEM_OP_* values πŸŽ€
  • addr β€” the address you're reading from or writing to, iykyk
  • len β€” how much to read or write, and bestie this is counted in dwords, not bytes, so don't come for me with byte math 😭
  • data β€” for write operations this holds the source buffer πŸ’– (read-only ops, she just vibes)

πŸ¦‹ SEE ALSO πŸ¦‹

no cap, this struct has a whole friend group and they're all listed in the kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/debug.h 🌈

  • enum iwl_debug_cmds(9)
  • 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_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)
like, that's a lot of friends, but every single one of them is important, don't skip the list πŸ”₯

that's the whole page, periodt πŸ’œ it lives at ./drivers/net/wireless/intel/i... and it's dated October 2026, so yeah, mark your calendar bestie β€” this one was served to you fresh βœ¨πŸ‘‘πŸ“

πŸ“¦ where this page comes from