qmi_send_indication(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 destination sockaddr. 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 the struct qmi_elem_info situation 🧚
  • c_struct β€” the object to be encoded. it's giving "raw material" energy ✨

πŸ‘‘ RETURN πŸ‘‘

  • 0 on 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:


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