rjw | 6c1fd8f | 2022-11-30 14:33:01 +0800 | [diff] [blame] | 1 | /***************************************************************************** |
| 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 | #ifndef D2RM_N3EPC_STRUCT_H |
| 37 | #define D2RM_N3EPC_STRUCT_H |
| 38 | |
| 39 | #include "kal_general_types.h" |
| 40 | #include "kal_public_defs.h" |
| 41 | #include "netinfo_common_struct.h" |
| 42 | |
| 43 | #include "atcmd_struct.h" |
| 44 | |
| 45 | #include "d2pm_n3epc_struct.h" |
| 46 | #include "n3epc_public_defs.h" |
| 47 | #include "iwlan_public_defs.h" |
| 48 | #include "pdn_public_defs.h" |
| 49 | |
| 50 | /*MD common type redefinition*/ |
| 51 | typedef ip_info_struct d2rm_n3epc_ip_info_struct; |
| 52 | typedef net_info_struct d2rm_n3epc_net_info_struct; |
| 53 | typedef ip_info_struct n3epc_ip_info_struct; |
| 54 | typedef net_info_struct n3epc_net_info_struct; |
| 55 | typedef retry_info_struct d2rm_n3epc_retry_info_struct; |
| 56 | typedef iwlan_ran_e d2rm_n3epc_ran_enum; |
| 57 | typedef d2rm_ho_state_e d2rm_n3epc_ho_state_enum; |
| 58 | typedef enum { |
| 59 | N3EPC_PROTO_IPV4 = 1, |
| 60 | N3EPC_PROTO_IPV6, |
| 61 | N3EPC_PROTO_IPV4V6, |
| 62 | } n3epc_protocol_enum; |
| 63 | |
| 64 | typedef enum { |
| 65 | // a single CID or the final CID |
| 66 | N3EPC_RES_NONE = D2PM_RES_NONE, |
| 67 | N3EPC_RES_FAIL = D2PM_RES_FAIL, |
| 68 | N3EPC_RES_SUCC = D2PM_RES_SUCC, |
| 69 | // a subsequent CID |
| 70 | N3EPC_RES_FAIL_ABORT = D2PM_RES_FAIL_ABORT, |
| 71 | N3EPC_RES_SUCC_ABORT = D2PM_RES_SUCC_ABORT, |
| 72 | N3EPC_RES_MAX = 0x7FFFFFFF |
| 73 | } n3epc_res_enum; |
| 74 | |
| 75 | typedef enum { |
| 76 | N3EPC_RETRY_NO_SUGGEST = -2, |
| 77 | N3EPC_RETRY_NO_RETRY = -1, |
| 78 | N3EPC_RETRY_IMMEDIATE = 0, |
| 79 | N3EPC_RETRY_1_SEC = 1, |
| 80 | } n3epc_retry_enum; |
| 81 | |
| 82 | typedef enum n3epc_apn_unblock_condition_enum { |
| 83 | N3EPC_APN_UNBLOCK_CONDITION_NONE = 0, |
| 84 | N3EPC_APN_UNBLOCK_CONDITION_POWEROFF = 1 << 1, |
| 85 | N3EPC_APN_UNBLOCK_CONDITION_SIM_INSERTED = |
| 86 | N3EPC_APN_UNBLOCK_CONDITION_POWEROFF, |
| 87 | N3EPC_APN_UNBLOCK_CONDITION_WIFI_OFF_ON = 1 << 2, |
| 88 | N3EPC_APN_UNBLOCK_CONDITION_WIFI_ASSOCIATED = 1 << 3, |
| 89 | N3EPC_APN_UNBLOCK_CONDITION_SSID_CHANGED = 1 << 4, |
| 90 | N3EPC_APN_UNBLOCK_CONDITION_PDN_DISCONNECTED = 1 << 5, |
| 91 | N3EPC_APN_UNBLOCK_CONDITION_TIMER_EXPIRED = 1 << 6, |
| 92 | N3EPC_APN_UNBLOCK_CONDITION_IMS_OFF_ON = 1 << 7, |
| 93 | N3EPC_APN_UNBLOCK_CONDITION_WFC_OFF_ON = 1 << 8, |
| 94 | } n3epc_apn_unblock_condition_enum; |
| 95 | |
| 96 | // Implementation |
| 97 | /******************************************************************************* |
| 98 | * D2RM to WO REQ * |
| 99 | *******************************************************************************/ |
| 100 | // MSG_ID_D2RM_N3EPC_ACT_DATA_CALL_REQ |
| 101 | typedef struct { |
| 102 | kal_bool isIMS; |
| 103 | kal_bool isEmergency; |
| 104 | n3epc_protocol_enum protocol; |
| 105 | } d2rm_n3epc_act_data_call_req_prv_struct; |
| 106 | |
| 107 | typedef struct { |
| 108 | kal_uint8 psi; |
| 109 | } d2rm_n3epc_param_5g_struct; |
| 110 | |
| 111 | typedef struct { |
| 112 | LOCAL_PARA_HDR |
| 113 | |
| 114 | /* common part */ |
| 115 | iwlan_ran_e src_ran; |
| 116 | iwlan_ran_e tgt_ran; |
| 117 | kal_uint32 cid; |
| 118 | kal_uint8 apn[APN_STRING_LEN]; |
| 119 | kal_uint32 quick_abort_time; // in seconds, 0 means no quick abort and follow normal flow |
| 120 | |
| 121 | /* private part */ |
| 122 | d2rm_n3epc_act_data_call_req_prv_struct d2rm_n3epc_prv; |
| 123 | d2pm_n3epc_act_data_call_req_prv_struct d2pm_n3epc_prv; |
| 124 | |
| 125 | d2rm_n3epc_param_5g_struct param_5g; |
| 126 | } d2rm_n3epc_act_data_call_req_struct; |
| 127 | |
| 128 | // MSG_ID_D2RM_N3EPC_DEACT_DATA_CALL_REQ |
| 129 | typedef struct { |
| 130 | kal_uint8 apn[APN_STRING_LEN]; |
| 131 | } d2rm_n3epc_comm_prv_struct; |
| 132 | |
| 133 | typedef d2rm_n3epc_comm_prv_struct d2rm_n3epc_deact_data_call_req_prv_struct; |
| 134 | typedef struct { |
| 135 | LOCAL_PARA_HDR |
| 136 | |
| 137 | /* common part */ |
| 138 | iwlan_ran_e ran; |
| 139 | kal_uint32 cid; |
| 140 | kal_bool force; |
| 141 | /* private part */ |
| 142 | d2rm_n3epc_deact_data_call_req_prv_struct d2rm_n3epc_prv; |
| 143 | d2pm_n3epc_deact_data_call_req_prv_struct d2pm_n3epc_prv; |
| 144 | } d2rm_n3epc_deact_data_call_req_struct; |
| 145 | |
| 146 | // MSG_ID_D2RM_N3EPC_ABORT_DATA_CALL_REQ |
| 147 | typedef d2rm_n3epc_comm_prv_struct d2rm_n3epc_abort_data_call_req_prv_struct; |
| 148 | typedef struct { |
| 149 | LOCAL_PARA_HDR |
| 150 | /* common part */ |
| 151 | iwlan_ran_e ran; |
| 152 | kal_uint32 cid; |
| 153 | /* private part */ |
| 154 | d2rm_n3epc_abort_data_call_req_prv_struct d2rm_n3epc_prv; |
| 155 | d2pm_n3epc_abort_data_call_req_prv_struct d2pm_n3epc_prv; |
| 156 | } d2rm_n3epc_abort_data_call_req_struct; |
| 157 | |
| 158 | // MSG_ID_D2RM_N3EPC_PDN_HO_NOTIFY_REQ |
| 159 | typedef d2rm_n3epc_comm_prv_struct d2rm_n3epc_pdn_ho_notify_req_prv_struct; |
| 160 | typedef struct { |
| 161 | LOCAL_PARA_HDR |
| 162 | /* common part */ |
| 163 | kal_uint32 cid; |
| 164 | d2rm_n3epc_ho_state_enum hostate; |
| 165 | kal_uint8 is_succ; |
| 166 | d2rm_n3epc_ran_enum src_ran; |
| 167 | d2rm_n3epc_ran_enum tgt_ran; |
| 168 | /* private part */ |
| 169 | d2rm_n3epc_pdn_ho_notify_req_prv_struct d2rm_n3epc_prv; |
| 170 | } d2rm_n3epc_pdn_ho_notify_req_struct; |
| 171 | |
| 172 | typedef struct { |
| 173 | LOCAL_PARA_HDR |
| 174 | |
| 175 | kal_bool is_all; |
| 176 | iwlan_ran_e ran; |
| 177 | kal_uint32 cid; |
| 178 | d2rm_n3epc_comm_prv_struct d2rm_n3epc_prv; |
| 179 | d2pm_n3epc_comm_prv_struct d2pm_n3epc_prv; |
| 180 | } d2rm_n3epc_get_pdn_info_req_struct; |
| 181 | |
| 182 | // MSG_ID_D2RM_N3EPC_GET_DATA_CALL_LIST_REQ: query PDN active status per cid/apn |
| 183 | typedef d2rm_n3epc_get_pdn_info_req_struct |
| 184 | d2rm_n3epc_get_data_call_list_req_struct; |
| 185 | // MSG_ID_D2RM_N3EPC_GET_DYNAMIC_PARAM_REQ |
| 186 | typedef d2rm_n3epc_get_pdn_info_req_struct |
| 187 | d2rm_n3epc_get_dynamic_param_req_struct; |
| 188 | // MSG_ID_D2RM_N3EPC_GET_PDP_ADDRESS_REQ |
| 189 | typedef d2rm_n3epc_get_pdn_info_req_struct |
| 190 | d2rm_n3epc_get_pdp_address_req_struct; |
| 191 | // MSG_ID_D2RM_N3EPC_GET_SECONDARY_DYNAMIC_PARAM_REQ |
| 192 | typedef d2rm_n3epc_get_pdn_info_req_struct |
| 193 | d2rm_n3epc_get_secondary_dynamic_param_req_struct; |
| 194 | // MSG_ID_D2RM_N3EPC_GET_QOS_REQ |
| 195 | typedef d2rm_n3epc_get_pdn_info_req_struct d2rm_n3epc_get_qos_req_struct; |
| 196 | // MSG_ID_D2RM_N3EPC_GET_TFT_REQ |
| 197 | typedef d2rm_n3epc_get_pdn_info_req_struct d2rm_n3epc_get_tft_req_struct; |
| 198 | // MSG_ID_D2RM_N3EPC_GET_PACKET_FILTER_REQ |
| 199 | typedef d2rm_n3epc_get_pdn_info_req_struct |
| 200 | d2rm_n3epc_get_packet_filter_req_struct; |
| 201 | |
| 202 | // MSG_ID_D2RM_N3EPC_SET_PACKET_FILTER_REQ |
| 203 | typedef struct { |
| 204 | LOCAL_PARA_HDR |
| 205 | |
| 206 | kal_uint32 cid; |
| 207 | d2pm_n3epc_set_packet_filter_req_prv_struct d2pm_n3epc_prv; |
| 208 | } d2rm_n3epc_set_packet_filter_req_struct; |
| 209 | |
| 210 | // MSG_ID_D2RM_N3EPC_MODIFY_DATA_CALL_REQ |
| 211 | typedef struct { |
| 212 | LOCAL_PARA_HDR |
| 213 | |
| 214 | kal_uint32 cid; |
| 215 | d2pm_n3epc_mod_data_call_req_prv_struct d2pm_n3epc_prv; |
| 216 | } d2rm_n3epc_modify_data_call_req_struct; |
| 217 | |
| 218 | // MSG_ID_D2RM_N3EPC_GET_RETRYTMR_REQ |
| 219 | typedef struct { |
| 220 | LOCAL_PARA_HDR |
| 221 | |
| 222 | /* common part */ |
| 223 | iwlan_ran_e ran; |
| 224 | kal_char apn[APN_STRING_LEN]; |
| 225 | |
| 226 | /* private part */ |
| 227 | d2pm_n3epc_comm_prv_struct d2pm_n3epc_prv; |
| 228 | } d2rm_n3epc_get_retrytmr_req_struct; |
| 229 | |
| 230 | // MSG_ID_D2RM_N3EPC_SET_RETRYTMR_REQ |
| 231 | typedef struct { |
| 232 | LOCAL_PARA_HDR |
| 233 | |
| 234 | /* common part */ |
| 235 | iwlan_ran_e ran; |
| 236 | kal_char apn[APN_STRING_LEN]; |
| 237 | kal_uint8 cmd; |
| 238 | |
| 239 | /* private part */ |
| 240 | d2pm_n3epc_comm_prv_struct d2pm_n3epc_prv; |
| 241 | } d2rm_n3epc_set_retrytmr_req_struct; |
| 242 | |
| 243 | /******************************************************************************* |
| 244 | * WO TO D2RM CNF * |
| 245 | *******************************************************************************/ |
| 246 | // MSG_ID_D2RM_N3EPC_ACT_DATA_CALL_CNF |
| 247 | typedef struct { |
| 248 | kal_bool errcause_present; |
| 249 | n3epc_pdn_reject_enum errcause; |
| 250 | kal_bool sub_errcause_present; |
| 251 | n3epc_ike_error_notify_enum sub_errcause; |
| 252 | |
| 253 | kal_bool is_visited; |
| 254 | } d2rm_n3epc_act_data_call_cnf_prv_struct; |
| 255 | |
| 256 | // workaround for "mcd_l3_inc_struct.h" not found in custom_protocol when building FIGEAC_FPGA(BASIC) |
| 257 | typedef struct { |
| 258 | kal_uint8 mcc1; |
| 259 | kal_uint8 mcc2; |
| 260 | kal_uint8 mcc3; |
| 261 | kal_uint8 mnc1; |
| 262 | kal_uint8 mnc2; |
| 263 | kal_uint8 mnc3; |
| 264 | } n3epc_plmn_id_struct; |
| 265 | |
| 266 | typedef struct { |
| 267 | /* Mapped for 5GC Network Slicing */ |
| 268 | at_s_nssai_struct s_nssai; |
| 269 | n3epc_plmn_id_struct s_nssai_plmn_id; |
| 270 | } epdg_mapped_info_struct; |
| 271 | |
| 272 | typedef struct { |
| 273 | LOCAL_PARA_HDR |
| 274 | |
| 275 | /*common part*/ |
| 276 | iwlan_ran_e ran; |
| 277 | kal_uint32 cid; |
| 278 | kal_uint8 apn[APN_STRING_LEN]; |
| 279 | d2rm_n3epc_ip_info_struct ip_info; |
| 280 | d2rm_n3epc_net_info_struct net_info; |
| 281 | d2rm_n3epc_retry_info_struct retry_info; |
| 282 | epdg_mapped_info_struct epdg_mapped_info; |
| 283 | |
| 284 | kal_bool is_succ; |
| 285 | n3epc_res_enum res_code; |
| 286 | |
| 287 | /* private part */ |
| 288 | d2rm_n3epc_act_data_call_cnf_prv_struct d2rm_n3epc_prv; |
| 289 | d2pm_n3epc_act_data_call_cnf_prv_struct d2pm_n3epc_prv; |
| 290 | } d2rm_n3epc_act_data_call_cnf_struct; |
| 291 | |
| 292 | // MSG_ID_D2RM_N3EPC_DEACT_DATA_CALL_CNF |
| 293 | typedef d2rm_n3epc_comm_prv_struct d2rm_n3epc_deact_data_call_cnf_prv_struct; |
| 294 | typedef struct { |
| 295 | LOCAL_PARA_HDR |
| 296 | |
| 297 | /* common part */ |
| 298 | iwlan_ran_e ran; |
| 299 | kal_uint32 cid; |
| 300 | kal_bool is_succ; |
| 301 | /* private part */ |
| 302 | d2rm_n3epc_deact_data_call_cnf_prv_struct d2rm_n3epc_prv; |
| 303 | d2pm_n3epc_deact_data_call_cnf_prv_struct d2pm_n3epc_prv; |
| 304 | } d2rm_n3epc_deact_data_call_cnf_struct; |
| 305 | |
| 306 | // MSG_ID_D2RM_N3EPC_ABORT_DATA_CALL_CNF |
| 307 | typedef d2rm_n3epc_comm_prv_struct d2rm_n3epc_abort_data_call_cnf_prv_struct; |
| 308 | typedef struct { |
| 309 | LOCAL_PARA_HDR |
| 310 | |
| 311 | /* common part */ |
| 312 | iwlan_ran_e ran; |
| 313 | kal_uint32 cid; |
| 314 | kal_bool is_succ; |
| 315 | /* private part */ |
| 316 | d2rm_n3epc_abort_data_call_cnf_prv_struct d2rm_n3epc_prv; |
| 317 | d2pm_n3epc_abort_data_call_cnf_prv_struct d2pm_n3epc_prv; |
| 318 | } d2rm_n3epc_abort_data_call_cnf_struct; |
| 319 | |
| 320 | typedef struct { |
| 321 | LOCAL_PARA_HDR |
| 322 | |
| 323 | iwlan_ran_e ran; |
| 324 | kal_bool is_succ; |
| 325 | d2pm_n3epc_comm_prv_struct d2pm_n3epc_prv; |
| 326 | } d2rm_n3epc_get_pdn_info_cnf_struct; |
| 327 | |
| 328 | typedef d2rm_n3epc_get_pdn_info_cnf_struct d2rm_n3epc_configure_pdn_cnf_struct; |
| 329 | |
| 330 | // MSG_ID_D2RM_N3EPC_GET_DATA_CALL_LIST_CNF |
| 331 | typedef d2rm_n3epc_get_pdn_info_cnf_struct |
| 332 | d2rm_n3epc_get_data_call_list_cnf_struct; |
| 333 | // MSG_ID_D2RM_N3EPC_GET_DYNAMIC_PARAM_CNF |
| 334 | typedef d2rm_n3epc_get_pdn_info_cnf_struct |
| 335 | d2rm_n3epc_get_dynamic_param_cnf_struct; |
| 336 | // MSG_ID_D2RM_N3EPC_GET_PDP_ADDRESS_CNF |
| 337 | typedef d2rm_n3epc_get_pdn_info_cnf_struct |
| 338 | d2rm_n3epc_get_pdp_address_cnf_struct; |
| 339 | // MSG_ID_D2RM_N3EPC_GET_SECONDARY_DYNAMIC_PARAM_CNF |
| 340 | typedef d2rm_n3epc_get_pdn_info_cnf_struct |
| 341 | d2rm_n3epc_get_secondary_dynamic_param_cnf_struct; |
| 342 | // MSG_ID_D2RM_N3EPC_GET_QOS_CNF |
| 343 | typedef d2rm_n3epc_get_pdn_info_cnf_struct d2rm_n3epc_get_qos_cnf_struct; |
| 344 | // MSG_ID_D2RM_N3EPC_GET_TFT_CNF |
| 345 | typedef d2rm_n3epc_get_pdn_info_cnf_struct d2rm_n3epc_get_tft_cnf_struct; |
| 346 | // MSG_ID_D2RM_N3EPC_GET_PACKET_FILTER_CNF |
| 347 | typedef d2rm_n3epc_get_pdn_info_cnf_struct |
| 348 | d2rm_n3epc_get_packet_filter_cnf_struct; |
| 349 | |
| 350 | // MSG_ID_D2RM_N3EPC_SET_PACKET_FILTER_CNF |
| 351 | typedef d2rm_n3epc_configure_pdn_cnf_struct |
| 352 | d2rm_n3epc_set_packet_filter_cnf_struct; |
| 353 | // MSG_ID_D2RM_N3EPC_MODIFY_DATA_CALL_CNF |
| 354 | typedef d2rm_n3epc_configure_pdn_cnf_struct |
| 355 | d2rm_n3epc_modify_data_call_cnf_struct; |
| 356 | |
| 357 | // MSG_ID_D2RM_N3EPC_GET_RETRYTMR_CNF |
| 358 | typedef struct { |
| 359 | LOCAL_PARA_HDR |
| 360 | |
| 361 | /* common part */ |
| 362 | iwlan_ran_e ran; |
| 363 | kal_char apn[APN_STRING_LEN]; |
| 364 | d2rm_n3epc_retry_info_struct retry_info; |
| 365 | |
| 366 | /* private part */ |
| 367 | d2pm_n3epc_comm_prv_struct d2pm_n3epc_prv; |
| 368 | } d2rm_n3epc_get_retrytmr_cnf_struct; |
| 369 | |
| 370 | // MSG_ID_D2RM_N3EPC_SET_RETRYTMR_CNF |
| 371 | typedef struct { |
| 372 | LOCAL_PARA_HDR |
| 373 | |
| 374 | /* common part */ |
| 375 | iwlan_ran_e ran; |
| 376 | kal_char apn[APN_STRING_LEN]; |
| 377 | kal_bool is_succ; |
| 378 | |
| 379 | /* private part */ |
| 380 | d2pm_n3epc_comm_prv_struct d2pm_n3epc_prv; |
| 381 | } d2rm_n3epc_set_retrytmr_cnf_struct; |
| 382 | |
| 383 | /******************************************************************************* |
| 384 | * WO TO D2RM IND * |
| 385 | *******************************************************************************/ |
| 386 | // MSG_ID_D2RM_N3EPC_PDN_DISCONN_IND |
| 387 | typedef struct { |
| 388 | n3epc_status_enum errcause; |
| 389 | n3epc_ike_error_notify_enum sub_errcause; |
| 390 | } d2rm_n3epc_pdn_disconn_ind_prv_struct; |
| 391 | |
| 392 | typedef struct { |
| 393 | LOCAL_PARA_HDR |
| 394 | |
| 395 | iwlan_ran_e ran; |
| 396 | kal_uint32 cid; |
| 397 | kal_bool apn_present; // can be removed |
| 398 | kal_uint8 apn[APN_STRING_LEN]; |
| 399 | /*private part */ |
| 400 | d2rm_n3epc_pdn_disconn_ind_prv_struct d2rm_n3epc_prv; |
| 401 | d2pm_n3epc_pdn_disconn_ind_prv_struct d2pm_n3epc_prv; |
| 402 | } d2rm_n3epc_pdn_disconn_ind_struct; |
| 403 | |
| 404 | // MSG_ID_D2RM_N3EPC_GET_DATA_CALL_LIST_IND |
| 405 | typedef struct { |
| 406 | LOCAL_PARA_HDR |
| 407 | |
| 408 | iwlan_ran_e ran; |
| 409 | kal_uint32 cid; |
| 410 | kal_uint8 is_act; |
| 411 | d2pm_n3epc_get_data_call_list_ind_prv_struct d2pm_n3epc_prv; |
| 412 | } d2rm_n3epc_get_data_call_list_ind_struct; |
| 413 | |
| 414 | // MSG_ID_D2RM_N3EPC_GET_DYNAMIC_PARAM_IND |
| 415 | typedef struct { |
| 416 | LOCAL_PARA_HDR |
| 417 | |
| 418 | iwlan_ran_e ran; |
| 419 | kal_uint32 cid; |
| 420 | d2pm_n3epc_get_dynamic_param_ind_prv_struct d2pm_n3epc_prv; |
| 421 | } d2rm_n3epc_get_dynamic_param_ind_struct; |
| 422 | |
| 423 | // MSG_ID_D2RM_N3EPC_GET_PDP_ADDRESS_IND |
| 424 | typedef struct { |
| 425 | LOCAL_PARA_HDR |
| 426 | |
| 427 | kal_uint32 cid; |
| 428 | d2pm_n3epc_get_pdp_address_ind_prv_struct d2pm_n3epc_prv; |
| 429 | } d2rm_n3epc_get_pdp_address_ind_struct; |
| 430 | |
| 431 | // MSG_ID_D2RM_N3EPC_GET_SECONDARY_DYNAMIC_PARAM_IND |
| 432 | typedef struct { |
| 433 | LOCAL_PARA_HDR |
| 434 | |
| 435 | // TODO: content |
| 436 | d2pm_n3epc_get_secondary_dynamic_param_ind_prv_struct d2pm_n3epc_prv; |
| 437 | } d2rm_n3epc_get_secondary_dynamic_param_ind_struct; |
| 438 | |
| 439 | // MSG_ID_D2RM_N3EPC_GET_QOS_IND |
| 440 | typedef struct { |
| 441 | LOCAL_PARA_HDR |
| 442 | |
| 443 | // TODO: content |
| 444 | d2pm_n3epc_get_qos_ind_prv_struct d2pm_n3epc_prv; |
| 445 | } d2rm_n3epc_get_qos_ind_struct; |
| 446 | |
| 447 | // MSG_ID_D2RM_N3EPC_GET_TFT_IND |
| 448 | typedef struct { |
| 449 | LOCAL_PARA_HDR |
| 450 | |
| 451 | // TODO: content |
| 452 | d2pm_n3epc_get_tft_ind_prv_struct d2pm_n3epc_prv; |
| 453 | } d2rm_n3epc_get_tft_ind_struct; |
| 454 | |
| 455 | // MSG_ID_D2RM_N3EPC_GET_PACKET_FILTER_IND |
| 456 | typedef struct { |
| 457 | LOCAL_PARA_HDR |
| 458 | |
| 459 | // TODO: content |
| 460 | kal_uint32 cid; |
| 461 | d2pm_n3epc_get_packet_filter_ind_prv_struct d2pm_n3epc_prv; |
| 462 | } d2rm_n3epc_get_packet_filter_ind_struct; |
| 463 | |
| 464 | // MSG_ID_D2RM_N3EPC_PING_STATUS_IND |
| 465 | typedef struct { |
| 466 | LOCAL_PARA_HDR |
| 467 | |
| 468 | kal_uint32 avg_latency; |
| 469 | kal_uint8 pkt_loss_rate; |
| 470 | kal_bool need_ho; |
| 471 | } d2rm_n3epc_ping_status_ind_struct; |
| 472 | |
| 473 | // MSG_ID_D2RM_N3EPC_MODIFY_DATA_CALL_IND |
| 474 | typedef struct { |
| 475 | LOCAL_PARA_HDR |
| 476 | |
| 477 | /*common part*/ |
| 478 | iwlan_ran_e ran; |
| 479 | kal_uint32 cid; |
| 480 | kal_uint8 apn[APN_STRING_LEN]; |
| 481 | d2rm_n3epc_ip_info_struct ip_info; |
| 482 | d2rm_n3epc_net_info_struct net_info; |
| 483 | |
| 484 | /* private part */ |
| 485 | d2pm_n3epc_mod_data_call_ind_prv_struct d2pm_n3epc_prv; |
| 486 | } d2rm_n3epc_modify_data_call_ind_struct; |
| 487 | |
| 488 | // MSG_ID_D2RM_N3EPC_RST_RETRYTMR_IND |
| 489 | typedef struct { |
| 490 | LOCAL_PARA_HDR |
| 491 | |
| 492 | /* common part */ |
| 493 | iwlan_ran_e ran; |
| 494 | kal_bool apn_present; |
| 495 | kal_char apn[APN_STRING_LEN]; |
| 496 | n3epc_apn_unblock_condition_enum cause; |
| 497 | |
| 498 | /* private part */ |
| 499 | d2pm_n3epc_comm_prv_struct d2pm_n3epc_prv; |
| 500 | } d2rm_n3epc_rst_retrytmr_ind_struct; |
| 501 | |
| 502 | /******************************************************************************* |
| 503 | * WO to D2RM REQ * |
| 504 | *******************************************************************************/ |
| 505 | // MSG_ID_N3EPC_D2RM_GET_EPDG_INFO_REQ |
| 506 | typedef struct { |
| 507 | LOCAL_PARA_HDR |
| 508 | |
| 509 | kal_uint32 cid; |
| 510 | } n3epc_d2rm_get_epdg_info_req_struct; |
| 511 | |
| 512 | /******************************************************************************* |
| 513 | * WO to D2RM CNF * |
| 514 | *******************************************************************************/ |
| 515 | // MSG_ID_N3EPC_D2RM_GET_EPDG_INFO_CNF |
| 516 | typedef struct { |
| 517 | LOCAL_PARA_HDR |
| 518 | |
| 519 | kal_uint32 cid; |
| 520 | kal_bool is_succ; |
| 521 | } n3epc_d2rm_get_epdg_info_cnf_struct; |
| 522 | |
| 523 | /******************************************************************************* |
| 524 | * WO to D2RM IND * |
| 525 | *******************************************************************************/ |
| 526 | // MSG_ID_N3EPC_D2RM_GET_EPDG_INFO_IND |
| 527 | typedef struct { |
| 528 | LOCAL_PARA_HDR |
| 529 | |
| 530 | kal_uint32 cid; |
| 531 | d2rm_n3epc_ip_info_struct ip_info; |
| 532 | } n3epc_d2rm_get_epdg_info_ind_struct; |
| 533 | |
| 534 | typedef struct { |
| 535 | LOCAL_PARA_HDR |
| 536 | kal_uint8 context_id; |
| 537 | kal_uint32 network_interface_id; |
| 538 | apn_type_info_struct apn_type_info; |
| 539 | } d2rm_n3epc_pdn_bind_req_struct; |
| 540 | |
| 541 | typedef struct { |
| 542 | LOCAL_PARA_HDR |
| 543 | kal_uint8 context_id; |
| 544 | kal_bool is_successful; |
| 545 | ps_cause_enum error_result; |
| 546 | } d2rm_n3epc_pdn_bind_cnf_struct; |
| 547 | |
| 548 | typedef struct { |
| 549 | LOCAL_PARA_HDR |
| 550 | kal_uint8 context_id; |
| 551 | } d2rm_n3epc_pdn_unbind_req_struct; |
| 552 | |
| 553 | typedef struct { |
| 554 | LOCAL_PARA_HDR |
| 555 | kal_uint8 context_id; |
| 556 | kal_bool is_successful; |
| 557 | ps_cause_enum error_result; |
| 558 | } d2rm_n3epc_pdn_unbind_cnf_struct; |
| 559 | |
| 560 | #endif //_D2RM_N3EPC_STRUCT_H |