STRUCT QMI_ELEM_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct qmi_elem_info(9) β€” like, the whole vibe

okay so bestie, welcome to page struct qmi_elem_info(9) from the Kernel API Manual ✨ this one's a struct that literally exists to describe how to encode a single QMI element. that's it. that's the whole job. and honestly? she's iconic for it πŸŽ€


🌸 NAME

struct qmi_elem_info β€” describes how to encode a single QMI element πŸ’–


✨ SYNOPSIS

struct qmi_elem_info {
    enum qmi_elem_type data_type;
    u32 elem_len;
    u32 elem_size;
    enum qmi_array_type array_type;
    u8 tlv_type;
    u32 offset;
    const struct qmi_elem_info *ei_array;
 };

no cap, that's the whole shape of her πŸ‘‘


πŸ¦‹ Members

  • data_type β€” the data type of this element. literally just: what kind of thing are we even encoding here πŸ’…
  • elem_len β€” array length of this element, if it's an array. if it's not an array… well, look at the "if" bestie πŸ™ˆ
  • elem_size β€” size of a single instance of this data type. one (1) instance. singular energy ⭐
  • array_type β€” the array type of this element 🌈
  • tlv_type β€” QMI message specific type used to identify which element is present in an incoming message. it's giving name-tag-at-the-party energy πŸŽ€
  • offset β€” specifies the offset of the first instance of this element in the data structure. first instance only, don't get it twisted 🫢
  • ei_array β€” a null-terminated array of qmi_elem_info to describe nested structures. yes, it's the same struct, inside the struct, describing more structs β€” recursive queen behavior πŸ‘‘πŸ’€

πŸ’œ SEE ALSO

Kernel file ./include/linux/soc/qcom/qmi.h πŸ’– and her whole friend group:

  • struct qmi_header(9)
  • struct qmi_response_type_v01(9)
  • struct qmi_service(9)
  • struct qmi_ops(9)
  • struct qmi_txn(9)
  • struct qmi_msg_handler(9)
  • struct qmi_handle(9)

go read them all, iykyk 🌸


fr fr that's every member, every field, and every friend. nothing skipped, bestie β€” the vibe check passed πŸ”₯

okay bye ily, this page lives in ./include/linux/soc/qcom, it's dated October 2026, and it answers to struct qmi_elem_info(9) β€” slay πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from