STRUCT IWL_CMD_HEADER_WIDE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct iwl_cmd_header_wide(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” this is the page for struct iwl_cmd_header_wide, aka the wide command header, and honestly? it's giving main character energy in the wireless firmware world. let's get into it 🫢


✨ SYNOPSIS ✨

struct iwl_cmd_header_wide {
    u8 cmd;
    u8 group_id;
    __le16 sequence;
    __le16 length;
    u8 reserved;
    u8 version;
 };

like, look at that lil struct. precious. iconic. no notes. πŸ’…


πŸŽ€ Members πŸŽ€

  • cmd β€” the command ID, like in struct iwl_cmd_header. same vibe, different struct bestie.
  • group_id β€” the group ID, like in struct iwl_cmd_header. again, matching energy.
  • sequence β€” the sequence, like in struct iwl_cmd_header. yep, it's a matching set, we love consistency ✨
  • length β€” literally the length of the command. that's it. that's the field.
  • reserved β€” reserved πŸ‘€ (don't touch it, it's reserved, iykyk)
  • version β€” the command version. spicy metadata, love that for us.

🌸 Description 🌸

so here's the tea: this header format shows up at the beginning of each command sent from the driver, AND at the beginning of each response/notification received from uCode. every single one. it's the little name tag at the top of the message, fr fr.

and this one specifically is the wide version β€” the deluxe edition πŸ’… β€” which contains more information about the command, like the length, the version and the command type. more info, more slay. the way that a wider header just holds extra details? obsessed. πŸ¦‹


πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/cmdhdr.h β€” go read the source bestie, it's all in there πŸ“–
  • Host command section(9)
  • struct iwl_cmd_header(9)
  • struct iwl_calib_res_notif_phy_db(9)
  • struct iwl_phy_db_cmd(9)
  • struct iwl_cmd_response(9)

lowkey a whole friend group of structs. go say hi to all of them. πŸ’œ

and that's the page! sign-off time πŸŽ€ this one came from the source file ./drivers/net/wireless/intel/i..., dated October 2026, and it's all about struct iwl_cmd_header_wide(9). periodt. πŸ’–βœ¨

πŸ“¦ where this page comes from