ENUM IWL_CONTEXT_INFO_FLAGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ enum iwl_context_info_flags(9) β€” the Kernel API Manual, bestie edition πŸŽ€

Okay so welcome to the glow-up of enum iwl_context_info_flags(9) β€” literally the handbook for Context information control flags πŸ’… this is the little enum that tells the firmware how to behave, and we're gonna read it together like it's a group chat 🫢


✨ NAME ✨

enum iwl_context_info_flags β€” Context information control flags πŸŽ€ no cap, that's the whole vibe: these are the flags that control the context info block.


🌸 SYNOPSIS 🌸

enum iwl_context_info_flags {
    IWL_CTXT_INFO_AUTO_FUNC_INIT ,
    IWL_CTXT_INFO_EARLY_DEBUG ,
    IWL_CTXT_INFO_ENABLE_CDMP ,
    IWL_CTXT_INFO_RB_CB_SIZE ,
    IWL_CTXT_INFO_TFD_FORMAT_LONG ,
    IWL_CTXT_INFO_RB_SIZE ,
    IWL_CTXT_INFO_RB_SIZE_1K ,
    IWL_CTXT_INFO_RB_SIZE_2K ,
    IWL_CTXT_INFO_RB_SIZE_4K ,
    IWL_CTXT_INFO_RB_SIZE_8K ,
    IWL_CTXT_INFO_RB_SIZE_12K ,
    IWL_CTXT_INFO_RB_SIZE_16K ,
    IWL_CTXT_INFO_RB_SIZE_20K ,
    IWL_CTXT_INFO_RB_SIZE_24K ,
    IWL_CTXT_INFO_RB_SIZE_28K ,
    IWL_CTXT_INFO_RB_SIZE_32K

};

Like, look at her. Sixteen members, all present, all accounted for, nothing skipped πŸ‘‘πŸ”₯


πŸ¦‹ Constants πŸ¦‹

Bestie, here's the tea on every single one of them β€” same facts, just with the personality they deserve πŸ’–

  • IWL_CTXT_INFO_AUTO_FUNC_INIT β€” when this one's set, the FW will not wait before interrupting the init done for the driver command that configures several system modes ✨ (yes, exactly that sentence's meaning, just said with feeling).
  • IWL_CTXT_INFO_EARLY_DEBUG β€” enable early debug πŸ›πŸ’œ
  • IWL_CTXT_INFO_ENABLE_CDMP β€” enable core dump πŸ’€ (the literal core dump, not the slang one, though honestly both apply).
  • IWL_CTXT_INFO_RB_CB_SIZE β€” this is the mask of the RBD Cyclic Buffer Size exponent. The actual size is 2**value, valid sizes are 8-2048. The value is four bits long. Maximum valid exponent is 12 ⭐ (do not come for her with exponent 13, she will simply not).
  • IWL_CTXT_INFO_TFD_FORMAT_LONG β€” use long TFD Format. The default is short format β€” and heads up, short format is not supported by the driver πŸ™ˆ so this one's lowkey mandatory energy.
  • IWL_CTXT_INFO_RB_SIZE β€” the RB size mask, and the values are IWL_CTXT_INFO_RB_SIZE_*K πŸŽ€
  • IWL_CTXT_INFO_RB_SIZE_1K β€” Value for 1K RB size
  • IWL_CTXT_INFO_RB_SIZE_2K β€” Value for 2K RB size
  • IWL_CTXT_INFO_RB_SIZE_4K β€” Value for 4K RB size
  • IWL_CTXT_INFO_RB_SIZE_8K β€” Value for 8K RB size
  • IWL_CTXT_INFO_RB_SIZE_12K β€” Value for 12K RB size
  • IWL_CTXT_INFO_RB_SIZE_16K β€” Value for 16K RB size
  • IWL_CTXT_INFO_RB_SIZE_20K β€” Value for 20K RB size
  • IWL_CTXT_INFO_RB_SIZE_24K β€” Value for 24K RB size
  • IWL_CTXT_INFO_RB_SIZE_28K β€” Value for 28K RB size
  • IWL_CTXT_INFO_RB_SIZE_32K β€” Value for 32K RB size 🌈
Ngl, the whole 1K β†’ 32K run is giving "collect them all" and honestly? We love a complete set πŸ’…

πŸ’œ SEE ALSO πŸ’œ

Go read the neighbors, they're all iconic in their own right:

  • Kernel file ./drivers/net/wireless/intel/iwlwifi/pcie/iwl-context-info.h
  • struct iwl_context_info_version(9)
  • struct iwl_context_info_control(9)
  • struct iwl_context_info_dram_nonfseq(9)
  • struct iwl_context_info_rbd_cfg(9)
  • struct iwl_context_info_hcmd_cfg(9)
  • struct iwl_context_info_dump_cfg(9)
  • struct iwl_context_info_pnvm_cfg(9)
  • struct iwl_context_info_early_dbg_cfg(9)
  • struct iwl_context_info(9)

Okay that's the whole page, bestie, you ate that 🫢✨ She ships out of ./drivers/net/wireless/intel/i... and the version stamp on this beauty is October 2026, all filed under enum iwl_context_info_flags(9) β€” periodt πŸ’…πŸŽ€

πŸ“¦ where this page comes from