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

Commit cf68117b authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cnss2: Add cal duration in host capability request"

parents 0295d7c7 8e7bb956
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -2230,6 +2230,24 @@ struct elem_info wlfw_host_cap_req_msg_v01_ei[] = {
		.offset         = offsetof(struct wlfw_host_cap_req_msg_v01,
					   mem_cfg_mode),
	},
	{
		.data_type      = QMI_OPT_FLAG,
		.elem_len       = 1,
		.elem_size      = sizeof(u8),
		.is_array       = NO_ARRAY,
		.tlv_type       = 0x1D,
		.offset         = offsetof(struct wlfw_host_cap_req_msg_v01,
					   cal_duration_valid),
	},
	{
		.data_type      = QMI_UNSIGNED_2_BYTE,
		.elem_len       = 1,
		.elem_size      = sizeof(u16),
		.is_array       = NO_ARRAY,
		.tlv_type       = 0x1D,
		.offset         = offsetof(struct wlfw_host_cap_req_msg_v01,
					   cal_duration),
	},
	{
		.data_type      = QMI_EOTI,
		.is_array       = NO_ARRAY,
+3 −1
Original line number Diff line number Diff line
@@ -600,9 +600,11 @@ struct wlfw_host_cap_req_msg_v01 {
	u32 mem_bucket;
	u8 mem_cfg_mode_valid;
	u8 mem_cfg_mode;
	u8 cal_duration_valid;
	u16 cal_duration;
};

#define WLFW_HOST_CAP_REQ_MSG_V01_MAX_MSG_LEN 189
#define WLFW_HOST_CAP_REQ_MSG_V01_MAX_MSG_LEN 194
extern struct elem_info wlfw_host_cap_req_msg_v01_ei[];

struct wlfw_host_cap_resp_msg_v01 {