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 | /******************************************************************************* |
| 37 | * Filename: |
| 38 | * --------- |
| 39 | * l4aps_l4bpdn_struct.h |
| 40 | * |
| 41 | * Project: |
| 42 | * -------- |
| 43 | * |
| 44 | * |
| 45 | * Description: |
| 46 | * ------------ |
| 47 | * |
| 48 | * |
| 49 | * Author: |
| 50 | * ------- |
| 51 | * |
| 52 | * |
| 53 | * |
| 54 | * ========================================================================== |
| 55 | ****************************************************************************/ |
| 56 | |
| 57 | |
| 58 | #ifndef _L4APS_L4BPDN_STRUCT_H |
| 59 | #define _L4APS_L4BPDN_STRUCT_H |
| 60 | |
| 61 | #include "kal_general_types.h" |
| 62 | #include "kal_public_defs.h" |
| 63 | |
| 64 | #include "ddm_common_struct.h" |
| 65 | #include "atcmd_struct.h" |
| 66 | #include "ps_public_enum.h" |
| 67 | |
| 68 | #include "ps_public_struct.h" |
| 69 | #include "mcd_l3_inc_struct.h" |
| 70 | #include "l3_inc_local.h" |
| 71 | |
| 72 | #if 1 /* MSG: L4APS -> L4BPDN */ |
| 73 | /********************************************************************************************************* |
| 74 | * MSG: L4APS -> L4BPDN: Start * |
| 75 | *********************************************************************************************************/ |
| 76 | typedef struct { |
| 77 | LOCAL_PARA_HDR |
| 78 | |
| 79 | at_cmd_common_header_req_struct cmd; |
| 80 | } l4aps_l4bpdn_cmd_common_header_req_struct; |
| 81 | |
| 82 | typedef struct { |
| 83 | LOCAL_PARA_HDR |
| 84 | |
| 85 | kal_uint8 cid; |
| 86 | at_token_parse_result_enum cached_ff03_present; |
| 87 | kal_uint8 cached_ff03; // integer type |
| 88 | } l4aps_l4bpdn_nw_applied_cache_data_notify_struct; |
| 89 | |
| 90 | typedef struct { |
| 91 | LOCAL_PARA_HDR |
| 92 | |
| 93 | at_cgdcont_req_struct cmd; |
| 94 | kal_uint8 psi; |
| 95 | |
| 96 | /* Used for SSC Mode 3 PDU session re-restablishment in 5G. */ |
| 97 | kal_bool old_psi_present; |
| 98 | kal_uint8 old_psi; |
| 99 | |
| 100 | /* Used for L4 two params (URSP requirement). |
| 101 | * Condition: |
| 102 | * - If current is 5G-RAT and VGPDP/VGAPN is present (AT_TOKEN_PARSE_RESULT_OK) |
| 103 | -> Use the corresponding parameters in below |
| 104 | * - Otherwise: (non-5G-RAT or in 5G but VGPDP/VGAPN is NOT AT_TOKEN_PARSE_RESULT_OK |
| 105 | -> Use paramters in the above cmd (i.e., the normal CGDCONT command) . */ |
| 106 | at_token_parse_result_enum VGPDP_type_parse_result; |
| 107 | kal_uint8 VGPDP_type[PDP_TYPE_STRING_LEN]; // string type |
| 108 | at_token_parse_result_enum VGAPN_parse_result; |
| 109 | kal_uint8 VGAPN[APN_STRING_LEN]; // string type |
| 110 | |
| 111 | /* use to indicate is this dnn in ladn list */ |
| 112 | at_token_parse_result_enum ladn_dnn_present; |
| 113 | kal_uint8 ladn_dnn; // integer type |
| 114 | |
| 115 | } l4aps_l4bpdn_cgdcont_req_struct; |
| 116 | |
| 117 | typedef struct { |
| 118 | LOCAL_PARA_HDR |
| 119 | |
| 120 | at_cgdscont_req_struct cmd; |
| 121 | } l4aps_l4bpdn_cgdscont_req_struct; |
| 122 | |
| 123 | typedef struct { |
| 124 | LOCAL_PARA_HDR |
| 125 | |
| 126 | at_cgtft_req_struct cmd; |
| 127 | kal_uint8 qfi; |
| 128 | } l4aps_l4bpdn_cgtft_req_struct; |
| 129 | |
| 130 | typedef struct { |
| 131 | LOCAL_PARA_HDR |
| 132 | |
| 133 | at_cgqreq_req_struct cmd; |
| 134 | } l4aps_l4bpdn_cgqreq_req_struct; |
| 135 | |
| 136 | typedef struct { |
| 137 | LOCAL_PARA_HDR |
| 138 | |
| 139 | at_cgqmin_req_struct cmd; |
| 140 | } l4aps_l4bpdn_cgqmin_req_struct; |
| 141 | |
| 142 | typedef struct { |
| 143 | LOCAL_PARA_HDR |
| 144 | |
| 145 | at_cgeqreq_req_struct cmd; |
| 146 | } l4aps_l4bpdn_cgeqreq_req_struct; |
| 147 | |
| 148 | typedef struct { |
| 149 | LOCAL_PARA_HDR |
| 150 | |
| 151 | at_cgeqmin_req_struct cmd; |
| 152 | } l4aps_l4bpdn_cgeqmin_req_struct; |
| 153 | |
| 154 | typedef struct { |
| 155 | LOCAL_PARA_HDR |
| 156 | |
| 157 | at_cgeqneg_req_struct cmd; |
| 158 | } l4aps_l4bpdn_cgeqneg_req_struct; |
| 159 | |
| 160 | typedef struct { |
| 161 | LOCAL_PARA_HDR |
| 162 | |
| 163 | at_cgact_req_struct cmd; |
| 164 | ddm_apn_type_enum apn_type; |
| 165 | } l4aps_l4bpdn_cgact_req_struct; |
| 166 | |
| 167 | typedef struct { |
| 168 | LOCAL_PARA_HDR |
| 169 | |
| 170 | at_cgcmod_req_struct cmd; |
| 171 | kal_uint8 qfi; |
| 172 | } l4aps_l4bpdn_cgcmod_req_struct; |
| 173 | |
| 174 | typedef struct { |
| 175 | LOCAL_PARA_HDR |
| 176 | |
| 177 | at_cgpaddr_req_struct cmd; |
| 178 | } l4aps_l4bpdn_cgpaddr_req_struct; |
| 179 | |
| 180 | typedef struct { |
| 181 | LOCAL_PARA_HDR |
| 182 | |
| 183 | at_cgauto_req_struct cmd; |
| 184 | } l4aps_l4bpdn_cgauto_req_struct; |
| 185 | |
| 186 | typedef struct { |
| 187 | LOCAL_PARA_HDR |
| 188 | |
| 189 | at_cgans_req_struct cmd; |
| 190 | } l4aps_l4bpdn_cgans_req_struct; |
| 191 | |
| 192 | typedef struct { |
| 193 | LOCAL_PARA_HDR |
| 194 | |
| 195 | at_cgerep_req_struct cmd; |
| 196 | } l4aps_l4bpdn_cgerep_req_struct; |
| 197 | |
| 198 | typedef struct { |
| 199 | LOCAL_PARA_HDR |
| 200 | |
| 201 | at_cgcontrdp_req_struct cmd; |
| 202 | } l4aps_l4bpdn_cgcontrdp_req_struct; |
| 203 | |
| 204 | typedef struct { |
| 205 | LOCAL_PARA_HDR |
| 206 | |
| 207 | at_cgscontrdp_req_struct cmd; |
| 208 | } l4aps_l4bpdn_cgscontrdp_req_struct; |
| 209 | |
| 210 | typedef struct { |
| 211 | LOCAL_PARA_HDR |
| 212 | |
| 213 | at_cgtftrdp_req_struct cmd; |
| 214 | kal_uint8 qfi; |
| 215 | } l4aps_l4bpdn_cgtftrdp_req_struct; |
| 216 | |
| 217 | typedef struct { |
| 218 | LOCAL_PARA_HDR |
| 219 | |
| 220 | at_cgeqos_req_struct cmd; |
| 221 | } l4aps_l4bpdn_cgeqos_req_struct; |
| 222 | |
| 223 | typedef struct { |
| 224 | LOCAL_PARA_HDR |
| 225 | |
| 226 | at_cgeqosrdp_req_struct cmd; |
| 227 | } l4aps_l4bpdn_cgeqosrdp_req_struct; |
| 228 | |
| 229 | typedef struct { |
| 230 | LOCAL_PARA_HDR |
| 231 | |
| 232 | at_c5gqos_req_struct cmd; |
| 233 | kal_uint8 qfi; |
| 234 | } l4aps_l4bpdn_c5gqos_req_struct; |
| 235 | |
| 236 | typedef struct { |
| 237 | LOCAL_PARA_HDR |
| 238 | |
| 239 | at_c5gqosrdp_req_struct cmd; |
| 240 | kal_uint8 qfi; |
| 241 | } l4aps_l4bpdn_c5gqosrdp_req_struct; |
| 242 | |
| 243 | typedef struct { |
| 244 | LOCAL_PARA_HDR |
| 245 | |
| 246 | at_cgdel_req_struct cmd; |
| 247 | } l4aps_l4bpdn_cgdel_req_struct; |
| 248 | |
| 249 | typedef struct { |
| 250 | LOCAL_PARA_HDR |
| 251 | |
| 252 | at_cgauth_req_struct cmd; |
| 253 | kal_uint8 psi; |
| 254 | } l4aps_l4bpdn_cgauth_req_struct; |
| 255 | |
| 256 | typedef struct { |
| 257 | LOCAL_PARA_HDR |
| 258 | |
| 259 | at_cladn_req_struct cmd; |
| 260 | } l4aps_l4bpdn_cladn_req_struct; |
| 261 | |
| 262 | typedef struct { |
| 263 | LOCAL_PARA_HDR |
| 264 | |
| 265 | at_ecncfg_req_struct cmd; |
| 266 | } l4aps_l4bpdn_ecncfg_req_struct; |
| 267 | |
| 268 | typedef struct { |
| 269 | LOCAL_PARA_HDR |
| 270 | |
| 271 | at_egdcont_req_struct cmd; |
| 272 | kal_uint8 psi; |
| 273 | } l4aps_l4bpdn_egdcont_req_struct; |
| 274 | |
| 275 | typedef struct { |
| 276 | LOCAL_PARA_HDR |
| 277 | |
| 278 | at_vzwapnetmr_req_struct cmd; |
| 279 | } l4aps_l4bpdn_vzwapnetmr_req_struct; |
| 280 | |
| 281 | typedef struct { |
| 282 | LOCAL_PARA_HDR |
| 283 | |
| 284 | at_vzwapne_req_struct cmd; |
| 285 | } l4aps_l4bpdn_vzwapne_req_struct; |
| 286 | |
| 287 | typedef struct { |
| 288 | LOCAL_PARA_HDR |
| 289 | |
| 290 | at_egpau_req_struct cmd; |
| 291 | } l4aps_l4bpdn_egpau_req_struct; |
| 292 | |
| 293 | typedef struct { |
| 294 | LOCAL_PARA_HDR |
| 295 | |
| 296 | at_egact_req_struct cmd; |
| 297 | ddm_apn_type_enum apn_type; |
| 298 | } l4aps_l4bpdn_egact_req_struct; |
| 299 | |
| 300 | typedef struct { |
| 301 | LOCAL_PARA_HDR |
| 302 | |
| 303 | at_cgsdata_req_struct cmd; |
| 304 | } l4aps_l4bpdn_cgsdata_req_struct; |
| 305 | |
| 306 | typedef struct { |
| 307 | LOCAL_PARA_HDR |
| 308 | |
| 309 | at_acttest_req_struct cmd; |
| 310 | } l4aps_l4bpdn_acttest_req_struct; |
| 311 | |
| 312 | typedef struct { |
| 313 | LOCAL_PARA_HDR |
| 314 | |
| 315 | at_psbearer_req_struct cmd; |
| 316 | } l4aps_l4bpdn_psbearer_req_struct; |
| 317 | |
| 318 | typedef struct { |
| 319 | LOCAL_PARA_HDR |
| 320 | |
| 321 | at_egfb_req_struct cmd; |
| 322 | } l4aps_l4bpdn_egfb_req_struct; |
| 323 | |
| 324 | typedef struct { |
| 325 | LOCAL_PARA_HDR |
| 326 | |
| 327 | at_egdelpf_req_struct cmd; |
| 328 | } l4aps_l4bpdn_egdelpf_req_struct; |
| 329 | |
| 330 | typedef struct { |
| 331 | LOCAL_PARA_HDR |
| 332 | |
| 333 | at_eglnkpf_req_struct cmd; |
| 334 | } l4aps_l4bpdn_eglnkpf_req_struct; |
| 335 | |
| 336 | typedef struct { |
| 337 | LOCAL_PARA_HDR |
| 338 | |
| 339 | at_egpcordp_req_struct cmd; |
| 340 | } l4aps_l4bpdn_egpcordp_req_struct; |
| 341 | |
| 342 | typedef struct { |
| 343 | LOCAL_PARA_HDR |
| 344 | |
| 345 | at_egpco_req_struct cmd; |
| 346 | kal_uint8 psi; |
| 347 | } l4aps_l4bpdn_egpco_req_struct; |
| 348 | |
| 349 | typedef struct { |
| 350 | LOCAL_PARA_HDR |
| 351 | |
| 352 | at_cgdata_req_struct cmd; |
| 353 | network_interface_id_info_struct selected_network_interface_id_info; |
| 354 | apn_type_info_struct apn_type_info; |
| 355 | } l4aps_l4bpdn_cgdata_req_struct; |
| 356 | |
| 357 | typedef struct { |
| 358 | LOCAL_PARA_HDR |
| 359 | |
| 360 | at_egld_req_struct cmd; |
| 361 | } l4aps_l4bpdn_egld_req_struct; |
| 362 | |
| 363 | typedef struct { |
| 364 | LOCAL_PARA_HDR |
| 365 | |
| 366 | at_edallow_req_struct cmd; |
| 367 | } l4aps_l4bpdn_edallow_req_struct; |
| 368 | |
| 369 | typedef struct { |
| 370 | LOCAL_PARA_HDR |
| 371 | kal_bool is_success; |
| 372 | kal_uint8 lte_attach_cid; /* used if (is_success == KAL_TRUE) */ |
| 373 | ps_cause_enum err_cause; /* used if (is_success == KAL_FALSE) */ |
| 374 | } l4aps_l4bpdn_lte_attach_pdn_define_needed_rsp_struct; |
| 375 | |
| 376 | typedef struct |
| 377 | { |
| 378 | LOCAL_PARA_HDR |
| 379 | kal_uint8 sim_slot_id; |
| 380 | } l4aps_l4bpdn_set_default_sim_ind_struct; |
| 381 | |
| 382 | typedef struct |
| 383 | { |
| 384 | LOCAL_PARA_HDR |
| 385 | kal_bool is_ims_roaming_enable; |
| 386 | } l4aps_l4bpdn_set_eimsroam_config_value_req_struct; |
| 387 | |
| 388 | typedef struct { |
| 389 | LOCAL_PARA_HDR |
| 390 | |
| 391 | at_cmd_common_header_req_struct cmd; |
| 392 | kal_uint32 dummy; |
| 393 | } l4aps_l4bpdn_cmd_not_yet_support_req_struct; /* Only for UT */ |
| 394 | |
| 395 | typedef struct { |
| 396 | LOCAL_PARA_HDR |
| 397 | |
| 398 | at_eapnsync_req_struct cmd; |
| 399 | } l4aps_l4bpdn_eapnsync_req_struct; |
| 400 | |
| 401 | typedef struct { |
| 402 | LOCAL_PARA_HDR |
| 403 | |
| 404 | at_evzwapfcia_req_struct cmd; |
| 405 | } l4aps_l4bpdn_evzwapfcia_req_struct; |
| 406 | |
| 407 | typedef struct { |
| 408 | LOCAL_PARA_HDR |
| 409 | |
| 410 | at_eggrntrspt_req_struct cmd; |
| 411 | } l4aps_l4bpdn_eggrntrspt_req_struct; |
| 412 | |
| 413 | typedef struct { |
| 414 | LOCAL_PARA_HDR |
| 415 | |
| 416 | at_egpcap_req_struct cmd; |
| 417 | } l4aps_l4bpdn_egpcap_req_struct; |
| 418 | |
| 419 | typedef struct { |
| 420 | LOCAL_PARA_HDR |
| 421 | |
| 422 | kal_uint8 cid; |
| 423 | kal_uint32 apn_type; /* bit map refer to enum ddm_apn_type */ |
| 424 | } l4aps_l4bpdn_notify_pdn_type_req_struct; |
| 425 | |
| 426 | typedef struct { |
| 427 | LOCAL_PARA_HDR |
| 428 | |
| 429 | at_escontind_ind_struct cmd; |
| 430 | } l4aps_l4bpdn_escontind_ind_struct; |
| 431 | |
| 432 | typedef struct { |
| 433 | LOCAL_PARA_HDR |
| 434 | |
| 435 | at_escontind_req_struct cmd; |
| 436 | } l4aps_l4bpdn_escontind_req_struct; |
| 437 | |
| 438 | /********************************************************************************************************* |
| 439 | * MSG: L4APS -> L4BPDN: End * |
| 440 | *********************************************************************************************************/ |
| 441 | #endif |
| 442 | |
| 443 | #if 1 /* MSG: L4BPDN -> L4APS */ |
| 444 | /********************************************************************************************************* |
| 445 | * MSG: L4BPDN -> L4APS: Start * |
| 446 | *********************************************************************************************************/ |
| 447 | /* A general purpose AT-CMD confirm message */ |
| 448 | typedef struct { |
| 449 | LOCAL_PARA_HDR |
| 450 | |
| 451 | at_cmd_cnf_struct cmd; |
| 452 | |
| 453 | /* In the above field (cmd), |
| 454 | * if cmd.is_success == KAL_FALSE, the cmd.err_cause is a converted cause according to 27.007. |
| 455 | * The below original_cause is an "unconverted" counterpart for reference. */ |
| 456 | kal_bool is_original_cause_from_3gpp_present; /* True: If (cmd.is_success == KAL_FALSE) AND (is from 3GPP MD) */ |
| 457 | ps_cause_enum original_cause_from_3gpp; /* Valid if is_original_cause_from_3gpp_present == KAL_TRUE */ |
| 458 | |
| 459 | } l4aps_l4bpdn_cmd_cnf_struct; |
| 460 | |
| 461 | typedef struct { |
| 462 | LOCAL_PARA_HDR |
| 463 | |
| 464 | at_cgev_ind_struct cmd; |
| 465 | |
| 466 | /* True: If (event is CGEV_EVENT_NW_PDN_DEACT or CGEV_EVENT_NW_DEACT or CGEV_EVENT_NW_REACT) AND (the CGEV is from 3GPP) |
| 467 | * False: If (event is not the above) OR (the CGEV is from 3GPP2) */ |
| 468 | kal_bool is_cgev_deact_cause_from_3gpp; |
| 469 | ps_cause_enum cgev_deact_cause; |
| 470 | |
| 471 | /* True: If (event is CGEV_EVENT_NW_MODIFY) AND (the CGEV is from 3GPP) |
| 472 | * False: If (event is not the above) OR (the CGEV is from 3GPP2) */ |
| 473 | kal_bool is_cgev_modify_cause_from_3gpp; |
| 474 | ps_cause_enum cgev_modify_cause; |
| 475 | } l4aps_l4bpdn_cgev_ind_struct; |
| 476 | |
| 477 | typedef struct { |
| 478 | LOCAL_PARA_HDR |
| 479 | |
| 480 | at_cgdcont_ind_struct cmd; |
| 481 | } l4aps_l4bpdn_cgdcont_ind_struct; |
| 482 | |
| 483 | typedef struct { |
| 484 | LOCAL_PARA_HDR |
| 485 | |
| 486 | at_cgdscont_ind_struct cmd; |
| 487 | } l4aps_l4bpdn_cgdscont_ind_struct; |
| 488 | |
| 489 | typedef struct { |
| 490 | LOCAL_PARA_HDR |
| 491 | |
| 492 | at_cgtft_ind_struct cmd; |
| 493 | kal_uint8 qfi; |
| 494 | } l4aps_l4bpdn_cgtft_ind_struct; |
| 495 | |
| 496 | typedef struct { |
| 497 | LOCAL_PARA_HDR |
| 498 | |
| 499 | at_cgqreq_ind_struct cmd; |
| 500 | } l4aps_l4bpdn_cgqreq_ind_struct; |
| 501 | |
| 502 | typedef struct { |
| 503 | LOCAL_PARA_HDR |
| 504 | |
| 505 | at_cgqmin_ind_struct cmd; |
| 506 | } l4aps_l4bpdn_cgqmin_ind_struct; |
| 507 | |
| 508 | typedef struct { |
| 509 | LOCAL_PARA_HDR |
| 510 | |
| 511 | at_cgeqreq_ind_struct cmd; |
| 512 | } l4aps_l4bpdn_cgeqreq_ind_struct; |
| 513 | |
| 514 | typedef struct { |
| 515 | LOCAL_PARA_HDR |
| 516 | |
| 517 | at_cgeqmin_ind_struct cmd; |
| 518 | } l4aps_l4bpdn_cgeqmin_ind_struct; |
| 519 | |
| 520 | typedef struct { |
| 521 | LOCAL_PARA_HDR |
| 522 | |
| 523 | at_cgeqneg_ind_struct cmd; |
| 524 | } l4aps_l4bpdn_cgeqneg_ind_struct; |
| 525 | |
| 526 | typedef struct { |
| 527 | LOCAL_PARA_HDR |
| 528 | |
| 529 | at_cgact_ind_struct cmd; |
| 530 | } l4aps_l4bpdn_cgact_ind_struct; |
| 531 | |
| 532 | typedef struct { |
| 533 | LOCAL_PARA_HDR |
| 534 | |
| 535 | at_cgpaddr_ind_struct cmd; |
| 536 | } l4aps_l4bpdn_cgpaddr_ind_struct; |
| 537 | |
| 538 | typedef struct { |
| 539 | LOCAL_PARA_HDR |
| 540 | |
| 541 | at_cgauto_ind_struct cmd; |
| 542 | } l4aps_l4bpdn_cgauto_ind_struct; |
| 543 | |
| 544 | typedef struct { |
| 545 | LOCAL_PARA_HDR |
| 546 | |
| 547 | at_cgerep_ind_struct cmd; |
| 548 | } l4aps_l4bpdn_cgerep_ind_struct; |
| 549 | |
| 550 | typedef struct { |
| 551 | LOCAL_PARA_HDR |
| 552 | |
| 553 | at_cgcontrdp_ind_struct cmd; |
| 554 | } l4aps_l4bpdn_cgcontrdp_ind_struct; |
| 555 | |
| 556 | typedef struct { |
| 557 | LOCAL_PARA_HDR |
| 558 | |
| 559 | at_cgscontrdp_ind_struct cmd; |
| 560 | } l4aps_l4bpdn_cgscontrdp_ind_struct; |
| 561 | |
| 562 | typedef struct { |
| 563 | LOCAL_PARA_HDR |
| 564 | |
| 565 | at_cgtftrdp_ind_struct cmd; |
| 566 | kal_uint8 qfi; |
| 567 | } l4aps_l4bpdn_cgtftrdp_ind_struct; |
| 568 | |
| 569 | typedef struct { |
| 570 | LOCAL_PARA_HDR |
| 571 | |
| 572 | at_cgeqos_ind_struct cmd; |
| 573 | } l4aps_l4bpdn_cgeqos_ind_struct; |
| 574 | |
| 575 | typedef struct { |
| 576 | LOCAL_PARA_HDR |
| 577 | |
| 578 | at_cgeqosrdp_ind_struct cmd; |
| 579 | } l4aps_l4bpdn_cgeqosrdp_ind_struct; |
| 580 | |
| 581 | typedef struct { |
| 582 | LOCAL_PARA_HDR |
| 583 | |
| 584 | at_c5gqos_ind_struct cmd; |
| 585 | kal_uint8 qfi; |
| 586 | } l4aps_l4bpdn_c5gqos_ind_struct; |
| 587 | |
| 588 | typedef struct { |
| 589 | LOCAL_PARA_HDR |
| 590 | |
| 591 | at_c5gqosrdp_ind_struct cmd; |
| 592 | kal_uint8 qfi; |
| 593 | } l4aps_l4bpdn_c5gqosrdp_ind_struct; |
| 594 | |
| 595 | typedef struct { |
| 596 | LOCAL_PARA_HDR |
| 597 | |
| 598 | at_cgdel_ind_struct cmd; |
| 599 | } l4aps_l4bpdn_cgdel_ind_struct; |
| 600 | |
| 601 | typedef struct { |
| 602 | LOCAL_PARA_HDR |
| 603 | |
| 604 | at_cgauth_ind_struct cmd; |
| 605 | } l4aps_l4bpdn_cgauth_ind_struct; |
| 606 | |
| 607 | typedef struct { |
| 608 | LOCAL_PARA_HDR |
| 609 | |
| 610 | at_cladn_ind_struct cmd; |
| 611 | kal_bool num_of_ladn_info_present; |
| 612 | kal_uint8 num_of_ladn_info; |
| 613 | kal_bool ladn_info_present; |
| 614 | ladn_info_struct ladn_info[MAX_LADN_INFO]; |
| 615 | } l4aps_l4bpdn_cladn_ind_struct; |
| 616 | |
| 617 | typedef struct { |
| 618 | LOCAL_PARA_HDR |
| 619 | |
| 620 | at_cladnu_ind_struct cmd; |
| 621 | kal_bool num_of_ladn_info_present; |
| 622 | kal_uint8 num_of_ladn_info; |
| 623 | kal_bool ladn_info_present; |
| 624 | ladn_info_struct ladn_info[MAX_LADN_INFO]; |
| 625 | } l4aps_l4bpdn_cladnu_ind_struct; |
| 626 | |
| 627 | |
| 628 | typedef struct { |
| 629 | LOCAL_PARA_HDR |
| 630 | |
| 631 | at_psbearer_ind_struct cmd; |
| 632 | } l4aps_l4bpdn_psbearer_ind_struct; |
| 633 | |
| 634 | typedef struct { |
| 635 | LOCAL_PARA_HDR |
| 636 | |
| 637 | at_egfb_ind_struct cmd; |
| 638 | } l4aps_l4bpdn_egfb_ind_struct; |
| 639 | |
| 640 | typedef struct { |
| 641 | LOCAL_PARA_HDR |
| 642 | |
| 643 | at_egdelpf_ind_struct cmd; |
| 644 | } l4aps_l4bpdn_egdelpf_ind_struct; |
| 645 | |
| 646 | typedef struct { |
| 647 | LOCAL_PARA_HDR |
| 648 | |
| 649 | at_eglnkpf_ind_struct cmd; |
| 650 | } l4aps_l4bpdn_eglnkpf_ind_struct; |
| 651 | |
| 652 | typedef struct { |
| 653 | LOCAL_PARA_HDR |
| 654 | |
| 655 | at_egpcordp_ind_struct cmd; |
| 656 | } l4aps_l4bpdn_egpcordp_ind_struct; |
| 657 | |
| 658 | typedef struct { |
| 659 | LOCAL_PARA_HDR |
| 660 | |
| 661 | at_egpco_ind_struct cmd; |
| 662 | } l4aps_l4bpdn_egpco_ind_struct; |
| 663 | |
| 664 | typedef struct { |
| 665 | LOCAL_PARA_HDR |
| 666 | |
| 667 | at_cmd_cnf_struct cmd; |
| 668 | } l4aps_l4bpdn_cgdata_cnf_struct; |
| 669 | |
| 670 | typedef struct { |
| 671 | LOCAL_PARA_HDR |
| 672 | |
| 673 | at_cmd_cnf_struct cmd; |
| 674 | } l4aps_l4bpdn_egld_cnf_struct; |
| 675 | |
| 676 | typedef struct { |
| 677 | LOCAL_PARA_HDR |
| 678 | |
| 679 | at_egev_ind_struct cmd; |
| 680 | } l4aps_l4bpdn_egev_ind_struct; |
| 681 | |
| 682 | typedef struct { |
| 683 | LOCAL_PARA_HDR |
| 684 | |
| 685 | } l4aps_l4bpdn_lte_attach_needed_ind_struct; |
| 686 | |
| 687 | typedef struct { |
| 688 | LOCAL_PARA_HDR |
| 689 | |
| 690 | /** |
| 691 | * KAL_TRUE: L4BPDN knows the eHRPD to LTE interRAT, |
| 692 | * so when L4BPDN detects currently it is an eHRPD to LTE interRAT scenario, |
| 693 | * L4 will suggest DDM to set handover flag |
| 694 | * |
| 695 | * Note: L4 only suggests DDM to set handover flag. |
| 696 | * DDM is the final decision maker and needs to consider other condistions. |
| 697 | * |
| 698 | * Ex. 1: L4 suggests DDM to set handover flag and DDM decides to use APN1 to do LTE ATTACH. |
| 699 | * However APN1 is not currently alive. In this case, DDM need to NOT SET handover flag |
| 700 | * |
| 701 | * Ex. 2: L4 suggests DDM to set handover flag and DDM decides to use APN1 to do LTE ATTACH. |
| 702 | * If APN1 get cause #54 during last LTE ATTACH, in this case DDM need to NOT SET handover flag |
| 703 | * |
| 704 | * Ex. 3: L4 suggests DDM to set handover flag and DDM decides to use APN1 to do LTE ATTACH. |
| 705 | * If APN1 get cause #54 during last LTE ATTACH, and DDM wants to use APN2 (alive) to do LTE ATTACH. |
| 706 | * in this case, DDM need to SET handover flag |
| 707 | */ |
| 708 | kal_bool is_l4bpdn_suggested_to_set_handover; |
| 709 | plmn_id_struct current_plmn_id; |
| 710 | } l4aps_l4bpdn_lte_attach_pdn_define_needed_ind_struct; |
| 711 | |
| 712 | typedef struct { |
| 713 | LOCAL_PARA_HDR |
| 714 | kal_uint8 lte_attach_cid; |
| 715 | kal_bool cause2_present; |
| 716 | ps_cause_enum err_cause2; |
| 717 | pdp_addr_type_enum nw_applied_pdp_type; |
| 718 | } l4aps_l4bpdn_lte_attach_pdn_activate_success_ind_struct; |
| 719 | |
| 720 | typedef struct { |
| 721 | LOCAL_PARA_HDR |
| 722 | kal_uint8 lte_attach_cid; |
| 723 | ps_cause_enum cause; |
| 724 | kal_bool is_change_to_apn_class_present; |
| 725 | kal_uint8 change_to_apn_class; |
| 726 | } l4aps_l4bpdn_lte_attach_pdn_activate_failure_ind_struct; |
| 727 | |
| 728 | typedef struct { |
| 729 | LOCAL_PARA_HDR |
| 730 | |
| 731 | at_vzwapne_ind_struct cmd; |
| 732 | } l4aps_l4bpdn_vzwapne_ind_struct; |
| 733 | |
| 734 | typedef struct { |
| 735 | LOCAL_PARA_HDR |
| 736 | |
| 737 | at_vzwapnetmr_ind_struct cmd; |
| 738 | } l4aps_l4bpdn_vzwapnetmr_ind_struct; |
| 739 | |
| 740 | typedef struct { |
| 741 | LOCAL_PARA_HDR |
| 742 | |
| 743 | kal_uint8 cid; |
| 744 | ip_addr_struct ip_addr; |
| 745 | } l4aps_l4bpdn_pdn_modify_ind_struct; |
| 746 | |
| 747 | typedef struct { |
| 748 | LOCAL_PARA_HDR |
| 749 | |
| 750 | at_eapnsync_ind_struct cmd; |
| 751 | } l4aps_l4bpdn_eapnsync_ind_struct; |
| 752 | |
| 753 | typedef struct { |
| 754 | LOCAL_PARA_HDR |
| 755 | |
| 756 | at_evzwapfcia_ind_struct cmd; |
| 757 | } l4aps_l4bpdn_evzwapfcia_ind_struct; |
| 758 | |
| 759 | typedef struct { |
| 760 | LOCAL_PARA_HDR |
| 761 | |
| 762 | at_eggrntrspt_ind_struct cmd; |
| 763 | } l4aps_l4bpdn_eggrntrspt_ind_struct; |
| 764 | |
| 765 | typedef struct { |
| 766 | LOCAL_PARA_HDR |
| 767 | |
| 768 | at_egpcap_test_mode_ind_struct cmd; |
| 769 | } l4aps_l4bpdn_egpcap_test_mode_ind_struct; |
| 770 | |
| 771 | typedef pam_backoff_timer_report_ind_struct l4aps_l4bpdn_backoff_timer_status_ind_struct; |
| 772 | |
| 773 | /********************************************************************************************************* |
| 774 | * MSG: L4BPDN -> L4APS: End * |
| 775 | *********************************************************************************************************/ |
| 776 | #endif |
| 777 | |
| 778 | #endif /* _L4APS_L4BPDN_STRUCT_H */ |