|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
+ * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
*
|
|
|
* Permission to use, copy, modify, and/or distribute this software for any
|
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
@@ -487,3 +487,91 @@ struct qmi_elem_info wfds_misc_ind_msg_v01_ei[] = {
|
|
|
.tlv_type = QMI_COMMON_TLV_TYPE,
|
|
|
},
|
|
|
};
|
|
|
+
|
|
|
+struct qmi_elem_info wfds_ut_cmd_req_msg_v01_ei[] = {
|
|
|
+ {
|
|
|
+ .data_type = QMI_SIGNED_4_BYTE_ENUM,
|
|
|
+ .elem_len = 1,
|
|
|
+ .elem_size = sizeof(enum wifi_drv_qmi_ut_cmd_v01),
|
|
|
+ .array_type = NO_ARRAY,
|
|
|
+ .tlv_type = 0x01,
|
|
|
+ .offset = offsetof(struct
|
|
|
+ wfds_ut_cmd_req_msg_v01,
|
|
|
+ cmd),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ .data_type = QMI_UNSIGNED_4_BYTE,
|
|
|
+ .elem_len = 1,
|
|
|
+ .elem_size = sizeof(u32),
|
|
|
+ .array_type = NO_ARRAY,
|
|
|
+ .tlv_type = 0x02,
|
|
|
+ .offset = offsetof(struct
|
|
|
+ wfds_ut_cmd_req_msg_v01,
|
|
|
+ duration),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ .data_type = QMI_UNSIGNED_4_BYTE,
|
|
|
+ .elem_len = 1,
|
|
|
+ .elem_size = sizeof(u32),
|
|
|
+ .array_type = NO_ARRAY,
|
|
|
+ .tlv_type = 0x03,
|
|
|
+ .offset = offsetof(struct
|
|
|
+ wfds_ut_cmd_req_msg_v01,
|
|
|
+ flush_period),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ .data_type = QMI_UNSIGNED_4_BYTE,
|
|
|
+ .elem_len = 1,
|
|
|
+ .elem_size = sizeof(u32),
|
|
|
+ .array_type = NO_ARRAY,
|
|
|
+ .tlv_type = 0x04,
|
|
|
+ .offset = offsetof(struct
|
|
|
+ wfds_ut_cmd_req_msg_v01,
|
|
|
+ num_pkts),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ .data_type = QMI_UNSIGNED_4_BYTE,
|
|
|
+ .elem_len = 1,
|
|
|
+ .elem_size = sizeof(u32),
|
|
|
+ .array_type = NO_ARRAY,
|
|
|
+ .tlv_type = 0x05,
|
|
|
+ .offset = offsetof(struct
|
|
|
+ wfds_ut_cmd_req_msg_v01,
|
|
|
+ buf_size),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ .data_type = QMI_UNSIGNED_2_BYTE,
|
|
|
+ .elem_len = 1,
|
|
|
+ .elem_size = sizeof(u16),
|
|
|
+ .array_type = NO_ARRAY,
|
|
|
+ .tlv_type = 0x06,
|
|
|
+ .offset = offsetof(struct
|
|
|
+ wfds_ut_cmd_req_msg_v01,
|
|
|
+ ether_type),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ .data_type = QMI_UNSIGNED_1_BYTE,
|
|
|
+ .elem_len = 6,
|
|
|
+ .elem_size = sizeof(u8),
|
|
|
+ .array_type = STATIC_ARRAY,
|
|
|
+ .tlv_type = 0x07,
|
|
|
+ .offset = offsetof(struct
|
|
|
+ wfds_ut_cmd_req_msg_v01,
|
|
|
+ src_mac),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ .data_type = QMI_UNSIGNED_1_BYTE,
|
|
|
+ .elem_len = 6,
|
|
|
+ .elem_size = sizeof(u8),
|
|
|
+ .array_type = STATIC_ARRAY,
|
|
|
+ .tlv_type = 0x08,
|
|
|
+ .offset = offsetof(struct
|
|
|
+ wfds_ut_cmd_req_msg_v01,
|
|
|
+ dest_mac),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ .data_type = QMI_EOTI,
|
|
|
+ .array_type = NO_ARRAY,
|
|
|
+ .tlv_type = QMI_COMMON_TLV_TYPE,
|
|
|
+ },
|
|
|
+};
|