Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a81548d4 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cnss2: Update QMI header to add voltage field target cap message"

parents 9f8c1030 49c7aac6
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -1220,6 +1220,24 @@ struct qmi_elem_info wlfw_cap_resp_msg_v01_ei[] = {
		.offset         = offsetof(struct wlfw_cap_resp_msg_v01,
					   num_macs),
	},
	{
		.data_type      = QMI_OPT_FLAG,
		.elem_len       = 1,
		.elem_size      = sizeof(u8),
		.array_type       = NO_ARRAY,
		.tlv_type       = 0x16,
		.offset         = offsetof(struct wlfw_cap_resp_msg_v01,
					   voltage_mv_valid),
	},
	{
		.data_type      = QMI_UNSIGNED_4_BYTE,
		.elem_len       = 1,
		.elem_size      = sizeof(u32),
		.array_type       = NO_ARRAY,
		.tlv_type       = 0x16,
		.offset         = offsetof(struct wlfw_cap_resp_msg_v01,
					   voltage_mv),
	},
	{
		.data_type      = QMI_EOTI,
		.array_type       = NO_ARRAY,
+3 −1
Original line number Diff line number Diff line
@@ -380,9 +380,11 @@ struct wlfw_cap_resp_msg_v01 {
	char fw_build_id[QMI_WLFW_MAX_BUILD_ID_LEN_V01 + 1];
	u8 num_macs_valid;
	u8 num_macs;
	u8 voltage_mv_valid;
	u32 voltage_mv;
};

#define WLFW_CAP_RESP_MSG_V01_MAX_MSG_LEN 207
#define WLFW_CAP_RESP_MSG_V01_MAX_MSG_LEN 214
extern struct qmi_elem_info wlfw_cap_resp_msg_v01_ei[];

struct wlfw_bdf_download_req_msg_v01 {