blob: fe1178f16ac855c8c85eac3b53a0da1837fcc68c [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 * l4c_ratdm_struct.h
41 *
42 * Project:
43 * --------
44 * MAUI
45 *
46 * Description:
47 * ------------
48 * This file describes the common struct between L4C and RATDM
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 *
63 * removed!
64 * removed!
65 * removed!
66 *
67 * removed!
68 * removed!
69 * removed!
70 *
71 * removed!
72 * removed!
73 * removed!
74 *
75 * removed!
76 * removed!
77 * removed!
78 *
79 * removed!
80 * removed!
81 * removed!
82 *
83 *------------------------------------------------------------------------------
84 * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
85 *============================================================================
86 ****************************************************************************/
87
88#ifndef _L4C_RATDM_STRUCT_H
89#define _L4C_RATDM_STRUCT_H
90
91#include "kal_general_types.h"
92#include "ps_public_enum.h"
93
94
95/* basic structures for gprs dialup call log */
96
97typedef struct {
98 kal_uint64 tx;
99 kal_uint64 rx;
100 kal_uint8 context_id;
101} single_pdp_call_history_info_struct;
102
103typedef struct {
104 kal_uint8 context_id;
105 kal_bool reset_tx;
106 kal_bool reset_rx;
107} single_pdp_call_history_reset_cmd_struct;
108
109typedef struct {
110 single_pdp_call_history_reset_cmd_struct original_cmd;
111 single_pdp_call_history_info_struct volume_before_reset;
112} single_pdp_call_history_reset_result_struct;
113
114
115
116/* local param structures for L4C/RATDM SAP */
117
118typedef struct {
119 kal_uint8 ref_count;
120 kal_uint16 msg_len;
121 kal_uint8 src_id;
122 kal_uint8 serial_num;
123 kal_uint8 total_context_id;
124 kal_uint8 context_id[MAX_GPRS_DIALUP_NUM];
125} l4c_ps_query_ext_pdp_statistics_req_struct;
126
127typedef struct {
128 kal_uint8 ref_count;
129 kal_uint16 msg_len;
130 kal_uint8 src_id;
131 kal_uint8 serial_num;
132 kal_uint8 total_context_id;
133 single_pdp_call_history_info_struct query_result[MAX_GPRS_DIALUP_NUM];
134} l4c_ps_query_ext_pdp_statistics_rsp_struct;
135
136typedef struct {
137 kal_uint8 ref_count;
138 kal_uint16 msg_len;
139 kal_uint8 src_id;
140 kal_uint8 serial_num;
141 kal_uint8 total_reset_num;
142 single_pdp_call_history_reset_cmd_struct reset_cmd[MAX_GPRS_DIALUP_NUM];
143} l4c_ps_reset_ext_pdp_statistics_req_struct;
144
145typedef struct {
146 kal_uint8 ref_count;
147 kal_uint16 msg_len;
148 kal_uint8 src_id;
149 kal_uint8 serial_num;
150 kal_uint8 total_reset_num;
151 single_pdp_call_history_reset_result_struct result[MAX_GPRS_DIALUP_NUM];
152} l4c_ps_reset_ext_pdp_statistics_rsp_struct;
153
154typedef struct {
155 kal_uint8 ref_count;
156 kal_uint16 msg_len;
157 kal_uint8 total_context_id;
158 single_pdp_call_history_info_struct result[MAX_GPRS_DIALUP_NUM];
159} l4c_ps_ext_pdp_statistics_ind_struct;
160
161typedef struct {
162 kal_uint8 ref_count;
163 kal_uint16 msg_len;
164 kal_uint8 context_id;
165} l4c_ratdm_packets_flush_ind_struct;
166
167typedef struct {
168 LOCAL_PARA_HDR
169 kal_bool ims_call_ongoing;
170} l4c_ratdm_ims_call_status_struct;
171
172#endif /* _L4C_RATDM_STRUCT_H */
173