STRUCT IWL_PRPH_SCRATCH_VERSION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

struct iwl_prph_scratch_version β€” bestie, this is the version structure, periodt ✨

So like, welcome to the Kernel API Manual, which is the manual name btw, and this whole page is about one little struct that tells the firmware what version of the peripheral scratch thingy it's looking at. It's giving "tiny but important" energy fr fr πŸŽ€


🌸 SYNOPSIS 🌸

struct iwl_prph_scratch_version {
    __le16 mac_id;
    __le16 version;
    __le16 size;
    __le16 reserved;
 };

Like, that's literally the whole thing. Four __le16 fields. Small, iconic, does its job πŸ’–


✨ Members ✨

  • mac_id β€” the SKU and revision id, iykyk πŸ‘‘
  • version β€” the prph scratch information version id, which is literally how you know which version of the info you're dealing with πŸ¦‹
  • size β€” the size of the context information, measured in DWs (yes, DWs, that's the unit, don't @ me) πŸŽ€
  • reserved β€” reserved. That's it. That's the whole description. Leave it alone bestie πŸ™ˆ

🫢 SEE ALSO 🫢

Obsessed with how many friends this struct has, ngl. It lives in the kernel file ./drivers/net/wireless/intel/iwlwifi/pcie/iwl-context-info-v2.h, and it's hanging out with:

  • enum iwl_prph_scratch_mtr_format(9)
  • enum iwl_prph_scratch_flags(9)
  • enum iwl_prph_scratch_ext_flags(9)
  • struct iwl_prph_scratch_control(9)
  • struct iwl_prph_scratch_pnvm_cfg(9)
  • struct iwl_prph_scratch_mem_desc_addr_array(9)
  • struct iwl_prph_scratch_hwm_cfg(9)
  • struct iwl_prph_scratch_rbd_cfg(9)
  • struct iwl_prph_scratch_uefi_cfg(9)
  • struct iwl_prph_scratch_step_cfg(9)
  • struct iwl_prph_scratch_ctrl_cfg(9)
  • struct iwl_context_info_dram_fseq(9)
  • struct iwl_prph_scratch(9)
  • struct iwl_prph_info(9)
  • struct iwl_context_info_v2(9)

Like, the whole squad is here. Go read them all, no cap πŸ’œ


🌈 And that's the page! It came from ./drivers/net/wireless/intel/i... and it's dated October 2026, and it will forever be known as struct iwl_...atch_version(9). Slay. Byeee πŸ’…βœ¨
πŸ“¦ where this page comes from