blob: df00efcccba376044ede3b4c123373b9b26c54d1 [file] [log] [blame]
rjw6c1fd8f2022-11-30 14:33:01 +08001/*****************************************************************************
2* Copyright Statement:
3* --------------------
4* This software is protected by Copyright and the information contained
5* herein is confidential. The software may not be copied and the information
6* contained herein may not be used or disclosed except with the written
7* permission of MediaTek Inc. (C) 2015
8*
9* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
10* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
11* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
12* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
13* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
14* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
15* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
16* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
17* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
18* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
19* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
20* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
21*
22* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
23* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
24* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
25* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
26* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
27*
28* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
29* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
30* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
31* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
32* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
33*
34*****************************************************************************/
35
36/*******************************************************************************
37 * Filename:
38 * ---------
39 * tmc_l5_struct.h
40 *
41 * Project:
42 * --------
43 * VMOLY
44 *
45 * Description:
46 * ------------
47 * Thermal Management Controller ILM structure and interface definition.
48 *
49 * Author:
50 * -------
51 * -------
52 *
53 *==============================================================================
54 * HISTORY
55 * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
56 *------------------------------------------------------------------------------
57 * removed!
58 *
59 * removed!
60 * removed!
61 * removed!
62 *
63 * removed!
64 * removed!
65 * removed!
66 *
67 * removed!
68 * removed!
69 * removed!
70 *
71 * removed!
72 * removed!
73 * removed!
74 *
75 *------------------------------------------------------------------------------
76 * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
77 *==============================================================================
78 *******************************************************************************/
79#ifndef __INC_TMC_L5_STRUCT_H
80#define __INC_TMC_L5_STRUCT_H
81
82#include "kal_public_defs.h"
83#include "tmc_struct.h"
84
85/* Macro & Enum definition */
86#define TMC_ACTUATOR_NAME_LEN 40
87#define TMC_ACTUATOR_UL_THROTTLE "UL Throttle\0"
88#define TMC_ACTUATOR_REDUCE_TX_POWER "3G4G PA\0"
89#define TMC_ACTUATOR_REDUCE_NR_TX_POWER "NR PA\0"
90#define TMC_ACTUATOR_CC_CONTROL "CC Control\0"
91#define TMC_ACTUATOR_SW_SHUTDOWN "SW Shutdown\0"
92#define TMC_ACTUATOR_FLIGHT_MODE "Flight Mode\0"
93
94typedef struct l5io_tmc_actuator_num_req_struct {
95 LOCAL_PARA_HDR
96 kal_uint32 status_id;
97} l5io_tmc_actuator_num_req_struct;
98
99typedef struct l5io_tmc_actuator_num_cnf_struct {
100 LOCAL_PARA_HDR
101 kal_uint32 status_id;
102 kal_uint32 actuator_num;
103 tmc_req_result_enum result;
104} l5io_tmc_actuator_num_cnf_struct;
105
106typedef struct l5io_tmc_actuator_state_query_req_struct {
107 LOCAL_PARA_HDR
108 kal_uint32 status_id;
109 kal_uint32 actuator_id;
110} l5io_tmc_actuator_state_query_req_struct;
111
112typedef struct l5io_tmc_actuator_state_query_cnf_struct {
113 LOCAL_PARA_HDR
114 kal_uint32 status_id;
115 kal_uint32 actuator_id;
116 kal_char actuator_name[TMC_ACTUATOR_NAME_LEN];
117 kal_uint32 zone_id;
118 kal_uint32 max_lv;
119 kal_uint32 current_lv;
120 kal_uint32 user_impact;
121 kal_uint32 efficiency;
122 tmc_req_result_enum result;
123} l5io_tmc_actuator_state_query_cnf_struct;
124
125typedef tmc_ctrl_req_struct l5io_tmc_actuator_set_req_struct;
126typedef tmc_ctrl_rsp_struct l5io_tmc_actuator_set_cnf_struct;
127
128#endif /* __INC_TMC_L5_STRUCT_H */