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

This commit is contained in:
Linux Build Service Account 2019-01-08 21:26:04 -08:00 committed by Gerrit - the friendly Code Review server
commit cd4e8fc6f9
2 changed files with 21 additions and 1 deletions

View file

@ -2427,6 +2427,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,

View file

@ -625,9 +625,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 {