blob: 33bbcff7d34844198396af4e861672fa2fd9780b [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) 2009
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 *
38 * Filename:
39 * ---------
40 * ps2ratdm_struct.h
41 *
42 * Project:
43 * --------
44 * MAUI
45 *
46 * Description:
47 * ------------
48 * This file describes the common struct between Application and RATDM for PS service
49 *
50 * Author:
51 * -------
52 * -------
53 *
54 *============================================================================
55 * HISTORY
56 * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
57 *------------------------------------------------------------------------------
58 * removed!
59 *
60 * removed!
61 * removed!
62 * removed!
63 * removed!
64 * removed!
65 * removed!
66 * removed!
67 *
68 * removed!
69 * removed!
70 * removed!
71 *
72 * removed!
73 * removed!
74 * removed!
75 *
76 * removed!
77 * removed!
78 * removed!
79 *
80 * removed!
81 * removed!
82 * removed!
83 *
84 * removed!
85 * removed!
86 * removed!
87 *
88 * removed!
89 * removed!
90 * removed!
91 *
92 * removed!
93 * removed!
94 * removed!
95 *
96 * removed!
97 * removed!
98 * removed!
99 *
100 * removed!
101 * removed!
102 * removed!
103 *
104 * removed!
105 * removed!
106 * removed!
107 *
108 * removed!
109 * removed!
110 * removed!
111 *
112 * removed!
113 * removed!
114 * removed!
115 *
116 * removed!
117 * removed!
118 * removed!
119 *
120 * removed!
121 * removed!
122 * removed!
123 *
124 *------------------------------------------------------------------------------
125 * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
126 *============================================================================
127 ****************************************************************************/
128
129#ifndef _PS_RATDM_STRUCT_H
130#define _PS_RATDM_STRUCT_H
131
132#ifndef __L1_STANDALONE__
133
134#include "kal_general_types.h"
135//#include "uas_data_common.h"
136#include "kal_public_defs.h"
137
138typedef enum{
139 PS_STATISTICS_RESET_ALL, // reset all data (eset context 1, 2, 3¡K tx data amount to zero, eset context 1, 2, 3¡K rx data amount to zero)
140 PS_STATISTICS_RESET_ALL_TX, // reset context 1, 2, 3¡K tx data amount to zero
141 PS_STATISTICS_RESET_ALL_RX, // reset context 1, 2, 3¡K rx data amount to zero
142 PS_STATISTICS_CHECK_ARRAY_TO_RESET //(check detail_reset_command[] array content to determine reset which content)
143}ext_call_history_reset_operation_enum;
144
145typedef enum{
146 RATDM_SHAQ_SOCKET_EMPTY_VALUE = 0xFE,
147 RATDM_SHAQ_SOCKET_INVALID_VALUE = 0xFF
148}ratdm_shaq_socket_value_enum;
149
150typedef struct {
151 LOCAL_PARA_HDR
152
153#ifndef __LTE_RAT__
154 kal_uint8 context_id;
155#endif
156 kal_uint8 pool_id;
157
158 /* for RATDM usage */
159 kal_uint8 nsapi;
160 kal_uint16 npdu_num;
161} ps_data_ind_struct;
162
163
164typedef struct {
165 LOCAL_PARA_HDR
166
167#ifndef __LTE_RAT__
168 kal_uint8 context_id;
169#endif
170 kal_uint8 pool_id;
171
172 /* for RATDM usage */
173 kal_uint8 nsapi;
174 kal_uint16 npdu_num;
175} ps_data_req_struct;
176
177typedef struct ratdm_ps_data_ind_struct_tag
178{
179 PEER_BUFF_HDR
180
181 kal_uint8 pool_id;
182#ifndef __LTE_RAT__
183 kal_uint8 context_id;
184#endif
185 kal_uint8 nsapi;
186 kal_uint16 npdu_num;
187#ifdef __3G_NEW_DATA_PLANE_ARCH__
188 void *gpd_ptr; //umts_dl_gpd *gpd_ptr; need to include "uas_data_common.h"
189 void *last_gpd_ptr; //umts_dl_gpd *last_gpd_ptr; need to include "uas_data_common.h"
190 peer_buff_struct *pTemp;
191#endif
192}ratdm_ps_data_ind_struct;
193
194#ifdef __3G_NEW_DATA_PLANE_ARCH__
195// for MSC ~ it is necessary to be defined
196typedef ratdm_ps_data_ind_struct peer_buff_ps_dscr_data_struct;
197#endif
198
199#endif // ~ #ifndef __L1_STANDALONE__
200
201#endif
202
203
204