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

Commit 8e7bb956 authored by Rajasekaran Kalidoss's avatar Rajasekaran Kalidoss
Browse files

cnss2: Add cal duration in host capability request



Add cal duration in host capability request as host needs to support
best effort cold calibration.

Change-Id: I2bb162da4db2c72efb7866b665cff2cb5a4863a5
Signed-off-by: default avatarRajasekaran Kalidoss <rkalidos@codeaurora.org>
parent ea2b9a49
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 {