ENUM IWL_CTXT_ID_AND_COLOR(9)
β¨ 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 byiwlmldcan 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.henum 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms