mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
cnss2: Update WLFW QMI host cap message
Update new field to WLFW QMI host cap message. Change-Id: Id2ca69b9b27f68a827baa69239c41ee76f324430 Signed-off-by: Yue Ma <yuem@codeaurora.org>
This commit is contained in:
parent
e6437c634f
commit
2b247445d3
2 changed files with 22 additions and 1 deletions
|
|
@ -2591,6 +2591,24 @@ struct qmi_elem_info wlfw_host_cap_req_msg_v01_ei[] = {
|
|||
.elem_size = sizeof(u8),
|
||||
.array_type = NO_ARRAY,
|
||||
.tlv_type = 0x1E,
|
||||
.offset = offsetof(struct wlfw_host_cap_req_msg_v01,
|
||||
platform_name_valid),
|
||||
},
|
||||
{
|
||||
.data_type = QMI_STRING,
|
||||
.elem_len = QMI_WLFW_MAX_PLATFORM_NAME_LEN_V01 + 1,
|
||||
.elem_size = sizeof(char),
|
||||
.array_type = NO_ARRAY,
|
||||
.tlv_type = 0x1E,
|
||||
.offset = offsetof(struct wlfw_host_cap_req_msg_v01,
|
||||
platform_name),
|
||||
},
|
||||
{
|
||||
.data_type = QMI_OPT_FLAG,
|
||||
.elem_len = 1,
|
||||
.elem_size = sizeof(u8),
|
||||
.array_type = NO_ARRAY,
|
||||
.tlv_type = 0x1F,
|
||||
.offset = offsetof(struct wlfw_host_cap_req_msg_v01,
|
||||
ddr_range_valid),
|
||||
},
|
||||
|
|
|
|||
|
|
@ -100,6 +100,7 @@
|
|||
#define QMI_WLFW_MAX_NUM_SHADOW_REG_V01 24
|
||||
#define QMI_WLFW_MAC_ADDR_SIZE_V01 6
|
||||
#define QMI_WLFW_MAX_NUM_SHADOW_REG_V2_V01 36
|
||||
#define QMI_WLFW_MAX_PLATFORM_NAME_LEN_V01 64
|
||||
#define QMI_WLFW_MAX_NUM_SVC_V01 24
|
||||
|
||||
enum wlfw_driver_mode_enum_v01 {
|
||||
|
|
@ -667,12 +668,14 @@ struct wlfw_host_cap_req_msg_v01 {
|
|||
u8 mem_cfg_mode;
|
||||
u8 cal_duration_valid;
|
||||
u16 cal_duration;
|
||||
u8 platform_name_valid;
|
||||
char platform_name[QMI_WLFW_MAX_PLATFORM_NAME_LEN_V01 + 1];
|
||||
u8 ddr_range_valid;
|
||||
struct wlfw_host_ddr_range_s_v01
|
||||
ddr_range[QMI_WLFW_MAX_HOST_DDR_RANGE_SIZE_V01];
|
||||
};
|
||||
|
||||
#define WLFW_HOST_CAP_REQ_MSG_V01_MAX_MSG_LEN 245
|
||||
#define WLFW_HOST_CAP_REQ_MSG_V01_MAX_MSG_LEN 312
|
||||
extern struct qmi_elem_info wlfw_host_cap_req_msg_v01_ei[];
|
||||
|
||||
struct wlfw_host_cap_resp_msg_v01 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue