123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- // SPDX-License-Identifier: GPL-2.0-only
- /* Copyright (c) 2019-2021, The Linux Foundation. All rights reserved. */
- #include <linux/soc/qcom/qmi.h>
- #include "coexistence_service_v01.h"
- struct qmi_elem_info coex_antenna_switch_to_wlan_req_msg_v01_ei[] = {
- {
- .data_type = QMI_UNSIGNED_8_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u64),
- .array_type = NO_ARRAY,
- .tlv_type = 0x01,
- .offset = offsetof(struct
- coex_antenna_switch_to_wlan_req_msg_v01,
- antenna),
- },
- {
- .data_type = QMI_EOTI,
- .array_type = NO_ARRAY,
- .tlv_type = QMI_COMMON_TLV_TYPE,
- },
- };
- struct qmi_elem_info coex_antenna_switch_to_wlan_resp_msg_v01_ei[] = {
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size = sizeof(struct qmi_response_type_v01),
- .array_type = NO_ARRAY,
- .tlv_type = 0x02,
- .offset = offsetof(struct
- coex_antenna_switch_to_wlan_resp_msg_v01,
- resp),
- .ei_array = qmi_response_type_v01_ei,
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x10,
- .offset = offsetof(struct
- coex_antenna_switch_to_wlan_resp_msg_v01,
- grant_valid),
- },
- {
- .data_type = QMI_UNSIGNED_8_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u64),
- .array_type = NO_ARRAY,
- .tlv_type = 0x10,
- .offset = offsetof(struct
- coex_antenna_switch_to_wlan_resp_msg_v01,
- grant),
- },
- {
- .data_type = QMI_EOTI,
- .array_type = NO_ARRAY,
- .tlv_type = QMI_COMMON_TLV_TYPE,
- },
- };
- struct qmi_elem_info coex_antenna_switch_to_mdm_req_msg_v01_ei[] = {
- {
- .data_type = QMI_UNSIGNED_8_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u64),
- .array_type = NO_ARRAY,
- .tlv_type = 0x01,
- .offset = offsetof(struct
- coex_antenna_switch_to_mdm_req_msg_v01,
- antenna),
- },
- {
- .data_type = QMI_EOTI,
- .array_type = NO_ARRAY,
- .tlv_type = QMI_COMMON_TLV_TYPE,
- },
- };
- struct qmi_elem_info coex_antenna_switch_to_mdm_resp_msg_v01_ei[] = {
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size = sizeof(struct qmi_response_type_v01),
- .array_type = NO_ARRAY,
- .tlv_type = 0x02,
- .offset = offsetof(struct
- coex_antenna_switch_to_mdm_resp_msg_v01,
- resp),
- .ei_array = qmi_response_type_v01_ei,
- },
- {
- .data_type = QMI_EOTI,
- .array_type = NO_ARRAY,
- .tlv_type = QMI_COMMON_TLV_TYPE,
- },
- };
|