ipc_protocol_tq_msg_send(9)
π ipc_protocol_tq_msg_send β the kernel API manual, section 9, bestie π
okay so real talk, we're in the kernel API manual (ipc_protocol_tq_msg_send(9)) and today's main character is a function that literally preps your msg and sends it to CP. that's the whole vibe. β¨
πΈ NAME πΈ
ipc_protocol_tq_msg_send β prepare the msg and send to CP π«Ά
β¨ SYNOPSIS β¨
int ipc_protocol_tq_msg_send (struct iosm_protocol *ipc_protocol , enum
ipc_msg_prep_type msg_type , union ipc_msg_prep_args *prep_args , struct
ipc_rsp *response );
like, that's the signature. it's giving "i take four things and i return an int" π
π¦ ARGUMENTS π¦
ipc_protocolβ pointer to anipc_protocolinstance. your whole protocol situation lives here, bestie πmsg_typeβ the message type. anenum ipc_msg_prep_type, ngl it tells the function what kind of msg we're dealing with π₯prep_argsβ message arguments. aunion ipc_msg_prep_args *, so it's the actual stuff going into the msg πresponseβ pointer to a response object which has a completion object and return code. yes, both. it's an icon, it does it all π
β RETURN β
0 on success, and a failure value on error. periodt. π
no cap, if you get anything other than 0 back, something went sideways β that's your failure value, go look at it.
π SEE ALSO π
kernel file ./drivers/net/wwan/iosm/iosm_ipc_protocol.h β and also the whole bestie squad:
struct ipc_protocol_context_info(9)struct ipc_protocol_device_info(9)struct ipc_protocol_ap_shm(9)struct iosm_protocol(9)struct ipc_call_msg_send_args(9)ipc_protocol_msg_send(9)ipc_protocol_suspend(9)ipc_protocol_s2idle_sleep(9)ipc_protocol_resume(9)ipc_protocol_pm_dev_sleep_handle(9)ipc_protocol_doorbell_trigger(9)ipc_protocol_sleep_notification_string(9)ipc_protocol_init(9)ipc_protocol_deinit(9)
like, read them all, they're literally all connected, iykyk π§
okay that's the whole page, mwah π this came from ./drivers/net/wwan/iosm, dated October 2026, and it's filed under ipc_protocol_tq_msg_send(9). slay, go send some msgs ππ
π¦ 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