STRUCT MUX_LITE_CMDH(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct mux_lite_cmdh(9) ✨

okay bestie, welcome to the Kernel API Manual πŸ’– today's main character is struct mux_lite_cmdh β€” literally the MUX Lite Command Header, and yes she's iconic for it πŸ‘‘


🌸 NAME 🌸

struct mux_lite_cmdh β€” the MUX Lite Command Header, no cap πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct mux_lite_cmdh {
    __le32 signature;
    __le16 cmd_len;
    u8 if_id;
    u8 reserved;
    __le32 command_type;
    __le32 transaction_id;
    union mux_cmd_param param;
 };

like, that's the whole vibe. every field is doing its little job and we love that for them 🫢


πŸ’… Members πŸ’…

  • signature β€” the Signature of the Command Header, and it's literally 0x48444D43. that's the number, don't come for her πŸ”₯
  • cmd_len β€” the Length (in bytes) of the command. important note bestie: this length shall include the header size. Minimum value: 0x10 ⭐ so don't try to go below that, she will not be having it.
  • if_id β€” the ID of the interface that the commands in the table belong to. iykyk 🌈
  • reserved β€” Reserved. Set to zero. that's it, that's the whole job πŸ’€ zero. zero. πŸ“
  • command_type β€” the Command Enum. cute little enum waking up and choosing violence 🧚
  • transaction_id β€” a 4 byte value that shall be generated and sent along with a command. Responses and ACKs shall have the same Transaction ID as their commands. and it shall be unique to the command transaction on the given interface β€” like a little fingerprint but make it bytes πŸ‘‘ no duplicates on the same interface, fr fr.
  • param β€” Optional parameters used with the command. the little extra sprinkle on top πŸŽ€

πŸ”₯ SEE ALSO πŸ”₯

everything below is in the Kernel file ./drivers/net/wwan/iosm/iosm_ipc_mux_codec.h β€” go read it, bestie, it's giving required reading πŸ“š


lowkey a whole friend group of structs and functions and every single one of them ate πŸ’– don't skip the cross-references, they're there for a reason πŸ¦‹

and that's the page, bestie!! brought to you by ./drivers/net/wwan/iosm, dated October 2026, and yeah the header/footer says struct mux_lite_cmdh(9) β€” periodt πŸ’œβœ¨πŸŒΈ

πŸ“¦ where this page comes from