blob: 524d2f8cc49088c1f28de28b313f1986495133ae [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) 2012
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 * upcm_em_struct.h
40 *
41 * Project:
42 * --------
43 * MOLY
44 *
45 * Description:
46 * ------------
47 * Now we use UPCM to send EM parameters to tool
48 * This Header file is used for the ILM.
49 * UPCM will help to send tft_pf, ratadp EM
50 *
51 * Author:
52 * -------
53 * -------
54 *
55 *
56 * ==========================================================================
57 * $Log$
58 *
59 * 04 09 2018 chin-wei.hsu
60 * [MOLY00318641] [MT6295][EL2] EM info structure refine
61 * [UMOLYE] EM info structure refine.
62 *
63 * 03 12 2015 stan.chen
64 * [MOLY00098774] [UPCM] EM Info for 91
65 * Checkin New EM info and struct.
66 *
67 * 05 27 2013 moja.hsu
68 * [MOLY00007625] Maintain code
69 * add ratadp EM stats.
70 ****************************************************************************/
71/*
72 * =====================================================================================
73 *
74 * Filename: upcm_em_struct.h
75 *
76 * Description: EM ILM of UPCM
77 *
78 * Created: 2013/05/27 03:39:19
79 * Author: mtk01641 (moja)
80 * =====================================================================================
81 */
82
83#ifndef UPCM_EM_STRUCT_INC
84#define UPCM_EM_STRUCT_INC
85
86#include "kal_public_api.h"
87#include "em_public_struct.h"
88#include "upcm_stats.h"
89#include "tft_pf_stats.h"
90#include "ratadp_stats.h"
91
92typedef struct
93{
94 LOCAL_PARA_HDR
95 em_info_enum em_info;
96 upcm_stats_t upcm;
97 tft_pf_stats_t tft_pf;
98 ratadp_stats_t ratadp;
99}em_upcm_status_ind_struct;
100
101typedef struct
102{
103 LOCAL_PARA_HDR
104 em_info_enum em_info;
105 kal_uint32 total_rx_byte_per_second;
106 kal_uint32 total_tx_byte_per_second;
107}em_upcm_ps_tput_info_ind_struct;
108
109#endif /* ----- #ifndef UPCM_EM_STRUCT_INC ----- */
110