qmi_send_indication(9)
π qmi_send_indication(9) π
okay so real talk bestie, this is a Kernel API Manual page β that's the vibe, that's the genre β and it's literally all about yeeting an indication QMI message out into the world. no cap, that's the whole thing. let's get into it π«Ά
β¨ NAME β¨
qmi_send_indication β send an indication QMI message π
πΈ SYNOPSIS πΈ
ssize_t qmi_send_indication (struct qmi_handle *qmi , struct
sockaddr_qrtr *sq , int msg_id , size_t len , const struct qmi_elem_info
*ei , const void *c_struct );
π¦ ARGUMENTS π¦
so there are exactly six things you're handing over here, and every single one matters. no skipping, i see you π
qmiβ the QMI client handle. this is your main character, the whole reason we're here π«sqβ the destinationsockaddr. like, where's it going? this. this is where it's going.msg_idβ the message id. yes it's called that, yes that's what it is πlenβ the max length of the QMI message. maximum. cap it. π₯eiβ the QMI message description, aka thestruct qmi_elem_infosituation π§c_structβ the object to be encoded. it's giving "raw material" energy β¨
π RETURN π
0on success π- a negative errno on failure π
that's it. that's the whole contract. slay.
π SEE ALSO π
the kernel file lives at ./drivers/soc/qcom/qmi_interface.c and like⦠the friend group is huge. go say hi to all of them, iykyk:
qmi_recv_new_server(9)qmi_recv_del_server(9)qmi_recv_bye(9)qmi_recv_del_client(9)qmi_add_lookup(9)qmi_add_server(9)qmi_txn_init(9)qmi_txn_wait(9)qmi_txn_cancel(9)qmi_invoke_handler(9)qmi_handle_net_reset(9)qmi_handle_init(9)qmi_handle_release(9)qmi_send_message(9)qmi_send_request(9)qmi_send_response(9)
okay that's the page!! π and for the cute little sign-off moment: this one comes to you from ./drivers/soc/qcom, dated October 2026, and it will forever be known as qmi_send_indication(9). periodt ππ¦
π¦ 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