ENUM IWL_CTXT_ID_AND_COLOR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ enum iwl_ctxt_id_and_color(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– β€” this little page is all about enum iwl_ctxt_id_and_color, which is literally the ID and color fields living inside a context dword. iykyk, it's giving "tiny bitfield, big responsibilities" energy πŸŽ€


🌸 NAME 🌸

enum iwl_ctxt_id_and_color β€” the ID and color fields in a context dword, no cap 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

enum iwl_ctxt_id_and_color {
    FW_CTXT_ID_POS ,
    FW_CTXT_ID_MSK ,
    FW_CTXT_COLOR_POS ,
    FW_CTXT_COLOR_MSK ,
    FW_CTXT_INVALID ,
    FW_CTXT_ID_INVALID

};

like, that's the whole enum. six constants, all vibes, all important πŸ’…


πŸ‘‘ Constants πŸ‘‘

  • FW_CTXT_ID_POS β€” the position of the ID. where the ID sits, fr fr πŸ“
  • FW_CTXT_ID_MSK β€” the mask of the ID. so you can pull that ID out, slay ✨
  • FW_CTXT_COLOR_POS β€” the position of the color. the color's little home address 🎨
  • FW_CTXT_COLOR_MSK β€” the mask of the color. grab the color, no guessing πŸ’œ
  • FW_CTXT_INVALID β€” the value used to indicate unused/invalid. it's the "nope, nothing here" value πŸ’€
  • FW_CTXT_ID_INVALID β€” value used to indicate unused/invalid. This can be used with newer firmware which no longer use the color. Typically, firmware versions supported by iwlmld can use this value. like, the newer firmware dropped the color entirely and this is the value it uses instead β€” iconic behavior tbh 🌈

🧚 SEE ALSO 🧚

  • Kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/context.h enum
  • iwl_ctxt_action(9)
bestie pls go read that header file if you want the full context (pun fully intended 😭) β€” this page is just the enum part πŸ“

and that's the whole thing! 🌸 source-wise this came from ./drivers/net/wireless/intel/i… (yes it's truncated in the footer, don't come for me πŸ™ˆ), dated October 2026, and it's the enum iwl_ctxt_id_and_color(9) page β€” mwah, go forth and mask those bits πŸ’…πŸ’–πŸ¦‹

πŸ“¦ where this page comes from