123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- // SPDX-License-Identifier: GPL-2.0-only
- /* Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. */
- #include <linux/soc/qcom/qmi.h>
- #include "device_management_service_v01.h"
- struct qmi_elem_info dms_get_mac_address_req_msg_v01_ei[] = {
- {
- .data_type = QMI_SIGNED_4_BYTE_ENUM,
- .elem_len = 1,
- .elem_size = sizeof(enum dms_device_mac_enum_v01),
- .array_type = NO_ARRAY,
- .tlv_type = 0x01,
- .offset = offsetof(struct
- dms_get_mac_address_req_msg_v01,
- device),
- },
- {
- .data_type = QMI_EOTI,
- .array_type = NO_ARRAY,
- .tlv_type = QMI_COMMON_TLV_TYPE,
- },
- };
- EXPORT_SYMBOL(dms_get_mac_address_req_msg_v01_ei);
- struct qmi_elem_info dms_get_mac_address_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
- dms_get_mac_address_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
- dms_get_mac_address_resp_msg_v01,
- mac_address_valid),
- },
- {
- .data_type = QMI_DATA_LEN,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x10,
- .offset = offsetof(struct
- dms_get_mac_address_resp_msg_v01,
- mac_address_len),
- },
- {
- .data_type = QMI_UNSIGNED_1_BYTE,
- .elem_len = QMI_DMS_MAC_ADDR_MAX_V01,
- .elem_size = sizeof(u8),
- .array_type = VAR_LEN_ARRAY,
- .tlv_type = 0x10,
- .offset = offsetof(struct
- dms_get_mac_address_resp_msg_v01,
- mac_address),
- },
- {
- .data_type = QMI_EOTI,
- .array_type = NO_ARRAY,
- .tlv_type = QMI_COMMON_TLV_TYPE,
- },
- };
- EXPORT_SYMBOL(dms_get_mac_address_resp_msg_v01_ei);
|