1 /* SPDX-License-Identifier: ISC */
3 * Copyright (c) 2018 The Linux Foundation. All rights reserved.
6 #ifndef WCN3990_QMI_SVC_V01_H
7 #define WCN3990_QMI_SVC_V01_H
9 #define WLFW_SERVICE_ID_V01 0x45
10 #define WLFW_SERVICE_VERS_V01 0x01
12 #define QMI_WLFW_BDF_DOWNLOAD_REQ_V01 0x0025
13 #define QMI_WLFW_MEM_READY_IND_V01 0x0037
14 #define QMI_WLFW_DYNAMIC_FEATURE_MASK_RESP_V01 0x003B
15 #define QMI_WLFW_INITIATE_CAL_UPDATE_IND_V01 0x002A
16 #define QMI_WLFW_HOST_CAP_REQ_V01 0x0034
17 #define QMI_WLFW_M3_INFO_REQ_V01 0x003C
18 #define QMI_WLFW_CAP_REQ_V01 0x0024
19 #define QMI_WLFW_FW_INIT_DONE_IND_V01 0x0038
20 #define QMI_WLFW_CAL_REPORT_REQ_V01 0x0026
21 #define QMI_WLFW_M3_INFO_RESP_V01 0x003C
22 #define QMI_WLFW_CAL_UPDATE_RESP_V01 0x0029
23 #define QMI_WLFW_CAL_DOWNLOAD_RESP_V01 0x0027
24 #define QMI_WLFW_XO_CAL_IND_V01 0x003D
25 #define QMI_WLFW_INI_RESP_V01 0x002F
26 #define QMI_WLFW_CAL_REPORT_RESP_V01 0x0026
27 #define QMI_WLFW_MAC_ADDR_RESP_V01 0x0033
28 #define QMI_WLFW_INITIATE_CAL_DOWNLOAD_IND_V01 0x0028
29 #define QMI_WLFW_HOST_CAP_RESP_V01 0x0034
30 #define QMI_WLFW_MSA_READY_IND_V01 0x002B
31 #define QMI_WLFW_ATHDIAG_WRITE_RESP_V01 0x0031
32 #define QMI_WLFW_WLAN_MODE_REQ_V01 0x0022
33 #define QMI_WLFW_IND_REGISTER_REQ_V01 0x0020
34 #define QMI_WLFW_WLAN_CFG_RESP_V01 0x0023
35 #define QMI_WLFW_REQUEST_MEM_IND_V01 0x0035
36 #define QMI_WLFW_REJUVENATE_IND_V01 0x0039
37 #define QMI_WLFW_DYNAMIC_FEATURE_MASK_REQ_V01 0x003B
38 #define QMI_WLFW_ATHDIAG_WRITE_REQ_V01 0x0031
39 #define QMI_WLFW_WLAN_MODE_RESP_V01 0x0022
40 #define QMI_WLFW_RESPOND_MEM_REQ_V01 0x0036
41 #define QMI_WLFW_PIN_CONNECT_RESULT_IND_V01 0x002C
42 #define QMI_WLFW_FW_READY_IND_V01 0x0021
43 #define QMI_WLFW_MSA_READY_RESP_V01 0x002E
44 #define QMI_WLFW_CAL_UPDATE_REQ_V01 0x0029
45 #define QMI_WLFW_INI_REQ_V01 0x002F
46 #define QMI_WLFW_BDF_DOWNLOAD_RESP_V01 0x0025
47 #define QMI_WLFW_REJUVENATE_ACK_RESP_V01 0x003A
48 #define QMI_WLFW_MSA_INFO_RESP_V01 0x002D
49 #define QMI_WLFW_MSA_READY_REQ_V01 0x002E
50 #define QMI_WLFW_CAP_RESP_V01 0x0024
51 #define QMI_WLFW_REJUVENATE_ACK_REQ_V01 0x003A
52 #define QMI_WLFW_ATHDIAG_READ_RESP_V01 0x0030
53 #define QMI_WLFW_VBATT_REQ_V01 0x0032
54 #define QMI_WLFW_MAC_ADDR_REQ_V01 0x0033
55 #define QMI_WLFW_RESPOND_MEM_RESP_V01 0x0036
56 #define QMI_WLFW_VBATT_RESP_V01 0x0032
57 #define QMI_WLFW_MSA_INFO_REQ_V01 0x002D
58 #define QMI_WLFW_CAL_DOWNLOAD_REQ_V01 0x0027
59 #define QMI_WLFW_ATHDIAG_READ_REQ_V01 0x0030
60 #define QMI_WLFW_WLAN_CFG_REQ_V01 0x0023
61 #define QMI_WLFW_IND_REGISTER_RESP_V01 0x0020
63 #define QMI_WLFW_MAX_MEM_REG_V01 2
64 #define QMI_WLFW_MAX_NUM_MEM_SEG_V01 16
65 #define QMI_WLFW_MAX_NUM_CAL_V01 5
66 #define QMI_WLFW_MAX_DATA_SIZE_V01 6144
67 #define QMI_WLFW_FUNCTION_NAME_LEN_V01 128
68 #define QMI_WLFW_MAX_NUM_CE_V01 12
69 #define QMI_WLFW_MAX_TIMESTAMP_LEN_V01 32
70 #define QMI_WLFW_MAX_ATHDIAG_DATA_SIZE_V01 6144
71 #define QMI_WLFW_MAX_NUM_GPIO_V01 32
72 #define QMI_WLFW_MAX_BUILD_ID_LEN_V01 128
73 #define QMI_WLFW_MAX_NUM_MEM_CFG_V01 2
74 #define QMI_WLFW_MAX_STR_LEN_V01 16
75 #define QMI_WLFW_MAX_NUM_SHADOW_REG_V01 24
76 #define QMI_WLFW_MAC_ADDR_SIZE_V01 6
77 #define QMI_WLFW_MAX_SHADOW_REG_V2 36
78 #define QMI_WLFW_MAX_NUM_SVC_V01 24
80 enum wlfw_driver_mode_enum_v01
{
81 QMI_WLFW_MISSION_V01
= 0,
83 QMI_WLFW_EPPING_V01
= 2,
84 QMI_WLFW_WALTEST_V01
= 3,
86 QMI_WLFW_CCPM_V01
= 5,
87 QMI_WLFW_QVIT_V01
= 6,
88 QMI_WLFW_CALIBRATION_V01
= 7,
91 enum wlfw_cal_temp_id_enum_v01
{
92 QMI_WLFW_CAL_TEMP_IDX_0_V01
= 0,
93 QMI_WLFW_CAL_TEMP_IDX_1_V01
= 1,
94 QMI_WLFW_CAL_TEMP_IDX_2_V01
= 2,
95 QMI_WLFW_CAL_TEMP_IDX_3_V01
= 3,
96 QMI_WLFW_CAL_TEMP_IDX_4_V01
= 4,
99 enum wlfw_pipedir_enum_v01
{
100 QMI_WLFW_PIPEDIR_NONE_V01
= 0,
101 QMI_WLFW_PIPEDIR_IN_V01
= 1,
102 QMI_WLFW_PIPEDIR_OUT_V01
= 2,
103 QMI_WLFW_PIPEDIR_INOUT_V01
= 3,
106 enum wlfw_mem_type_enum_v01
{
107 QMI_WLFW_MEM_TYPE_MSA_V01
= 0,
108 QMI_WLFW_MEM_TYPE_DDR_V01
= 1,
111 #define QMI_WLFW_CE_ATTR_FLAGS_V01 ((u32)0x00)
112 #define QMI_WLFW_CE_ATTR_NO_SNOOP_V01 ((u32)0x01)
113 #define QMI_WLFW_CE_ATTR_BYTE_SWAP_DATA_V01 ((u32)0x02)
114 #define QMI_WLFW_CE_ATTR_SWIZZLE_DESCRIPTORS_V01 ((u32)0x04)
115 #define QMI_WLFW_CE_ATTR_DISABLE_INTR_V01 ((u32)0x08)
116 #define QMI_WLFW_CE_ATTR_ENABLE_POLL_V01 ((u32)0x10)
118 #define QMI_WLFW_ALREADY_REGISTERED_V01 ((u64)0x01ULL)
119 #define QMI_WLFW_FW_READY_V01 ((u64)0x02ULL)
120 #define QMI_WLFW_MSA_READY_V01 ((u64)0x04ULL)
121 #define QMI_WLFW_MEM_READY_V01 ((u64)0x08ULL)
122 #define QMI_WLFW_FW_INIT_DONE_V01 ((u64)0x10ULL)
124 #define QMI_WLFW_FW_REJUVENATE_V01 ((u64)0x01ULL)
126 struct wlfw_ce_tgt_pipe_cfg_s_v01
{
134 struct wlfw_ce_svc_pipe_cfg_s_v01
{
140 struct wlfw_shadow_reg_cfg_s_v01
{
145 struct wlfw_shadow_reg_v2_cfg_s_v01
{
149 struct wlfw_memory_region_info_s_v01
{
155 struct wlfw_mem_cfg_s_v01
{
161 struct wlfw_mem_seg_s_v01
{
163 enum wlfw_mem_type_enum_v01 type
;
165 struct wlfw_mem_cfg_s_v01 mem_cfg
[QMI_WLFW_MAX_NUM_MEM_CFG_V01
];
168 struct wlfw_mem_seg_resp_s_v01
{
171 enum wlfw_mem_type_enum_v01 type
;
174 struct wlfw_rf_chip_info_s_v01
{
179 struct wlfw_rf_board_info_s_v01
{
183 struct wlfw_soc_info_s_v01
{
187 struct wlfw_fw_version_info_s_v01
{
189 char fw_build_timestamp
[QMI_WLFW_MAX_TIMESTAMP_LEN_V01
+ 1];
192 struct wlfw_ind_register_req_msg_v01
{
193 u8 fw_ready_enable_valid
;
195 u8 initiate_cal_download_enable_valid
;
196 u8 initiate_cal_download_enable
;
197 u8 initiate_cal_update_enable_valid
;
198 u8 initiate_cal_update_enable
;
199 u8 msa_ready_enable_valid
;
201 u8 pin_connect_result_enable_valid
;
202 u8 pin_connect_result_enable
;
205 u8 request_mem_enable_valid
;
206 u8 request_mem_enable
;
207 u8 mem_ready_enable_valid
;
209 u8 fw_init_done_enable_valid
;
210 u8 fw_init_done_enable
;
211 u8 rejuvenate_enable_valid
;
212 u32 rejuvenate_enable
;
213 u8 xo_cal_enable_valid
;
217 #define WLFW_IND_REGISTER_REQ_MSG_V01_MAX_MSG_LEN 50
218 extern struct qmi_elem_info wlfw_ind_register_req_msg_v01_ei
[];
220 struct wlfw_ind_register_resp_msg_v01
{
221 struct qmi_response_type_v01 resp
;
226 #define WLFW_IND_REGISTER_RESP_MSG_V01_MAX_MSG_LEN 18
227 extern struct qmi_elem_info wlfw_ind_register_resp_msg_v01_ei
[];
229 struct wlfw_fw_ready_ind_msg_v01
{
233 #define WLFW_FW_READY_IND_MSG_V01_MAX_MSG_LEN 0
234 extern struct qmi_elem_info wlfw_fw_ready_ind_msg_v01_ei
[];
236 struct wlfw_msa_ready_ind_msg_v01
{
240 #define WLFW_MSA_READY_IND_MSG_V01_MAX_MSG_LEN 0
241 extern struct qmi_elem_info wlfw_msa_ready_ind_msg_v01_ei
[];
243 struct wlfw_pin_connect_result_ind_msg_v01
{
244 u8 pwr_pin_result_valid
;
246 u8 phy_io_pin_result_valid
;
247 u32 phy_io_pin_result
;
248 u8 rf_pin_result_valid
;
252 #define WLFW_PIN_CONNECT_RESULT_IND_MSG_V01_MAX_MSG_LEN 21
253 extern struct qmi_elem_info wlfw_pin_connect_result_ind_msg_v01_ei
[];
255 struct wlfw_wlan_mode_req_msg_v01
{
256 enum wlfw_driver_mode_enum_v01 mode
;
261 #define WLFW_WLAN_MODE_REQ_MSG_V01_MAX_MSG_LEN 11
262 extern struct qmi_elem_info wlfw_wlan_mode_req_msg_v01_ei
[];
264 struct wlfw_wlan_mode_resp_msg_v01
{
265 struct qmi_response_type_v01 resp
;
268 #define WLFW_WLAN_MODE_RESP_MSG_V01_MAX_MSG_LEN 7
269 extern struct qmi_elem_info wlfw_wlan_mode_resp_msg_v01_ei
[];
271 struct wlfw_wlan_cfg_req_msg_v01
{
272 u8 host_version_valid
;
273 char host_version
[QMI_WLFW_MAX_STR_LEN_V01
+ 1];
276 struct wlfw_ce_tgt_pipe_cfg_s_v01 tgt_cfg
[QMI_WLFW_MAX_NUM_CE_V01
];
279 struct wlfw_ce_svc_pipe_cfg_s_v01 svc_cfg
[QMI_WLFW_MAX_NUM_SVC_V01
];
282 struct wlfw_shadow_reg_cfg_s_v01 shadow_reg
[QMI_WLFW_MAX_NUM_SHADOW_REG_V01
];
283 u8 shadow_reg_v2_valid
;
284 u32 shadow_reg_v2_len
;
285 struct wlfw_shadow_reg_v2_cfg_s_v01 shadow_reg_v2
[QMI_WLFW_MAX_SHADOW_REG_V2
];
288 #define WLFW_WLAN_CFG_REQ_MSG_V01_MAX_MSG_LEN 803
289 extern struct qmi_elem_info wlfw_wlan_cfg_req_msg_v01_ei
[];
291 struct wlfw_wlan_cfg_resp_msg_v01
{
292 struct qmi_response_type_v01 resp
;
295 #define WLFW_WLAN_CFG_RESP_MSG_V01_MAX_MSG_LEN 7
296 extern struct qmi_elem_info wlfw_wlan_cfg_resp_msg_v01_ei
[];
298 struct wlfw_cap_req_msg_v01
{
302 #define WLFW_CAP_REQ_MSG_V01_MAX_MSG_LEN 0
303 extern struct qmi_elem_info wlfw_cap_req_msg_v01_ei
[];
305 struct wlfw_cap_resp_msg_v01
{
306 struct qmi_response_type_v01 resp
;
308 struct wlfw_rf_chip_info_s_v01 chip_info
;
310 struct wlfw_rf_board_info_s_v01 board_info
;
312 struct wlfw_soc_info_s_v01 soc_info
;
313 u8 fw_version_info_valid
;
314 struct wlfw_fw_version_info_s_v01 fw_version_info
;
315 u8 fw_build_id_valid
;
316 char fw_build_id
[QMI_WLFW_MAX_BUILD_ID_LEN_V01
+ 1];
321 #define WLFW_CAP_RESP_MSG_V01_MAX_MSG_LEN 207
322 extern struct qmi_elem_info wlfw_cap_resp_msg_v01_ei
[];
324 struct wlfw_bdf_download_req_msg_v01
{
327 enum wlfw_cal_temp_id_enum_v01 file_id
;
334 u8 data
[QMI_WLFW_MAX_DATA_SIZE_V01
];
341 #define WLFW_BDF_DOWNLOAD_REQ_MSG_V01_MAX_MSG_LEN 6182
342 extern struct qmi_elem_info wlfw_bdf_download_req_msg_v01_ei
[];
344 struct wlfw_bdf_download_resp_msg_v01
{
345 struct qmi_response_type_v01 resp
;
348 #define WLFW_BDF_DOWNLOAD_RESP_MSG_V01_MAX_MSG_LEN 7
349 extern struct qmi_elem_info wlfw_bdf_download_resp_msg_v01_ei
[];
351 struct wlfw_cal_report_req_msg_v01
{
353 enum wlfw_cal_temp_id_enum_v01 meta_data
[QMI_WLFW_MAX_NUM_CAL_V01
];
354 u8 xo_cal_data_valid
;
358 #define WLFW_CAL_REPORT_REQ_MSG_V01_MAX_MSG_LEN 28
359 extern struct qmi_elem_info wlfw_cal_report_req_msg_v01_ei
[];
361 struct wlfw_cal_report_resp_msg_v01
{
362 struct qmi_response_type_v01 resp
;
365 #define WLFW_CAL_REPORT_RESP_MSG_V01_MAX_MSG_LEN 7
366 extern struct qmi_elem_info wlfw_cal_report_resp_msg_v01_ei
[];
368 struct wlfw_initiate_cal_download_ind_msg_v01
{
369 enum wlfw_cal_temp_id_enum_v01 cal_id
;
372 #define WLFW_INITIATE_CAL_DOWNLOAD_IND_MSG_V01_MAX_MSG_LEN 7
373 extern struct qmi_elem_info wlfw_initiate_cal_download_ind_msg_v01_ei
[];
375 struct wlfw_cal_download_req_msg_v01
{
378 enum wlfw_cal_temp_id_enum_v01 file_id
;
385 u8 data
[QMI_WLFW_MAX_DATA_SIZE_V01
];
390 #define WLFW_CAL_DOWNLOAD_REQ_MSG_V01_MAX_MSG_LEN 6178
391 extern struct qmi_elem_info wlfw_cal_download_req_msg_v01_ei
[];
393 struct wlfw_cal_download_resp_msg_v01
{
394 struct qmi_response_type_v01 resp
;
397 #define WLFW_CAL_DOWNLOAD_RESP_MSG_V01_MAX_MSG_LEN 7
398 extern struct qmi_elem_info wlfw_cal_download_resp_msg_v01_ei
[];
400 struct wlfw_initiate_cal_update_ind_msg_v01
{
401 enum wlfw_cal_temp_id_enum_v01 cal_id
;
405 #define WLFW_INITIATE_CAL_UPDATE_IND_MSG_V01_MAX_MSG_LEN 14
406 extern struct qmi_elem_info wlfw_initiate_cal_update_ind_msg_v01_ei
[];
408 struct wlfw_cal_update_req_msg_v01
{
409 enum wlfw_cal_temp_id_enum_v01 cal_id
;
413 #define WLFW_CAL_UPDATE_REQ_MSG_V01_MAX_MSG_LEN 14
414 extern struct qmi_elem_info wlfw_cal_update_req_msg_v01_ei
[];
416 struct wlfw_cal_update_resp_msg_v01
{
417 struct qmi_response_type_v01 resp
;
419 enum wlfw_cal_temp_id_enum_v01 file_id
;
426 u8 data
[QMI_WLFW_MAX_DATA_SIZE_V01
];
431 #define WLFW_CAL_UPDATE_RESP_MSG_V01_MAX_MSG_LEN 6181
432 extern struct qmi_elem_info wlfw_cal_update_resp_msg_v01_ei
[];
434 struct wlfw_msa_info_req_msg_v01
{
439 #define WLFW_MSA_INFO_REQ_MSG_V01_MAX_MSG_LEN 18
440 extern struct qmi_elem_info wlfw_msa_info_req_msg_v01_ei
[];
442 struct wlfw_msa_info_resp_msg_v01
{
443 struct qmi_response_type_v01 resp
;
444 u32 mem_region_info_len
;
445 struct wlfw_memory_region_info_s_v01 mem_region_info
[QMI_WLFW_MAX_MEM_REG_V01
];
448 #define WLFW_MSA_INFO_RESP_MSG_V01_MAX_MSG_LEN 37
449 extern struct qmi_elem_info wlfw_msa_info_resp_msg_v01_ei
[];
451 struct wlfw_msa_ready_req_msg_v01
{
455 #define WLFW_MSA_READY_REQ_MSG_V01_MAX_MSG_LEN 0
456 extern struct qmi_elem_info wlfw_msa_ready_req_msg_v01_ei
[];
458 struct wlfw_msa_ready_resp_msg_v01
{
459 struct qmi_response_type_v01 resp
;
462 #define WLFW_MSA_READY_RESP_MSG_V01_MAX_MSG_LEN 7
463 extern struct qmi_elem_info wlfw_msa_ready_resp_msg_v01_ei
[];
465 struct wlfw_ini_req_msg_v01
{
466 u8 enablefwlog_valid
;
470 #define WLFW_INI_REQ_MSG_V01_MAX_MSG_LEN 4
471 extern struct qmi_elem_info wlfw_ini_req_msg_v01_ei
[];
473 struct wlfw_ini_resp_msg_v01
{
474 struct qmi_response_type_v01 resp
;
477 #define WLFW_INI_RESP_MSG_V01_MAX_MSG_LEN 7
478 extern struct qmi_elem_info wlfw_ini_resp_msg_v01_ei
[];
480 struct wlfw_athdiag_read_req_msg_v01
{
486 #define WLFW_ATHDIAG_READ_REQ_MSG_V01_MAX_MSG_LEN 21
487 extern struct qmi_elem_info wlfw_athdiag_read_req_msg_v01_ei
[];
489 struct wlfw_athdiag_read_resp_msg_v01
{
490 struct qmi_response_type_v01 resp
;
493 u8 data
[QMI_WLFW_MAX_ATHDIAG_DATA_SIZE_V01
];
496 #define WLFW_ATHDIAG_READ_RESP_MSG_V01_MAX_MSG_LEN 6156
497 extern struct qmi_elem_info wlfw_athdiag_read_resp_msg_v01_ei
[];
499 struct wlfw_athdiag_write_req_msg_v01
{
503 u8 data
[QMI_WLFW_MAX_ATHDIAG_DATA_SIZE_V01
];
506 #define WLFW_ATHDIAG_WRITE_REQ_MSG_V01_MAX_MSG_LEN 6163
507 extern struct qmi_elem_info wlfw_athdiag_write_req_msg_v01_ei
[];
509 struct wlfw_athdiag_write_resp_msg_v01
{
510 struct qmi_response_type_v01 resp
;
513 #define WLFW_ATHDIAG_WRITE_RESP_MSG_V01_MAX_MSG_LEN 7
514 extern struct qmi_elem_info wlfw_athdiag_write_resp_msg_v01_ei
[];
516 struct wlfw_vbatt_req_msg_v01
{
520 #define WLFW_VBATT_REQ_MSG_V01_MAX_MSG_LEN 11
521 extern struct qmi_elem_info wlfw_vbatt_req_msg_v01_ei
[];
523 struct wlfw_vbatt_resp_msg_v01
{
524 struct qmi_response_type_v01 resp
;
527 #define WLFW_VBATT_RESP_MSG_V01_MAX_MSG_LEN 7
528 extern struct qmi_elem_info wlfw_vbatt_resp_msg_v01_ei
[];
530 struct wlfw_mac_addr_req_msg_v01
{
532 u8 mac_addr
[QMI_WLFW_MAC_ADDR_SIZE_V01
];
535 #define WLFW_MAC_ADDR_REQ_MSG_V01_MAX_MSG_LEN 9
536 extern struct qmi_elem_info wlfw_mac_addr_req_msg_v01_ei
[];
538 struct wlfw_mac_addr_resp_msg_v01
{
539 struct qmi_response_type_v01 resp
;
542 #define WLFW_MAC_ADDR_RESP_MSG_V01_MAX_MSG_LEN 7
543 extern struct qmi_elem_info wlfw_mac_addr_resp_msg_v01_ei
[];
545 #define QMI_WLFW_MAX_NUM_GPIO_V01 32
546 struct wlfw_host_cap_req_msg_v01
{
547 u8 daemon_support_valid
;
553 u32 gpios
[QMI_WLFW_MAX_NUM_GPIO_V01
];
556 u8 bdf_support_valid
;
558 u8 bdf_cache_support_valid
;
559 u8 bdf_cache_support
;
562 u8 m3_cache_support_valid
;
564 u8 cal_filesys_support_valid
;
565 u8 cal_filesys_support
;
566 u8 cal_cache_support_valid
;
567 u8 cal_cache_support
;
572 u8 mem_cfg_mode_valid
;
576 #define WLFW_HOST_CAP_REQ_MSG_V01_MAX_MSG_LEN 189
577 extern struct qmi_elem_info wlfw_host_cap_req_msg_v01_ei
[];
578 extern struct qmi_elem_info wlfw_host_cap_8bit_req_msg_v01_ei
[];
580 struct wlfw_host_cap_resp_msg_v01
{
581 struct qmi_response_type_v01 resp
;
584 #define WLFW_HOST_CAP_RESP_MSG_V01_MAX_MSG_LEN 7
585 extern struct qmi_elem_info wlfw_host_cap_resp_msg_v01_ei
[];
587 struct wlfw_request_mem_ind_msg_v01
{
589 struct wlfw_mem_seg_s_v01 mem_seg
[QMI_WLFW_MAX_NUM_MEM_SEG_V01
];
592 #define WLFW_REQUEST_MEM_IND_MSG_V01_MAX_MSG_LEN 564
593 extern struct qmi_elem_info wlfw_request_mem_ind_msg_v01_ei
[];
595 struct wlfw_respond_mem_req_msg_v01
{
597 struct wlfw_mem_seg_resp_s_v01 mem_seg
[QMI_WLFW_MAX_NUM_MEM_SEG_V01
];
600 #define WLFW_RESPOND_MEM_REQ_MSG_V01_MAX_MSG_LEN 260
601 extern struct qmi_elem_info wlfw_respond_mem_req_msg_v01_ei
[];
603 struct wlfw_respond_mem_resp_msg_v01
{
604 struct qmi_response_type_v01 resp
;
607 #define WLFW_RESPOND_MEM_RESP_MSG_V01_MAX_MSG_LEN 7
608 extern struct qmi_elem_info wlfw_respond_mem_resp_msg_v01_ei
[];
610 struct wlfw_mem_ready_ind_msg_v01
{
614 #define WLFW_MEM_READY_IND_MSG_V01_MAX_MSG_LEN 0
615 extern struct qmi_elem_info wlfw_mem_ready_ind_msg_v01_ei
[];
617 struct wlfw_fw_init_done_ind_msg_v01
{
621 #define WLFW_FW_INIT_DONE_IND_MSG_V01_MAX_MSG_LEN 0
622 extern struct qmi_elem_info wlfw_fw_init_done_ind_msg_v01_ei
[];
624 struct wlfw_rejuvenate_ind_msg_v01
{
625 u8 cause_for_rejuvenation_valid
;
626 u8 cause_for_rejuvenation
;
627 u8 requesting_sub_system_valid
;
628 u8 requesting_sub_system
;
629 u8 line_number_valid
;
631 u8 function_name_valid
;
632 char function_name
[QMI_WLFW_FUNCTION_NAME_LEN_V01
+ 1];
635 #define WLFW_REJUVENATE_IND_MSG_V01_MAX_MSG_LEN 144
636 extern struct qmi_elem_info wlfw_rejuvenate_ind_msg_v01_ei
[];
638 struct wlfw_rejuvenate_ack_req_msg_v01
{
642 #define WLFW_REJUVENATE_ACK_REQ_MSG_V01_MAX_MSG_LEN 0
643 extern struct qmi_elem_info wlfw_rejuvenate_ack_req_msg_v01_ei
[];
645 struct wlfw_rejuvenate_ack_resp_msg_v01
{
646 struct qmi_response_type_v01 resp
;
649 #define WLFW_REJUVENATE_ACK_RESP_MSG_V01_MAX_MSG_LEN 7
650 extern struct qmi_elem_info wlfw_rejuvenate_ack_resp_msg_v01_ei
[];
652 struct wlfw_dynamic_feature_mask_req_msg_v01
{
657 #define WLFW_DYNAMIC_FEATURE_MASK_REQ_MSG_V01_MAX_MSG_LEN 11
658 extern struct qmi_elem_info wlfw_dynamic_feature_mask_req_msg_v01_ei
[];
660 struct wlfw_dynamic_feature_mask_resp_msg_v01
{
661 struct qmi_response_type_v01 resp
;
668 #define WLFW_DYNAMIC_FEATURE_MASK_RESP_MSG_V01_MAX_MSG_LEN 29
669 extern struct qmi_elem_info wlfw_dynamic_feature_mask_resp_msg_v01_ei
[];
671 struct wlfw_m3_info_req_msg_v01
{
676 #define WLFW_M3_INFO_REQ_MSG_V01_MAX_MSG_LEN 18
677 extern struct qmi_elem_info wlfw_m3_info_req_msg_v01_ei
[];
679 struct wlfw_m3_info_resp_msg_v01
{
680 struct qmi_response_type_v01 resp
;
683 #define WLFW_M3_INFO_RESP_MSG_V01_MAX_MSG_LEN 7
684 extern struct qmi_elem_info wlfw_m3_info_resp_msg_v01_ei
[];
686 struct wlfw_xo_cal_ind_msg_v01
{
690 #define WLFW_XO_CAL_IND_MSG_V01_MAX_MSG_LEN 4
691 extern struct qmi_elem_info wlfw_xo_cal_ind_msg_v01_ei
[];