ENUM IPC_MEM_MSG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum ipc_mem_msg(9) β€” the Kernel API Manual page, but make it make sense

okay so bestie, this is a page from the Kernel API Manual and it's all about one little enum that basically tells the modem firmware what kind of message it's looking at. it's giving "menu of message types" energy. let's get into it 🫢


✨ NAME ✨

enum ipc_mem_msg β€” the type-definition of the messages. that's it, that's the whole vibe check. it's the enum that says "which message is this?" πŸ’Œ


🌸 SYNOPSIS 🌸

enum ipc_mem_msg {
    IPC_MEM_MSG_OPEN_PIPE ,
    IPC_MEM_MSG_CLOSE_PIPE ,
    IPC_MEM_MSG_ABORT_PIPE ,
    IPC_MEM_MSG_SLEEP ,
    IPC_MEM_MSG_FEATURE_SET

};

literally just the five members, no cap. every single one is listed down below πŸ‘‡


πŸŽ€ Constants πŸŽ€

so these are the actual members of the enum, and each one comes with an AP ->CP: note β€” that means it's a message going from AP to CP (application processor to communication processor, iykyk). the descriptions are doing the most, so let's go one by one πŸ’–

  • IPC_MEM_MSG_OPEN_PIPE β€” AP ->CP: open a pipe. that's the whole thing. iconic, brief, slay. πŸ¦‹
  • IPC_MEM_MSG_CLOSE_PIPE β€” AP ->CP: close a pipe. the matching energy to open, fr fr.
  • IPC_MEM_MSG_ABORT_PIPE β€” AP ->CP: wait for completion of the running transfer and abort all pending IO-transfers for the pipe. okay so this one is a little more dramatic β€” it waits for the currently running transfer to finish, then kills off every pending IO-transfer on that pipe 😭
  • IPC_MEM_MSG_SLEEP β€” AP ->CP: host enter or exit sleep. yes, it does both directions β€” sleep mode on, sleep mode off πŸ’€
  • IPC_MEM_MSG_FEATURE_SET β€” AP ->CP: Intel feature configuration. this is the one carrying the Intel feature config. main character of the config world πŸ‘‘

πŸ”₯ SEE ALSO πŸ”₯

okay bestie, buckle up, because this list is long β€” but every single one of these matters, so here we go, no skipping πŸ’€

the kernel file itself lives at ./drivers/net/wwan/iosm/iosm_ipc_protocol_ops.h, and then you've got:

like I said. long. but we read the whole thing, periodt. πŸ“šβœ¨


ngl, if you're deep in the iosm WWAN driver, this enum is your new bestie β€” it's the thing that labels every message so the protocol side knows what to do with it πŸ’…

that's the page, bestie! πŸŽ€ it shipped from ./drivers/net/wwan/iosm, dated October 2026, and it's enum ipc_mem_msg(9) in the Kernel API Manual. go forth and open some pipes πŸŒˆπŸ’œ

πŸ“¦ where this page comes from