blob: a2050e1810bf56168a9f34b3195965ce61819340 [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 * atp_ddm_struct.h
40 *
41 * Project:
42 * --------
43 *
44 *
45 * Description:
46 * ------------
47 *
48 *
49 * Author:
50 * -------
51 *
52 *
53 *
54 * ==========================================================================
55 * $Log$
56 *
57 * 02 04 2021 you-ren.chen
58 * [MOLY00595427] [FBC][M80][FM350-GL][mipc可以管理所有的APN list,AT也可以管理所有的APN list]
59 *
60 * 14628099
61 * 1. XGDCONT
62 * 2. Query CGCONTRDP for activated CID 0 failed.
63 * 3. No handling CGEQMIN in get_src_id.
64 *
65 * 11 17 2020 you-ren.chen
66 * [MOLY00595872] [MD700.MP] Porting from T700.MP.
67 *
68 * Build error fix.
69 *
70 * 10 29 2020 vijayan.amalraj
71 * [MOLY00546031] [Cayman][Modem][Fatal error] err_code1:0x0000001D err_code2:0x9027B6F4 err_code3:0x9027B6F4
72 *
73 * .
74 *
75 * 05 11 2020 you-ren.chen
76 * [MOLY00505574] [C7108][P171031-06272] MD response error QCI value after call is ended
77 *
78 * Adding messge +ESCONTIND. (MOLY00387552)
79 *
80 * 03 17 2020 you-ren.chen
81 * [MOLY00505574] [C7108][P171031-06272] MD response error QCI value after call is ended
82 *
83 * [VMOLY.TC10] MOLY00387552
84 *
85 * 02 12 2020 dennis.tsai
86 * [MOLY00499183] [VMOLY][LADN-IT] LADN bugs check-in
87 *
88 * add ladn feature.
89 *
90 * 12 06 2019 dennis.tsai
91 * [MOLY00463375] [Gen97][VMOLY] LADN feature check-in.
92 *
93 * add ladn feature.
94 *
95 * 12 06 2019 dennis.tsai
96 * [MOLY00463375] [Gen97][VMOLY] LADN feature check-in.
97 *
98 * add ladn feature.
99 *
100 * 12 06 2019 dennis.tsai
101 * [MOLY00463375] [Gen97][VMOLY] LADN feature check-in.
102 * add ladn feature.
103 *
104 * 10 07 2019 you-ren.chen
105 * [MOLY00446606] [MT6885][Petrus][MP1][SQC][CTA][NSA][PCT][DT][8.20.00.00][TCID:10.2.2.1]Fail
106 *
107 * Update present bit.
108 *
109 * 09 23 2019 chang-yen.chih
110 * [MOLY00442502] D2/DDM Gen97 feature
111 *
112 * D2/DDM large patch back - MPD part
113 *
114 * 05 31 2019 you-ren.chen
115 * [MOLY00410234] [VMOLY] AT+EGPCO
116 *
117 * [VMOLY] ATP->DDM AT+EGPCO.
118 *
119 * 05 23 2019 you-ren.chen
120 * [MOLY00408491] [VMOLY] C5GQOSRDP
121 *
122 * [VMOLY] C5GQOSRDP
123 *
124 * 05 21 2019 you-ren.chen
125 * [MOLY00407636] [VMOLY] C5GQOS
126 *
127 * [VMOLY] C5GQOS
128 *
129 * 11 28 2018 th.cheng
130 * [MOLY00368256] [MT6297][L4][PS]+EPBSEH for 5G
131 * Fix invalid PSI issue
132 *
133 * .
134 *
135 * 11 28 2018 th.cheng
136 * [MOLY00367472] Fix invalid PSI issue
137 *
138 * .
139 *
140 * 11 28 2018 th.cheng
141 * [MOLY00367472] Fix fatel error for CGDCONT.
142 *
143 * 07 31 2018 you-ren.chen
144 * [MOLY00343419] [UMOLYE] Auto sync failed fix.
145 *
146 * [UMOLYE] Sync code fail bug fix
147 *
148 * 07 27 2018 you-ren.chen
149 * [MOLY00340510] [LR12A.R3.TC01.SP] Leading PDP context setting feature. (+LGDCONT)
150 *
151 * [LR13.R0] LGDCONT change + ACT_DATA_CALL refine
152 *
153 * 07 27 2018 you-ren.chen
154 * [MOLY00340510] [LR12A.R3.TC01.SP] Leading PDP context setting feature. (+LGDCONT)
155 *
156 * [LR13.R0] LGDCONT change + ACT_DATA_CALL refine
157 *
158 * 07 27 2018 you-ren.chen
159 * [MOLY00340510] [LR12A.R3.TC01.SP] Leading PDP context setting feature. (+LGDCONT)
160 *
161 * [LR13.R0] LGDCONT change + ACT_DATA_CALL refine
162 *
163 * 07 27 2018 you-ren.chen
164 * [MOLY00340510] [LR12A.R3.TC01.SP] Leading PDP context setting feature. (+LGDCONT)
165 *
166 * [LR13.R0] LGDCONT change + ACT_DATA_CALL refine
167 *
168 * 03 08 2018 dennis.tsai
169 * [MOLY00310154] [MT6763][Telcel] Implement telcel data retry requirement(interface)
170 * add telcel cc33 data retry interface.
171 *
172 * 12 14 2017 you-ren.chen
173 * [MOLY00295872] [MT6763] BGPCORDP
174 *
175 * [LR12A.R3] BGPCORDP command with apn index.
176 *
177 * 12 13 2017 you-ren.chen
178 * [MOLY00295872] [MT6763] BGPCORDP
179 * [LR12A.R3] BGPCORDP implement
180 *
181 * 12 01 2017 you-ren.chen
182 * [MOLY00292296] [MT6763][LR12A.R3] CGEREP & CGPIAF set&read mode
183 *
184 * [LR12A.R3] Auto sync to R3
185 *
186 * 11 29 2017 you-ren.chen
187 * [MOLY00292296] [MT6763][LR12A.R3] CGEREP & CGPIAF set&read mode
188 *
189 * [LR12A.R3] EGPCORDP
190 *
191 * 11 28 2017 dennis.tsai
192 * [MOLY00280226] [Bianco][MT6763][DDM]implement new feature for LR12A.R3.MP
193 * add vzwapne read mode.
194 *
195 * 07 27 2017 mingchun.cheng
196 * [MOLY00267137] [6293] Data Retry Framework
197 * .
198 *
199 * 07 27 2017 mingchun.cheng
200 * [MOLY00267137] [6293] Data Retry Framework
201 * .
202 *
203 * 06 24 2017 mingchun.cheng
204 * [MOLY00259445] [Bianco] sync code form LR12A.MP1
205 * sync from MP1.
206 * 07 05 2017 mingchun.cheng
207 * define MSG_ID & interface for data retry
208 *
209 * 06 24 2017 mingchun.cheng
210 * [MOLY00259445] [Bianco] sync code form LR12A.MP1
211 * sync from MP1.
212 *
213 * 05 25 2017 you-ren.chen
214 * [MOLY00252893] [BIANCO][MT6763] D2AT
215 *
216 * 7531 UMOLYA TRUNK
217 *
218 * 04 19 2017 chang-yen.chih
219 * [MOLY00243485] [BIANCO][MT6763][RDIT][PHONE][PCT][R&S][16.24][E41][10.7.3]ERROR
220 *
221 * .
222 *
223 * 04 07 2017 chang-yen.chih
224 * [MOLY00240148] [MT6763] DAST/DDM integration check in
225 *
226 * 04 05 2017 verit.chen
227 * [MOLY00239378] [BIANCO][MT6763][UMOLYA][D2/DDM] M3 check-in
228 * for M3 check-in
229 *
230 * 02 21 2017 mingchun.cheng
231 * [MOLY00228739] [GEN93][M2] for D2/DDM check-in TRUNK
232 * fix ATP build error (lacking of structure definition).
233 *
234 * 11 14 2016 mingchun.cheng
235 * [MOLY00210549] [MT6293] DAST/DDM integration check in
236 * .
237 *
238 * 11 13 2016 mingchun.cheng
239 * [MOLY00210549] [MT6293] DAST/DDM integration check in
240 * rollback
241 *
242 ****************************************************************************/
243
244#ifndef _ATP_DDM_STRUCT_H
245#define _ATP_DDM_STRUCT_H
246
247#include "kal_general_types.h"
248#include "kal_public_defs.h"
249#include "atcmd_struct.h"
250#include "pdn_public_defs.h"
251
252#define QOS_DATA_STRING_LEN 256
253
254/*******************************************************************************
255* DDM to ATP IND and ATP to DDM RSP (send AT to PS) *
256*******************************************************************************/
257#define ATP_DDM_L4_CMD_IND_LOCAL_PARA_HDR \
258 LOCAL_PARA_HDR \
259 kal_uint32 src_id;
260
261#define ATP_DDM_L4_RSP_IND_LOCAL_PARA_HDR \
262 LOCAL_PARA_HDR \
263 kal_uint32 src_id; \
264 kal_bool is_success; \
265 kal_uint16 err_cause;
266
267
268//AT+CGATT IND
269typedef struct {
270 ATP_DDM_L4_CMD_IND_LOCAL_PARA_HDR
271
272 atcmd_state_enum state;
273} atp_ddm_l4_cmd_cgatt_ind_struct;
274
275//AT+CGATT RSP
276typedef struct {
277 ATP_DDM_L4_RSP_IND_LOCAL_PARA_HDR
278} atp_ddm_l4_cmd_cgatt_rsp_struct;
279
280/*******************************************************************************
281* ATP to DDM (relay AT command from ATP to DDM) *
282*******************************************************************************/
283//MSG_ID_ATP_DDM_EIMSCFG_REQ
284typedef struct {
285 LOCAL_PARA_HDR
286 kal_bool volte_enable;
287 kal_bool vilte_enable;
288 kal_bool vowifi_enable;
289 kal_bool viwifi_enable;
290 kal_bool ims_sms_enable;
291 kal_bool eims_enable;
292} atp_ddm_eimscfg_req_struct;
293typedef struct {
294 LOCAL_PARA_HDR
295
296 at_cmd_common_header_req_struct cmd;
297} atp_ddm_common_req_struct;
298typedef atp_ddm_common_req_struct d2at_ddm_common_req_struct;
299
300typedef struct {
301 LOCAL_PARA_HDR
302
303 at_cgdcont_req_struct cmd;
304 kal_uint8 psi;
305} atp_ddm_cgdcont_req_struct;
306typedef atp_ddm_cgdcont_req_struct atp_d2at_cgdcont_req_struct;
307typedef atp_ddm_cgdcont_req_struct d2at_ddm_cgdcont_req_struct;
308typedef atp_ddm_cgdcont_req_struct atp_d2at_xgdcont_req_struct;
309
310typedef struct {
311 LOCAL_PARA_HDR
312
313 at_cgdscont_req_struct cmd;
314} atp_ddm_cgdscont_req_struct;
315typedef atp_ddm_cgdscont_req_struct atp_d2at_cgdscont_req_struct;
316typedef atp_ddm_cgdscont_req_struct d2at_ddm_cgdscont_req_struct;
317
318typedef struct {
319 LOCAL_PARA_HDR
320
321 at_cgtft_req_struct cmd;
322} atp_ddm_cgtft_req_struct;
323typedef atp_ddm_cgtft_req_struct atp_d2at_cgtft_req_struct;
324typedef atp_ddm_cgtft_req_struct d2at_ddm_cgtft_req_struct;
325
326typedef struct {
327 LOCAL_PARA_HDR
328
329 at_cgqreq_req_struct cmd;
330} atp_ddm_cgqreq_req_struct;
331typedef atp_ddm_cgqreq_req_struct atp_d2at_cgqreq_req_struct;
332typedef atp_ddm_cgqreq_req_struct d2at_ddm_cgqreq_req_struct;
333
334typedef struct {
335 LOCAL_PARA_HDR
336
337 at_cgqmin_req_struct cmd;
338} atp_ddm_cgqmin_req_struct;
339typedef atp_ddm_cgqmin_req_struct atp_d2at_cgqmin_req_struct;
340typedef atp_ddm_cgqmin_req_struct d2at_ddm_cgqmin_req_struct;
341
342typedef struct {
343 LOCAL_PARA_HDR
344
345 at_cgeqreq_req_struct cmd;
346} atp_ddm_cgeqreq_req_struct;
347typedef atp_ddm_cgeqreq_req_struct atp_d2at_cgeqreq_req_struct;
348typedef atp_ddm_cgeqreq_req_struct d2at_ddm_cgeqreq_req_struct;
349
350typedef struct {
351 LOCAL_PARA_HDR
352
353 at_cgeqmin_req_struct cmd;
354} atp_ddm_cgeqmin_req_struct;
355typedef atp_ddm_cgeqmin_req_struct atp_d2at_cgeqmin_req_struct;
356typedef atp_ddm_cgeqmin_req_struct d2at_ddm_cgeqmin_req_struct;
357
358typedef struct {
359 LOCAL_PARA_HDR
360
361 at_cgeqneg_req_struct cmd;
362} atp_ddm_cgeqneg_req_struct;
363typedef atp_ddm_cgeqneg_req_struct atp_d2at_cgeqneg_req_struct;
364typedef atp_ddm_cgeqneg_req_struct d2at_ddm_cgeqneg_req_struct;
365
366typedef struct {
367 LOCAL_PARA_HDR
368
369 at_crladn_req_struct cmd;
370} atp_ddm_crladn_req_struct;
371typedef atp_ddm_crladn_req_struct atp_d2at_crladn_req_struct;
372typedef atp_ddm_crladn_req_struct d2at_ddm_crladn_req_struct;
373
374typedef struct {
375 LOCAL_PARA_HDR
376
377 at_cladn_req_struct cmd;
378} atp_ddm_cladn_req_struct;
379typedef atp_ddm_cladn_req_struct atp_d2at_cladn_req_struct;
380typedef atp_ddm_cladn_req_struct d2at_ddm_cladn_req_struct;
381
382typedef struct {
383 LOCAL_PARA_HDR
384
385 at_escontind_req_struct cmd;
386} atp_ddm_escontind_req_struct;
387typedef atp_ddm_escontind_req_struct atp_d2at_escontind_req_struct;
388typedef atp_ddm_escontind_req_struct d2at_ddm_escontind_req_struct;
389
390typedef struct {
391 LOCAL_PARA_HDR
392
393 at_escontind_ind_struct cmd;
394} atp_ddm_escontind_ind_struct;
395typedef atp_ddm_escontind_ind_struct atp_d2at_escontind_ind_struct;
396typedef atp_ddm_escontind_ind_struct d2at_ddm_escontind_ind_struct;
397
398typedef struct {
399 LOCAL_PARA_HDR
400
401 kal_uint32 src_id;
402 kal_uint8 ladn_support;
403} atp_ddm_eladn_req_struct;
404
405typedef struct {
406 LOCAL_PARA_HDR
407
408 at_cgact_req_struct cmd;
409} atp_ddm_cgact_req_struct;
410typedef atp_ddm_cgact_req_struct atp_d2at_ddm_cgact_req_struct;
411typedef atp_ddm_cgact_req_struct d2at_ddm_cgact_req_struct;
412
413typedef struct {
414 LOCAL_PARA_HDR
415
416 at_cgcmod_req_struct cmd;
417} atp_ddm_cgcmod_req_struct;
418typedef atp_ddm_cgcmod_req_struct atp_d2at_cgcmod_req_struct;
419typedef atp_ddm_cgcmod_req_struct d2at_ddm_cgcmod_req_struct;
420
421typedef struct {
422 LOCAL_PARA_HDR
423
424 at_cgpaddr_req_struct cmd;
425} atp_ddm_cgpaddr_req_struct;
426typedef atp_ddm_cgpaddr_req_struct atp_d2at_cgpaddr_req_struct;
427typedef atp_ddm_cgpaddr_req_struct d2at_ddm_cgpaddr_req_struct;
428
429typedef struct {
430 LOCAL_PARA_HDR
431
432 at_cgauto_req_struct cmd;
433} atp_ddm_cgauto_req_struct;
434
435typedef struct {
436 LOCAL_PARA_HDR
437
438 at_cgans_req_struct cmd;
439} atp_ddm_cgans_req_struct;
440typedef atp_ddm_cgans_req_struct atp_d2at_cgans_req_struct;
441typedef atp_ddm_cgans_req_struct d2at_ddm_cgans_req_struct;
442
443typedef struct {
444 LOCAL_PARA_HDR
445
446 at_cgerep_req_struct cmd;
447} atp_ddm_cgerep_req_struct;
448typedef atp_ddm_cgerep_req_struct atp_d2at_cgerep_req_struct;
449
450typedef struct {
451 LOCAL_PARA_HDR
452
453 at_cgcontrdp_req_struct cmd;
454} atp_ddm_cgcontrdp_req_struct;
455
456typedef struct {
457 LOCAL_PARA_HDR
458
459 at_cgscontrdp_req_struct cmd;
460} atp_ddm_cgscontrdp_req_struct;
461typedef atp_ddm_cgscontrdp_req_struct atp_d2at_cgscontrdp_req_struct;
462typedef atp_ddm_cgscontrdp_req_struct d2at_ddm_cgscontrdp_req_struct;
463
464typedef struct {
465 LOCAL_PARA_HDR
466
467 at_cgtftrdp_req_struct cmd;
468} atp_ddm_cgtftrdp_req_struct;
469typedef atp_ddm_cgtftrdp_req_struct atp_d2at_cgtftrdp_req_struct;
470typedef atp_ddm_cgtftrdp_req_struct d2at_ddm_cgtftrdp_req_struct;
471
472typedef struct {
473 LOCAL_PARA_HDR
474
475 at_cgeqos_req_struct cmd;
476} atp_ddm_cgeqos_req_struct;
477typedef atp_ddm_cgeqos_req_struct atp_d2at_cgeqos_req_struct;
478typedef atp_ddm_cgeqos_req_struct d2at_ddm_cgeqos_req_struct;
479
480typedef struct {
481 LOCAL_PARA_HDR
482
483 at_cgeqosrdp_req_struct cmd;
484} atp_ddm_cgeqosrdp_req_struct;
485typedef atp_ddm_cgeqosrdp_req_struct atp_d2at_cgeqosrdp_req_struct;
486typedef atp_ddm_cgeqosrdp_req_struct d2at_ddm_cgeqosrdp_req_struct;
487
488typedef struct {
489 LOCAL_PARA_HDR
490
491 at_c5gqos_req_struct cmd;
492} atp_ddm_c5gqos_req_struct;
493typedef atp_ddm_c5gqos_req_struct atp_d2at_c5gqos_req_struct;
494typedef atp_ddm_c5gqos_req_struct d2at_ddm_c5gqos_req_struct;
495
496typedef struct {
497 LOCAL_PARA_HDR
498
499 at_c5gqosrdp_req_struct cmd;
500} atp_ddm_c5gqosrdp_req_struct;
501typedef atp_ddm_c5gqosrdp_req_struct atp_d2at_c5gqosrdp_req_struct;
502typedef atp_ddm_c5gqosrdp_req_struct d2at_ddm_c5gqosrdp_req_struct;
503
504typedef struct {
505 LOCAL_PARA_HDR
506
507 at_cgdel_req_struct cmd;
508} atp_ddm_cgdel_req_struct;
509typedef atp_ddm_cgdel_req_struct atp_d2at_cgdel_req_struct;
510typedef atp_ddm_cgdel_req_struct d2at_ddm_cgdel_req_struct;
511
512typedef struct {
513 LOCAL_PARA_HDR
514
515 at_cgauth_req_struct cmd;
516 kal_uint8 psi;
517} atp_ddm_cgauth_req_struct;
518typedef atp_ddm_cgauth_req_struct atp_d2at_cgauth_req_struct;
519typedef atp_ddm_cgauth_req_struct d2at_ddm_cgauth_req_struct;
520
521typedef struct {
522 LOCAL_PARA_HDR
523
524 at_ecncfg_req_struct cmd;
525} atp_ddm_ecncfg_req_struct;
526
527typedef struct {
528 LOCAL_PARA_HDR
529
530 at_egdcont_req_struct cmd;
531 kal_uint8 psi;
532} atp_ddm_egdcont_req_struct;
533typedef atp_ddm_egdcont_req_struct atp_d2at_egdcont_req_struct;
534typedef atp_ddm_egdcont_req_struct d2at_ddm_egdcont_req_struct;
535
536typedef struct {
537 LOCAL_PARA_HDR
538
539 at_vzwapnetmr_req_struct cmd;
540} atp_ddm_vzwapnetmr_req_struct;
541
542typedef struct {
543 LOCAL_PARA_HDR
544
545 at_vzwapne_req_struct cmd;
546} atp_ddm_vzwapne_req_struct;
547
548typedef struct {
549 LOCAL_PARA_HDR
550
551 at_egpau_req_struct cmd;
552} atp_ddm_egpau_req_struct;
553typedef atp_ddm_egpau_req_struct atp_d2at_egpau_req_struct;
554typedef atp_ddm_egpau_req_struct d2at_ddm_egpau_req_struct;
555
556typedef struct {
557 LOCAL_PARA_HDR
558
559 at_egact_req_struct cmd;
560} atp_ddm_egact_req_struct;
561typedef atp_ddm_egact_req_struct atp_d2at_egact_req_struct;
562typedef atp_ddm_egact_req_struct d2at_ddm_egact_req_struct;
563
564typedef struct {
565 LOCAL_PARA_HDR
566
567 at_cgsdata_req_struct cmd;
568} atp_ddm_cgsdata_req_struct;
569typedef atp_ddm_cgsdata_req_struct atp_d2at_cgsdata_req_struct;
570typedef atp_ddm_cgsdata_req_struct d2at_ddm_cgsdata_req_struct;
571
572typedef struct {
573 LOCAL_PARA_HDR
574
575 at_acttest_req_struct cmd;
576} atp_ddm_acttest_req_struct;
577typedef atp_ddm_acttest_req_struct atp_d2at_acttest_req_struct;
578typedef atp_ddm_acttest_req_struct d2at_ddm_acttest_req_struct;
579
580typedef struct {
581 LOCAL_PARA_HDR
582
583 at_psbearer_req_struct cmd;
584} atp_ddm_psbearer_req_struct;
585
586typedef struct {
587 LOCAL_PARA_HDR
588
589 at_egfb_req_struct cmd;
590} atp_ddm_egfb_req_struct;
591
592typedef struct {
593 LOCAL_PARA_HDR
594
595 at_egdelpf_req_struct cmd;
596} atp_ddm_egdelpf_req_struct;
597typedef atp_ddm_egdelpf_req_struct atp_d2at_egdelpf_req_struct;
598typedef atp_ddm_egdelpf_req_struct d2at_ddm_egdelpf_req_struct;
599
600typedef struct {
601 LOCAL_PARA_HDR
602
603 at_eglnkpf_req_struct cmd;
604} atp_ddm_eglnkpf_req_struct;
605typedef atp_ddm_eglnkpf_req_struct atp_d2at_eglnkpf_req_struct;
606typedef atp_ddm_eglnkpf_req_struct d2at_ddm_eglnkpf_req_struct;
607
608typedef struct {
609 LOCAL_PARA_HDR
610
611 at_egpcordp_req_struct cmd;
612 at_token_parse_result_enum APN_parse_result;
613 kal_char APN[APN_STRING_LEN];
614 at_token_parse_result_enum APN_index_parse_result;
615 kal_bool APN_index;
616} atp_ddm_egpcordp_req_struct;
617typedef atp_ddm_egpcordp_req_struct atp_d2at_egpcordp_req_struct;
618typedef atp_ddm_egpcordp_req_struct d2at_ddm_egpcordp_req_struct;
619typedef atp_ddm_egpcordp_req_struct atp_d2at_bgpcordp_req_struct;
620
621typedef struct {
622 LOCAL_PARA_HDR
623
624 at_egpco_req_struct cmd;
625 kal_uint8 psi;
626} atp_ddm_egpco_req_struct;
627typedef atp_ddm_egpco_req_struct atp_d2at_egpco_req_struct;
628typedef atp_ddm_egpco_req_struct d2at_ddm_egpco_req_struct;
629
630typedef struct {
631 kal_uint32 src_id;
632 atp_cmd_mode_enum cmd_mode;
633 at_token_parse_result_enum mode_parse_result;
634 kal_uint8 mode;
635 at_token_parse_result_enum APN_parse_result;
636 kal_uint8 APN[APN_STRING_LEN];
637} at_edretry_req_struct;
638
639typedef struct {
640 LOCAL_PARA_HDR
641
642 at_edretry_req_struct cmd;
643} atp_ddm_edretry_req_struct;
644
645typedef struct {
646 LOCAL_PARA_HDR
647
648 at_cgdata_req_struct cmd;
649 network_interface_id_info_struct selected_network_interface_id_info;
650 apn_type_info_struct apn_type_info;
651} atp_ddm_cgdata_req_struct;
652typedef atp_ddm_cgdata_req_struct atp_d2at_cgdata_req_struct;
653typedef atp_ddm_cgdata_req_struct d2at_ddm_cgdata_req_struct;
654
655typedef struct {
656 LOCAL_PARA_HDR
657
658 at_egld_req_struct cmd;
659} atp_ddm_egld_req_struct;
660typedef atp_ddm_egld_req_struct atp_d2at_egld_req_struct;
661typedef atp_ddm_egld_req_struct d2at_ddm_egld_req_struct;
662
663typedef struct {
664 LOCAL_PARA_HDR
665
666 at_edallow_req_struct cmd;
667} atp_ddm_edallow_req_struct;
668
669/*******************************************************************************
670* DDM to ATP(relay AT cnf/ind from DDM to ATP) *
671*******************************************************************************/
672typedef struct {
673 LOCAL_PARA_HDR
674
675 at_cmd_cnf_struct cmd;
676} atp_ddm_cmd_cnf_struct;
677typedef atp_ddm_cmd_cnf_struct atp_d2at_cmd_cnf_struct;
678typedef atp_ddm_cmd_cnf_struct d2at_ddm_cmd_cnf_struct;
679
680typedef struct {
681 LOCAL_PARA_HDR
682
683 at_cgev_ind_struct cmd;
684} atp_ddm_cgev_ind_struct;
685
686typedef struct {
687 LOCAL_PARA_HDR
688
689 at_cgdcont_ind_struct cmd;
690} atp_ddm_cgdcont_ind_struct;
691typedef atp_ddm_cgdcont_ind_struct atp_d2at_cgdcont_ind_struct;
692typedef atp_ddm_cgdcont_ind_struct d2at_ddm_cgdcont_ind_struct;
693typedef atp_ddm_cgdcont_ind_struct atp_d2at_xgdcont_ind_struct;
694
695typedef struct {
696 LOCAL_PARA_HDR
697
698 at_cgdscont_ind_struct cmd;
699} atp_ddm_cgdscont_ind_struct;
700typedef atp_ddm_cgdscont_ind_struct atp_d2at_cgdscont_ind_struct;
701typedef atp_ddm_cgdscont_ind_struct d2at_ddm_cgdscont_ind_struct;
702
703typedef struct {
704 LOCAL_PARA_HDR
705
706 at_cgtft_ind_struct cmd;
707} atp_ddm_cgtft_ind_struct;
708typedef atp_ddm_cgtft_ind_struct atp_d2at_cgtft_ind_struct;
709typedef atp_ddm_cgtft_ind_struct d2at_ddm_cgtft_ind_struct;
710
711typedef struct {
712 LOCAL_PARA_HDR
713
714 at_cgqreq_ind_struct cmd;
715} atp_ddm_cgqreq_ind_struct;
716typedef atp_ddm_cgqreq_ind_struct atp_d2at_cgqreq_ind_struct;
717typedef atp_ddm_cgqreq_ind_struct d2at_ddm_cgqreq_ind_struct;
718
719typedef struct {
720 LOCAL_PARA_HDR
721
722 at_cgqmin_ind_struct cmd;
723} atp_ddm_cgqmin_ind_struct;
724typedef atp_ddm_cgqmin_ind_struct atp_d2at_cgqmin_ind_struct;
725typedef atp_ddm_cgqmin_ind_struct d2at_ddm_cgqmin_ind_struct;
726
727
728typedef struct {
729 LOCAL_PARA_HDR
730
731 at_cgeqreq_ind_struct cmd;
732} atp_ddm_cgeqreq_ind_struct;
733typedef atp_ddm_cgeqreq_ind_struct atp_d2at_cgeqreq_ind_struct;
734typedef atp_ddm_cgeqreq_ind_struct d2at_ddm_cgeqreq_ind_struct;
735
736typedef struct {
737 LOCAL_PARA_HDR
738
739 at_cgeqmin_ind_struct cmd;
740} atp_ddm_cgeqmin_ind_struct;
741typedef atp_ddm_cgeqmin_ind_struct atp_d2at_cgeqmin_ind_struct;
742typedef atp_ddm_cgeqmin_ind_struct d2at_ddm_cgeqmin_ind_struct;
743
744typedef struct {
745 LOCAL_PARA_HDR
746
747 at_cgeqneg_ind_struct cmd;
748} atp_ddm_cgeqneg_ind_struct;
749typedef atp_ddm_cgeqneg_ind_struct atp_d2at_cgeqneg_ind_struct;
750typedef atp_ddm_cgeqneg_ind_struct d2at_ddm_cgeqneg_ind_struct;
751
752typedef struct {
753 LOCAL_PARA_HDR
754
755 at_cgact_ind_struct cmd;
756} atp_ddm_cgact_ind_struct;
757typedef atp_ddm_cgact_ind_struct atp_d2at_ddm_cgact_ind_struct;
758typedef atp_ddm_cgact_ind_struct d2at_ddm_cgact_ind_struct;
759
760typedef struct {
761 LOCAL_PARA_HDR
762
763 at_cgpaddr_ind_struct cmd;
764} atp_ddm_cgpaddr_ind_struct;
765typedef atp_ddm_cgpaddr_ind_struct atp_d2at_cgpaddr_ind_struct;
766typedef atp_ddm_cgpaddr_ind_struct d2at_ddm_cgpaddr_ind_struct;
767
768typedef struct {
769 LOCAL_PARA_HDR
770
771 at_cgauto_ind_struct cmd;
772} atp_ddm_cgauto_ind_struct;
773
774typedef struct {
775 LOCAL_PARA_HDR
776
777 at_cgerep_ind_struct cmd;
778} atp_ddm_cgerep_ind_struct;
779typedef atp_ddm_cgerep_ind_struct atp_d2at_cgerep_ind_struct;
780
781typedef struct {
782 LOCAL_PARA_HDR
783
784 at_cgcontrdp_ind_struct cmd;
785} atp_ddm_cgcontrdp_ind_struct;
786typedef atp_ddm_cgcontrdp_ind_struct atp_d2at_ddm_cgcontrdp_ind_struct;
787typedef atp_ddm_cgcontrdp_ind_struct d2at_ddm_cgcontrdp_ind_struct;
788
789typedef struct {
790 LOCAL_PARA_HDR
791
792 at_cgscontrdp_ind_struct cmd;
793} atp_ddm_cgscontrdp_ind_struct;
794typedef atp_ddm_cgscontrdp_ind_struct atp_d2at_cgscontrdp_ind_struct;
795typedef atp_ddm_cgscontrdp_ind_struct d2at_ddm_cgscontrdp_ind_struct;
796
797typedef struct {
798 LOCAL_PARA_HDR
799
800 at_cgtftrdp_ind_struct cmd;
801} atp_ddm_cgtftrdp_ind_struct;
802typedef atp_ddm_cgtftrdp_ind_struct atp_d2at_cgtftrdp_ind_struct;
803typedef atp_ddm_cgtftrdp_ind_struct d2at_ddm_cgtftrdp_ind_struct;
804
805typedef struct {
806 LOCAL_PARA_HDR
807
808 at_cgeqos_ind_struct cmd;
809} atp_ddm_cgeqos_ind_struct;
810typedef atp_ddm_cgeqos_ind_struct atp_d2at_cgeqos_ind_struct;
811typedef atp_ddm_cgeqos_ind_struct d2at_ddm_cgeqos_ind_struct;
812
813typedef struct {
814 LOCAL_PARA_HDR
815
816 at_cgeqosrdp_ind_struct cmd;
817} atp_ddm_cgeqosrdp_ind_struct;
818typedef atp_ddm_cgeqosrdp_ind_struct atp_d2at_cgeqosrdp_ind_struct;
819typedef atp_ddm_cgeqosrdp_ind_struct d2at_ddm_cgeqosrdp_ind_struct;
820
821typedef struct {
822 LOCAL_PARA_HDR
823
824 at_c5gqos_ind_struct cmd;
825} atp_ddm_c5gqos_ind_struct;
826typedef atp_ddm_c5gqos_ind_struct atp_d2at_c5gqos_ind_struct;
827typedef atp_ddm_c5gqos_ind_struct d2at_ddm_c5gqos_ind_struct;
828
829typedef struct {
830 LOCAL_PARA_HDR
831
832 at_c5gqosrdp_ind_struct cmd;
833} atp_ddm_c5gqosrdp_ind_struct;
834typedef atp_ddm_c5gqosrdp_ind_struct atp_d2at_c5gqosrdp_ind_struct;
835typedef atp_ddm_c5gqosrdp_ind_struct d2at_ddm_c5gqosrdp_ind_struct;
836
837typedef struct {
838 LOCAL_PARA_HDR
839
840 at_cgdel_ind_struct cmd;
841} atp_ddm_cgdel_ind_struct;
842typedef atp_ddm_cgdel_ind_struct atp_d2at_cgdel_ind_struct;
843typedef atp_ddm_cgdel_ind_struct d2at_ddm_cgdel_ind_struct;
844
845typedef struct {
846 LOCAL_PARA_HDR
847
848 at_cgauth_ind_struct cmd;
849} atp_ddm_cgauth_ind_struct;
850typedef atp_ddm_cgauth_ind_struct atp_d2at_cgauth_ind_struct;
851typedef atp_ddm_cgauth_ind_struct d2at_ddm_cgauth_ind_struct;
852
853typedef struct {
854 LOCAL_PARA_HDR
855
856 at_psbearer_ind_struct cmd;
857} atp_ddm_psbearer_ind_struct;
858
859typedef struct {
860 LOCAL_PARA_HDR
861
862 at_egfb_ind_struct cmd;
863} atp_ddm_egfb_ind_struct;
864
865typedef struct {
866 LOCAL_PARA_HDR
867
868 at_egdelpf_ind_struct cmd;
869} atp_ddm_egdelpf_ind_struct;
870typedef atp_ddm_egdelpf_ind_struct atp_d2at_egdelpf_ind_struct;
871typedef atp_ddm_egdelpf_ind_struct d2at_ddm_egdelpf_ind_struct;
872
873typedef struct {
874 LOCAL_PARA_HDR
875
876 at_eglnkpf_ind_struct cmd;
877} atp_ddm_eglnkpf_ind_struct;
878typedef atp_ddm_eglnkpf_ind_struct atp_d2at_eglnkpf_ind_struct;
879typedef atp_ddm_eglnkpf_ind_struct d2at_ddm_eglnkpf_ind_struct;
880
881typedef struct {
882 LOCAL_PARA_HDR
883
884 at_egpcordp_ind_struct cmd;
885 kal_uint8 BGPCORDP_flag;
886} atp_ddm_egpcordp_ind_struct;
887typedef atp_ddm_egpcordp_ind_struct atp_d2at_egpcordp_ind_struct;
888typedef atp_ddm_egpcordp_ind_struct d2at_ddm_egpcordp_ind_struct;
889typedef atp_ddm_egpcordp_ind_struct atp_d2at_bgpcordp_ind_struct;
890
891typedef struct {
892 LOCAL_PARA_HDR
893
894 at_egpco_ind_struct cmd;
895} atp_ddm_egpco_ind_struct;
896typedef atp_ddm_egpco_ind_struct atp_d2at_egpco_ind_struct;
897typedef atp_ddm_egpco_ind_struct d2at_ddm_egpco_ind_struct;
898
899typedef struct {
900 LOCAL_PARA_HDR
901
902 at_cmd_cnf_struct cmd;
903} atp_ddm_cgdata_cnf_struct;
904
905typedef struct {
906 LOCAL_PARA_HDR
907
908 at_egev_ind_struct cmd;
909} atp_ddm_egev_ind_struct;
910
911typedef struct {
912 LOCAL_PARA_HDR
913
914 at_vzwapne_ind_struct cmd;
915} atp_ddm_vzwapne_ind_struct;
916
917typedef struct {
918 LOCAL_PARA_HDR
919
920 at_vzwapnetmr_ind_struct cmd;
921} atp_ddm_vzwapnetmr_ind_struct;
922#ifdef __TC01__
923//+ETIMER IND
924typedef struct {
925 LOCAL_PARA_HDR
926 at_backoff_timer_ind_struct cmd;
927} atp_ddm_backoff_timer_ind_struct;
928#endif
929//+ENWLIMIT IND
930typedef struct
931{
932 kal_uint32 src_id;
933 kal_uint32 limit_value;
934 kal_uint32 cid;
935} at_nwlimit_ind_struct;
936
937typedef struct {
938 LOCAL_PARA_HDR
939
940 at_nwlimit_ind_struct cmd;
941} atp_ddm_nwlimit_ind_struct;
942
943typedef struct
944{
945 kal_uint32 src_id;
946 atp_cmd_mode_enum cmd_mode;
947
948 at_token_parse_result_enum enable_value_parse_result;
949 kal_uint32 enable_value;
950
951 at_token_parse_result_enum qos_data_parse_result;
952 kal_uint8 qos_data[QOS_DATA_STRING_LEN];
953} at_egqos_req_struct;
954
955typedef struct {
956 LOCAL_PARA_HDR
957
958 at_egqos_req_struct cmd;
959} atp_ddm_egqos_req_struct;
960
961typedef struct {
962 LOCAL_PARA_HDR
963
964 at_crladn_ind_struct cmd;
965} atp_ddm_crladn_ind_struct;
966
967typedef struct {
968 LOCAL_PARA_HDR
969
970 at_cladn_ind_struct cmd;
971} atp_ddm_cladn_ind_struct;
972
973typedef struct {
974 LOCAL_PARA_HDR
975
976 at_cladnu_ind_struct cmd;
977} atp_ddm_cladnu_ind_struct;
978#if 0 //should be removed
979/* under construction !*/
980/* under construction !*/
981/* under construction !*/
982/* under construction !*/
983/* under construction !*/
984/* under construction !*/
985/* under construction !*/
986/* under construction !*/
987/* under construction !*/
988/* under construction !*/
989/* under construction !*/
990/* under construction !*/
991/* under construction !*/
992#endif
993#endif /* _ATP_DDM_STRUCT_H */