blob: 57191e47b73ca81e588a6fef2fc25ba05badd4df [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#ifndef D2PM_N3EPC_STRUCT_H
36#define D2PM_N3EPC_STRUCT_H
37
38#include "d2pm_public_defs.h"
39#include "kal_general_types.h"
40#include "kal_public_defs.h"
41#include "netinfo_common_struct.h"
42#include "ps_public_enum.h"
43
44// Implementation
45/*******************************************************************************
46* D2PM to WO REQ *
47*******************************************************************************/
48typedef struct { kal_uint32 src_id; } d2pm_n3epc_comm_prv_struct;
49
50typedef ip_info_struct d2pm_n3epc_ip_info_struct;
51typedef net_info_struct d2pm_n3epc_net_info_struct;
52typedef if_info_struct d2pm_n3epc_if_info_struct;
53
54typedef struct {
55 kal_uint32 src_id;
56 d2pm_n3epc_ip_info_struct ip_info;
57 d2pm_n3epc_if_info_struct if_info;
58 kal_bool pcscf_restore;
59 kal_bool fb_cid_present;
60 kal_uint32 fb_cid;
61} d2pm_n3epc_act_data_call_req_prv_struct;
62
63typedef d2pm_n3epc_comm_prv_struct d2pm_n3epc_deact_data_call_req_prv_struct;
64typedef d2pm_n3epc_comm_prv_struct d2pm_n3epc_abort_data_call_req_prv_struct;
65typedef d2pm_n3epc_comm_prv_struct d2pm_n3epc_mod_data_call_req_prv_struct;
66typedef d2pm_n3epc_comm_prv_struct d2pm_n3epc_get_data_call_list_req_prv_struct;
67typedef d2pm_n3epc_comm_prv_struct d2pm_n3epc_get_dynamic_param_req_prv_struct;
68
69typedef struct {
70 kal_uint32 src_id;
71 kal_uint32 linked_pfid;
72} d2pm_n3epc_set_packet_filter_req_prv_struct;
73
74/*******************************************************************************
75* WO TO D2PM CNF *
76*******************************************************************************/
77typedef d2pm_n3epc_comm_prv_struct d2pm_n3epc_act_data_call_cnf_prv_struct;
78typedef d2pm_n3epc_comm_prv_struct d2pm_n3epc_deact_data_call_cnf_prv_struct;
79typedef d2pm_n3epc_comm_prv_struct d2pm_n3epc_abort_data_call_cnf_prv_struct;
80typedef d2pm_n3epc_comm_prv_struct d2pm_n3epc_mod_data_call_cnf_prv_struct;
81typedef d2pm_n3epc_comm_prv_struct d2pm_n3epc_get_data_call_list_cnf_prv_struct;
82typedef d2pm_n3epc_comm_prv_struct d2pm_n3epc_get_dynamic_param_cnf_prv_struct;
83
84/*******************************************************************************
85* WO TO D2PM IND *
86*******************************************************************************/
87typedef struct {
88 kal_uint32 src_id; // Unused above D2RM
89 kal_uint8 apn[APN_STRING_LEN];
90 d2pm_n3epc_net_info_struct net_info;
91} d2pm_n3epc_get_dynamic_param_ind_prv_struct;
92
93typedef struct {
94 kal_uint32 src_id;
95 d2pm_n3epc_ip_info_struct ip_info;
96} d2pm_n3epc_get_pdp_address_ind_prv_struct;
97
98typedef d2pm_n3epc_comm_prv_struct d2pm_n3epc_pdn_disconn_ind_prv_struct;
99typedef d2pm_n3epc_comm_prv_struct d2pm_n3epc_pdn_nw_act_ind_prv_struct;
100typedef d2pm_n3epc_pdn_disconn_ind_prv_struct
101 d2pm_n3epc_pdn_nw_deact_ind_prv_struct; // D2PM uses this one
102typedef d2pm_n3epc_comm_prv_struct d2pm_n3epc_get_data_call_list_ind_prv_struct;
103typedef d2pm_n3epc_comm_prv_struct
104 d2pm_n3epc_get_secondary_dynamic_param_ind_prv_struct;
105typedef d2pm_n3epc_comm_prv_struct d2pm_n3epc_get_qos_ind_prv_struct;
106typedef d2pm_n3epc_comm_prv_struct d2pm_n3epc_get_tft_ind_prv_struct;
107typedef d2pm_n3epc_comm_prv_struct d2pm_n3epc_get_packet_filter_ind_prv_struct;
108typedef d2pm_n3epc_comm_prv_struct d2pm_n3epc_mod_data_call_ind_prv_struct;
109
110#endif /* D2PM_N3EPC_STRUCT_H */