STRUCT QMI_ELEM_INFO(9)
π 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 ofqmi_elem_infoto 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
- 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