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) 2005 |
| 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 | * l4c2smsal_struct.h |
| 41 | * |
| 42 | * Project: |
| 43 | * -------- |
| 44 | * MAUI |
| 45 | * |
| 46 | * Description: |
| 47 | * ------------ |
| 48 | * |
| 49 | * Author: |
| 50 | * ------- |
| 51 | * ------- |
| 52 | * |
| 53 | *============================================================================ |
| 54 | * HISTORY |
| 55 | * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| 56 | *------------------------------------------------------------------------------ |
| 57 | * removed! |
| 58 | * |
| 59 | * removed! |
| 60 | * removed! |
| 61 | * removed! |
| 62 | * removed! |
| 63 | * |
| 64 | * removed! |
| 65 | * removed! |
| 66 | * removed! |
| 67 | * |
| 68 | * removed! |
| 69 | * removed! |
| 70 | * removed! |
| 71 | * |
| 72 | * removed! |
| 73 | * removed! |
| 74 | * removed! |
| 75 | * removed! |
| 76 | * |
| 77 | * removed! |
| 78 | * removed! |
| 79 | * removed! |
| 80 | * |
| 81 | * removed! |
| 82 | * removed! |
| 83 | * removed! |
| 84 | * |
| 85 | * removed! |
| 86 | * removed! |
| 87 | * removed! |
| 88 | * |
| 89 | * removed! |
| 90 | * removed! |
| 91 | * removed! |
| 92 | * |
| 93 | * removed! |
| 94 | * removed! |
| 95 | * removed! |
| 96 | * |
| 97 | * removed! |
| 98 | * removed! |
| 99 | * removed! |
| 100 | * |
| 101 | * removed! |
| 102 | * removed! |
| 103 | * removed! |
| 104 | * |
| 105 | * removed! |
| 106 | * removed! |
| 107 | * removed! |
| 108 | * |
| 109 | * removed! |
| 110 | * removed! |
| 111 | * removed! |
| 112 | * |
| 113 | * removed! |
| 114 | * removed! |
| 115 | * removed! |
| 116 | * removed! |
| 117 | * |
| 118 | * removed! |
| 119 | * removed! |
| 120 | * removed! |
| 121 | * |
| 122 | * removed! |
| 123 | * removed! |
| 124 | * removed! |
| 125 | * |
| 126 | * removed! |
| 127 | * removed! |
| 128 | * |
| 129 | * removed! |
| 130 | * removed! |
| 131 | * removed! |
| 132 | * |
| 133 | * removed! |
| 134 | * removed! |
| 135 | * removed! |
| 136 | * |
| 137 | * removed! |
| 138 | * removed! |
| 139 | * removed! |
| 140 | * |
| 141 | * removed! |
| 142 | * removed! |
| 143 | * removed! |
| 144 | * |
| 145 | * removed! |
| 146 | * removed! |
| 147 | * removed! |
| 148 | * |
| 149 | * removed! |
| 150 | * removed! |
| 151 | * removed! |
| 152 | * |
| 153 | * removed! |
| 154 | * removed! |
| 155 | * removed! |
| 156 | * |
| 157 | * removed! |
| 158 | * removed! |
| 159 | * removed! |
| 160 | * |
| 161 | * removed! |
| 162 | * removed! |
| 163 | * removed! |
| 164 | * |
| 165 | * removed! |
| 166 | * removed! |
| 167 | * removed! |
| 168 | * |
| 169 | * removed! |
| 170 | * removed! |
| 171 | * removed! |
| 172 | * |
| 173 | * removed! |
| 174 | * removed! |
| 175 | * removed! |
| 176 | * |
| 177 | * removed! |
| 178 | * removed! |
| 179 | * removed! |
| 180 | * |
| 181 | * removed! |
| 182 | * removed! |
| 183 | * removed! |
| 184 | * |
| 185 | * removed! |
| 186 | * removed! |
| 187 | * removed! |
| 188 | * |
| 189 | * removed! |
| 190 | * removed! |
| 191 | * removed! |
| 192 | * |
| 193 | * removed! |
| 194 | * removed! |
| 195 | * removed! |
| 196 | * |
| 197 | * removed! |
| 198 | * removed! |
| 199 | * removed! |
| 200 | * |
| 201 | * removed! |
| 202 | * removed! |
| 203 | * removed! |
| 204 | * |
| 205 | * removed! |
| 206 | * removed! |
| 207 | * removed! |
| 208 | * |
| 209 | * removed! |
| 210 | * removed! |
| 211 | * removed! |
| 212 | * |
| 213 | * removed! |
| 214 | * removed! |
| 215 | * removed! |
| 216 | * |
| 217 | * removed! |
| 218 | * removed! |
| 219 | * removed! |
| 220 | * |
| 221 | * removed! |
| 222 | * removed! |
| 223 | * removed! |
| 224 | * |
| 225 | * removed! |
| 226 | * removed! |
| 227 | * removed! |
| 228 | * |
| 229 | * removed! |
| 230 | * removed! |
| 231 | * removed! |
| 232 | * |
| 233 | * removed! |
| 234 | * removed! |
| 235 | * removed! |
| 236 | * |
| 237 | * removed! |
| 238 | * removed! |
| 239 | * removed! |
| 240 | * |
| 241 | * removed! |
| 242 | * removed! |
| 243 | * removed! |
| 244 | * |
| 245 | * removed! |
| 246 | * removed! |
| 247 | * removed! |
| 248 | * |
| 249 | *------------------------------------------------------------------------------ |
| 250 | * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| 251 | *============================================================================ |
| 252 | ****************************************************************************/ |
| 253 | |
| 254 | /******************************************************************************** |
| 255 | * Copyright Statement: |
| 256 | * -------------------- |
| 257 | * |
| 258 | * This product has been developed using a protocol stack |
| 259 | * developed by Sasken Communication Technologies Limited. |
| 260 | * |
| 261 | ********************************************************************************/ |
| 262 | |
| 263 | |
| 264 | /******************************************************************************* |
| 265 | * Copyright Statement: |
| 266 | * -------------------- |
| 267 | * This software is protected by Copyright and the information contained |
| 268 | * herein is confidential. The software may not be copied and the information |
| 269 | * contained herein may not be used or disclosed except with the written |
| 270 | * permission of MediaTek Inc. (C) 2002 |
| 271 | * |
| 272 | ******************************************************************************* |
| 273 | * FILENAME : l4c2smsal_struct.h |
| 274 | * SYNOPSIS : Functions for encoding/decoding. |
| 275 | * |
| 276 | * R E V I S I O N H I S T O R Y |
| 277 | * |
| 278 | */ |
| 279 | #ifndef _L4C2SMSAL_STRUCT_H |
| 280 | #define _L4C2SMSAL_STRUCT_H |
| 281 | |
| 282 | #include "ps_public_struct.h" |
| 283 | //#include "l4c_aux_struct.h" |
| 284 | //#include "kal_non_specific_general_types.h" |
| 285 | #include "kal_general_types.h" |
| 286 | #include "kal_public_defs.h" |
| 287 | #include "irat_common_enums.h" |
| 288 | #include "l3_inc_enums.h" |
| 289 | #include "smsal_l4c_enum.h" |
| 290 | |
| 291 | |
| 292 | typedef struct |
| 293 | { |
| 294 | kal_uint8 fo; |
| 295 | kal_uint8 pid; |
| 296 | kal_uint8 dcs; |
| 297 | kal_uint8 ori_dcs; |
| 298 | |
| 299 | kal_uint8 vp_format; |
| 300 | kal_uint8 vp; |
| 301 | |
| 302 | kal_uint16 no_msg_data; |
| 303 | l4_addr_bcd_struct sca; |
| 304 | l4_addr_bcd_struct da; |
| 305 | |
| 306 | } smsal_submit_msg_hdr_struct; |
| 307 | /* to replace smsal_submit_msg_struct */ |
| 308 | |
| 309 | typedef struct |
| 310 | { |
| 311 | kal_uint8 fo; |
| 312 | kal_uint8 pid; |
| 313 | kal_uint8 dcs; |
| 314 | kal_uint8 ori_dcs; |
| 315 | |
| 316 | kal_uint8 pading; |
| 317 | kal_uint8 scts[7]; |
| 318 | |
| 319 | kal_uint16 no_msg_data; |
| 320 | l4_addr_bcd_struct sca; |
| 321 | l4_addr_bcd_struct oa; |
| 322 | |
| 323 | } smsal_deliver_msg_hdr_struct; |
| 324 | /* to replace smsal_deliver_msg_struct */ |
| 325 | |
| 326 | typedef struct |
| 327 | { |
| 328 | kal_uint8 fo; |
| 329 | kal_uint8 pid; |
| 330 | kal_uint8 dcs; |
| 331 | kal_uint8 ori_dcs; |
| 332 | |
| 333 | kal_uint8 mr; |
| 334 | kal_uint8 scts[7]; |
| 335 | |
| 336 | kal_uint16 no_msg_data; |
| 337 | l4_addr_bcd_struct ra; |
| 338 | kal_uint8 dt[7]; |
| 339 | kal_uint8 st; |
| 340 | |
| 341 | } smsal_status_report_msg_hdr_struct; |
| 342 | /* to replace smsal_status_report_msg_struct; */ |
| 343 | |
| 344 | typedef struct |
| 345 | { |
| 346 | kal_uint8 fo; |
| 347 | kal_uint8 ct; |
| 348 | kal_uint8 mn; |
| 349 | kal_uint8 pid; |
| 350 | kal_uint16 no_msg_data; |
| 351 | l4_addr_bcd_struct da; |
| 352 | } smsal_command_msg_hdr_struct; |
| 353 | /* to replace smsal_command_msg_struct; */ |
| 354 | |
| 355 | typedef struct |
| 356 | { |
| 357 | kal_uint8 profile_no_tag; |
| 358 | kal_uint8 profile_no; |
| 359 | kal_uint16 para_ind; |
| 360 | kal_uint8 pid; |
| 361 | kal_uint8 dcs; |
| 362 | kal_uint8 vp; |
| 363 | kal_uint8 udhi; |
| 364 | kal_uint8 tp_srr; |
| 365 | kal_uint8 tp_rp; |
| 366 | kal_uint8 da_tag; |
| 367 | l4_addr_bcd_struct da; |
| 368 | l4_addr_bcd_struct sc_addr; |
| 369 | } smsal_send_msg_req_hdr_struct; |
| 370 | /* to replace smsal_send_msg_req_struct */ |
| 371 | |
| 372 | typedef struct |
| 373 | { |
| 374 | kal_uint16 para_ind; |
| 375 | kal_uint8 tp_mms; |
| 376 | kal_uint8 tp_rp; |
| 377 | kal_uint8 tp_udhi; |
| 378 | kal_uint8 tp_sri; |
| 379 | |
| 380 | kal_uint8 pid; |
| 381 | kal_uint8 dcs; |
| 382 | kal_uint8 tp_scts[7]; |
| 383 | l4_addr_bcd_struct oa; |
| 384 | l4_addr_bcd_struct sc_addr; |
| 385 | } smsal_receive_msg_hdr_struct; |
| 386 | |
| 387 | typedef union { |
| 388 | smsal_deliver_msg_hdr_struct deliver; |
| 389 | smsal_submit_msg_hdr_struct submit; |
| 390 | smsal_status_report_msg_hdr_struct status_rep; |
| 391 | } smsal_header_info_union; |
| 392 | |
| 393 | typedef struct { |
| 394 | kal_uint8 mt; /* MT Service Mode*/ |
| 395 | kal_uint8 mo; /* MO Service Mode*/ |
| 396 | kal_uint8 bm; /* Broadcast Message Service Mode*/ |
| 397 | } smsal_service_mode_struct; |
| 398 | |
| 399 | typedef struct { |
| 400 | kal_uint8 mode; /* Buffering Mode*/ |
| 401 | kal_uint8 mt; /* MT Message Route Mode*/ |
| 402 | kal_uint8 ds; /* Status Report Route Mode*/ |
| 403 | kal_uint8 bm; /* Broadcast Message Route Mode*/ |
| 404 | } smsal_mt_msg_route_struct; |
| 405 | |
| 406 | typedef struct { |
| 407 | kal_uint8 mem1; /* Storage type for Memory1*/ |
| 408 | kal_uint8 mem2; /* Storage type for Memory2*/ |
| 409 | kal_uint8 mem3; /* Storage type for Memory3*/ |
| 410 | } smsal_select_mem_struct; |
| 411 | |
| 412 | typedef struct { |
| 413 | l4_name_struct name; |
| 414 | l4_addr_bcd_struct addr; |
| 415 | kal_uint8 capability_id; |
| 416 | kal_uint8 extension_id; |
| 417 | } smsal_mailbox_addr_struct; |
| 418 | |
| 419 | typedef struct { |
| 420 | LOCAL_PARA_HDR |
| 421 | kal_uint8 src_id; /* Source Code*/ |
| 422 | kal_uint8 is_sim_change; /* TRUE: if last IMSI changed */ |
| 423 | kal_uint8 init_type; |
| 424 | } l4csmsal_init_req_struct; |
| 425 | |
| 426 | typedef l4csmsal_init_req_struct l4csmsal_init_me_sms_req_struct; |
| 427 | |
| 428 | typedef struct { |
| 429 | LOCAL_PARA_HDR |
| 430 | } l4csmsal_de_init_req_struct; |
| 431 | |
| 432 | typedef struct { |
| 433 | LOCAL_PARA_HDR |
| 434 | |
| 435 | kal_uint8 src_id; /* Source Code*/ |
| 436 | kal_uint8 req_type; /* Request Type*/ |
| 437 | kal_uint8 status; /* Status*/ |
| 438 | kal_uint8 change_status; /* change status*/ |
| 439 | kal_uint16 index; /* Message Index*/ |
| 440 | } l4csmsal_read_req_struct; |
| 441 | |
| 442 | typedef struct { |
| 443 | LOCAL_PARA_HDR |
| 444 | kal_uint8 src_id; |
| 445 | kal_uint8 dest_no; /* Specify set target, profile_no or line_no*/ |
| 446 | kal_uint16 para_ind; /* Specify which parameters shall be set*/ |
| 447 | kal_uint8 fo; |
| 448 | kal_uint8 support_concat; |
| 449 | kal_uint8 direct_display; |
| 450 | kal_uint8 bearer_serivce; |
| 451 | smsal_select_mem_struct prefer_mem; |
| 452 | smsal_mailbox_addr_struct mailbox_addr; |
| 453 | kal_uint8 vp; |
| 454 | kal_uint8 pid; |
| 455 | kal_uint8 dcs; |
| 456 | l4_addr_bcd_struct sca; |
| 457 | l4_name_struct profile_name; |
| 458 | kal_uint8 cbch_req; |
| 459 | kal_bool is_all_language_on; |
| 460 | } l4csmsal_set_parameter_req_struct; |
| 461 | |
| 462 | typedef struct { |
| 463 | LOCAL_PARA_HDR |
| 464 | kal_uint8 src_id; |
| 465 | kal_uint8 profile_no; //if para_ind=SMSAL_PARA_SAVE_PROFILE, only this field is available. (For AT only) |
| 466 | kal_uint16 para_ind; /* Specify which parameters shall be set*/ |
| 467 | kal_uint8 pid; //SMSAL_PARA_PID |
| 468 | kal_uint8 dcs; //SMSAL_PARA_DCS |
| 469 | kal_uint8 vp; //SMSAL_PARA_VP |
| 470 | l4_addr_bcd_struct sca; //SMSAL_PARA_SCA |
| 471 | l4_name_struct profile_name; //SMSAL_PARA_PROFILE_NAME |
| 472 | } l4csmsal_set_profile_para_req_struct; |
| 473 | |
| 474 | typedef struct { |
| 475 | LOCAL_PARA_HDR |
| 476 | kal_uint8 src_id; |
| 477 | kal_uint8 dest_no; /* index of mailbox list based on smsal_get_mailbox_addr */ |
| 478 | kal_uint16 para_ind; /* Specify which parameters shall be set*/ |
| 479 | kal_uint8 fo; //SMSAL_COM_PARA_FO |
| 480 | kal_uint8 bearer_serivce; //SMSAL_COM_PARA_BEARER |
| 481 | kal_uint8 status_report; //SMSAL_COM_STATUS_REP |
| 482 | kal_uint8 reply_path; //SMSAL_COM_REPLY_PATH |
| 483 | kal_uint8 cbch_req; //SMSAL_COM_CBCH_REQ |
| 484 | kal_uint8 is_all_language_on; //SMSAL_COM_PARA_ALL_CB_LANG |
| 485 | smsal_select_mem_struct prefer_mem; //SMSAL_COM_PARA_PREFER_MEM |
| 486 | smsal_mailbox_addr_struct mailbox_addr; //SMSAL_COM_PARA_MAILBOX_ADDR |
| 487 | kal_uint8 msp_no; |
| 488 | smsal_mbi_struct mbi; |
| 489 | } l4csmsal_set_common_para_req_struct; |
| 490 | |
| 491 | typedef struct |
| 492 | { |
| 493 | LOCAL_PARA_HDR |
| 494 | |
| 495 | kal_uint8 src_id; |
| 496 | kal_uint8 line_no; /* message waiting line no */ |
| 497 | kal_uint8 waiting_num; /* message waiting number */ |
| 498 | kal_uint8 ind_type; /* message waiting type */ |
| 499 | }l4csmsal_set_msg_waiting_req_struct; |
| 500 | |
| 501 | typedef struct { |
| 502 | LOCAL_PARA_HDR |
| 503 | |
| 504 | kal_uint8 src_id; |
| 505 | kal_uint8 req_type; |
| 506 | kal_uint8 seq_num; |
| 507 | kal_uint8 fdn_check; /* true: FDN enable */ |
| 508 | kal_uint8 mms_mode; |
| 509 | kal_uint16 reply_index; |
| 510 | kal_uint16 message_len; /* Length of Message*/ |
| 511 | union { |
| 512 | smsal_send_msg_req_hdr_struct submit; |
| 513 | smsal_command_msg_hdr_struct command; |
| 514 | } msg_header; |
| 515 | } l4csmsal_send_req_struct, l4csmsal_ims_send_req_struct; |
| 516 | |
| 517 | typedef struct { |
| 518 | LOCAL_PARA_HDR |
| 519 | |
| 520 | kal_uint8 src_id; |
| 521 | sms_addr_struct sc_addr; /* service centre address*/ |
| 522 | } l4csmsal_ims_sms_deliver_req_struct, l4csmsal_ims_sms_status_req_struct,l4csmsal_ims_recv_req_struct; |
| 523 | |
| 524 | typedef struct { |
| 525 | LOCAL_PARA_HDR |
| 526 | |
| 527 | kal_uint8 src_id; |
| 528 | kal_uint8 result; /* Result Code*/ |
| 529 | kal_uint16 error_cause; /* Error Cause*/ |
| 530 | kal_uint8 mr; /* Message reference*/ |
| 531 | l4_addr_bcd_struct sc_addr; |
| 532 | |
| 533 | } l4csmsal_ims_send_cnf_struct; |
| 534 | |
| 535 | typedef struct { |
| 536 | LOCAL_PARA_HDR |
| 537 | |
| 538 | kal_uint8 src_id; |
| 539 | kal_uint8 result; /* Result Code*/ |
| 540 | kal_uint16 error_cause; /* Error Cause*/ |
| 541 | |
| 542 | } l4csmsal_ims_recv_cnf_struct, l4csmsal_ims_sms_deliver_cnf_struct, l4csmsal_ims_sms_status_cnf_struct; |
| 543 | |
| 544 | typedef struct { |
| 545 | LOCAL_PARA_HDR |
| 546 | |
| 547 | kal_uint8 src_id; /* identify background sending or else */ |
| 548 | } l4csmsal_ims_send_smma_req_struct; |
| 549 | |
| 550 | typedef struct { |
| 551 | LOCAL_PARA_HDR |
| 552 | |
| 553 | kal_uint8 mr; /* Message Reference*/ |
| 554 | kal_uint8 src_id; /* identify background sending or else */ |
| 555 | } l4csmsal_ims_send_smma_cnf_struct; |
| 556 | |
| 557 | typedef struct { |
| 558 | LOCAL_PARA_HDR |
| 559 | |
| 560 | kal_uint8 smma; /* 0:abort, 1:send smma */ |
| 561 | } l4csmsal_ims_send_smma_ind_struct; |
| 562 | |
| 563 | typedef struct { |
| 564 | LOCAL_PARA_HDR |
| 565 | |
| 566 | kal_uint8 result; /* Result */ |
| 567 | } l4csmsal_ims_send_smma_result_req_struct; |
| 568 | |
| 569 | typedef struct { |
| 570 | LOCAL_PARA_HDR |
| 571 | kal_uint8 src_id; |
| 572 | kal_uint8 seq_num; |
| 573 | } l4csmsal_send_abort_struct; |
| 574 | |
| 575 | typedef struct { |
| 576 | LOCAL_PARA_HDR |
| 577 | |
| 578 | kal_uint8 src_id; |
| 579 | kal_uint8 seq_num; |
| 580 | kal_uint8 fdn_check; //true: FDN enable |
| 581 | kal_uint16 index; |
| 582 | kal_uint16 reply_index; |
| 583 | kal_uint8 da_tag; /* Indicate whether to use da as destination address*/ |
| 584 | l4_addr_bcd_struct da; /* Destination Address*/ |
| 585 | kal_uint8 profile_no_tag; |
| 586 | kal_uint8 profile_no; |
| 587 | #ifdef __IMS_SUPPORT__ |
| 588 | sms_addr_struct sca; |
| 589 | kal_bool is_retry; |
| 590 | kal_uint8 msg_ref; |
| 591 | smsal_domain_enum domain; |
| 592 | #endif |
| 593 | } l4csmsal_send_from_storage_req_struct, l4csmsal_ims_send_from_storage_req_struct; |
| 594 | |
| 595 | typedef struct { |
| 596 | LOCAL_PARA_HDR |
| 597 | |
| 598 | kal_uint8 src_id; |
| 599 | kal_uint8 status; |
| 600 | kal_uint8 scts[7]; |
| 601 | kal_uint16 replace_index; |
| 602 | kal_uint16 message_len; /* Length of Message*/ |
| 603 | union{ |
| 604 | smsal_receive_msg_hdr_struct mt_sms_hdr; |
| 605 | smsal_send_msg_req_hdr_struct mo_sms_hdr; |
| 606 | }hdr; |
| 607 | } l4csmsal_write_req_struct; |
| 608 | |
| 609 | typedef struct { |
| 610 | LOCAL_PARA_HDR |
| 611 | kal_uint8 src_id; |
| 612 | kal_uint8 del_flag; |
| 613 | kal_uint16 index; |
| 614 | kal_uint8 msg_bitmap[480]; /* length is not final value */ |
| 615 | |
| 616 | } l4csmsal_delete_req_struct; |
| 617 | |
| 618 | typedef struct { |
| 619 | LOCAL_PARA_HDR |
| 620 | kal_uint8 src_id; |
| 621 | kal_uint8 seq_num; |
| 622 | kal_uint8 is_sms_packed_required; |
| 623 | l4_addr_bcd_struct sc_addr; |
| 624 | kal_uint8 tpdu_length; |
| 625 | kal_uint8 tpdu[175]; |
| 626 | } l4csmsal_sat_send_req_struct; |
| 627 | |
| 628 | typedef struct { |
| 629 | LOCAL_PARA_HDR |
| 630 | kal_uint8 src_id; |
| 631 | kal_uint8 result; /* Result Code*/ |
| 632 | } l4csmsal_init_cnf_struct; |
| 633 | |
| 634 | typedef l4csmsal_init_cnf_struct l4csmsal_init_me_sms_cnf_struct; |
| 635 | |
| 636 | typedef struct { |
| 637 | LOCAL_PARA_HDR |
| 638 | kal_uint8 src_id; |
| 639 | kal_uint8 result; /* Result Code*/ |
| 640 | } l4csmsal_de_init_cnf_struct; |
| 641 | |
| 642 | typedef struct { |
| 643 | LOCAL_PARA_HDR |
| 644 | kal_uint8 line_no; /* Number of Line*/ |
| 645 | kal_uint8 msp_no; |
| 646 | kal_uint8 waiting_num; |
| 647 | kal_uint8 ind_type; |
| 648 | kal_bool is_show_num; |
| 649 | kal_bool is_clear; |
| 650 | kal_bool is_from_storage; |
| 651 | |
| 652 | kal_uint8 ext_indicator; // indicate how many "message waiting" follows |
| 653 | l4csmsal_msg_waiting_ind_ext_struct msg_waiting[5]; |
| 654 | } l4csmsal_msg_waiting_ind_struct; |
| 655 | |
| 656 | typedef struct { |
| 657 | LOCAL_PARA_HDR |
| 658 | kal_uint8 dest; /* Destination Code*/ |
| 659 | kal_uint8 storage_type; |
| 660 | kal_uint16 index; /* Message Index*/ |
| 661 | kal_uint16 dest_port; |
| 662 | kal_uint16 src_port; |
| 663 | smsal_concat_struct concat_info; /* Concat. Info*/ |
| 664 | |
| 665 | l4_addr_bcd_struct oa; /* Originating Address */ |
| 666 | |
| 667 | kal_uint8 mti; |
| 668 | kal_uint8 scts[7]; |
| 669 | |
| 670 | } l4csmsal_new_msg_index_ind_struct; |
| 671 | |
| 672 | typedef struct { |
| 673 | LOCAL_PARA_HDR |
| 674 | |
| 675 | kal_uint8 dest; /* Destination Code*/ |
| 676 | kal_uint8 id; /* Id for distinguish CNMA*/ |
| 677 | kal_uint8 mti; /* Message Type Identifier*/ |
| 678 | kal_uint16 message_len; /* Length of Message*/ |
| 679 | } l4csmsal_new_msg_pdu_ind_struct, l4csmsal_ims_new_msg_pdu_ind_struct; |
| 680 | |
| 681 | typedef struct { |
| 682 | LOCAL_PARA_HDR |
| 683 | |
| 684 | kal_uint8 dest; /* Destination Code*/ |
| 685 | kal_uint8 id; /* Id for distinguish CNMA*/ |
| 686 | kal_uint16 index; |
| 687 | kal_uint8 mti; /* Message Type Identifier*/ |
| 688 | kal_uint8 rmi_use_hex; |
| 689 | kal_uint8 display_type; |
| 690 | kal_uint8 storage_type; |
| 691 | kal_uint16 dest_port; |
| 692 | kal_uint16 src_port; |
| 693 | kal_uint16 message_len; /* Length of Message*/ |
| 694 | smsal_concat_struct concat_info; /* Concat. Info*/ |
| 695 | smsal_header_info_union msg_header; |
| 696 | } l4csmsal_new_msg_text_ind_struct, l4csmsal_ims_new_msg_text_ind_struct; |
| 697 | |
| 698 | typedef struct { |
| 699 | LOCAL_PARA_HDR |
| 700 | kal_uint8 src_id; |
| 701 | kal_uint8 result; /* Result Code*/ |
| 702 | kal_uint16 error_cause; /* Error Cause*/ |
| 703 | kal_uint8 status; /* Message Status*/ |
| 704 | kal_uint8 new_status; /* For +CMGR and sync. to MMI */ |
| 705 | kal_uint8 mti; /* Message Type Identifier*/ |
| 706 | kal_uint8 storage_type; |
| 707 | kal_uint8 rmi_use_hex; |
| 708 | kal_uint16 index; /* For +CMGL*/ |
| 709 | kal_uint16 next_index; /* Indicate the next index*/ |
| 710 | kal_uint16 dest_port; |
| 711 | kal_uint16 src_port; |
| 712 | kal_uint8 scts[7]; |
| 713 | kal_uint8 padding; |
| 714 | kal_uint16 message_len; /* Length of Message*/ |
| 715 | smsal_concat_struct concat_info; /* Concat. Info*/ |
| 716 | smsal_header_info_union msg_header; |
| 717 | } l4csmsal_read_cnf_struct; |
| 718 | |
| 719 | typedef struct { |
| 720 | LOCAL_PARA_HDR |
| 721 | kal_uint8 src_id; |
| 722 | kal_uint8 result; /* Result Code*/ |
| 723 | kal_uint16 error_cause; /* Error Cause*/ |
| 724 | kal_uint8 profile; |
| 725 | } l4csmsal_set_parameter_cnf_struct; |
| 726 | |
| 727 | typedef struct { |
| 728 | LOCAL_PARA_HDR |
| 729 | kal_uint8 src_id; |
| 730 | kal_uint8 result; /* Result Code*/ |
| 731 | kal_uint16 error_cause; /* Error Cause*/ |
| 732 | kal_uint8 profile; |
| 733 | } l4csmsal_set_profile_para_cnf_struct; |
| 734 | |
| 735 | typedef struct { |
| 736 | LOCAL_PARA_HDR |
| 737 | kal_uint8 src_id; |
| 738 | kal_uint8 result; /* Result Code*/ |
| 739 | kal_uint16 error_cause; /* Error Cause*/ |
| 740 | kal_uint8 profile; |
| 741 | } l4csmsal_set_common_para_cnf_struct; |
| 742 | |
| 743 | typedef struct |
| 744 | { |
| 745 | LOCAL_PARA_HDR |
| 746 | |
| 747 | kal_bool result; |
| 748 | kal_uint16 cause; |
| 749 | kal_uint8 src_id; |
| 750 | kal_uint8 line_no; /* message waiting line no */ |
| 751 | kal_uint8 waiting_num; /* message waiting number */ |
| 752 | kal_uint8 ind_type; /* message waiting type */ |
| 753 | }l4csmsal_set_msg_waiting_cnf_struct; |
| 754 | |
| 755 | typedef struct { |
| 756 | LOCAL_PARA_HDR |
| 757 | |
| 758 | kal_uint8 src_id; |
| 759 | kal_uint8 result; /* Result Code*/ |
| 760 | kal_uint16 error_cause; /* Error Cause*/ |
| 761 | kal_uint8 mr; /* Message reference*/ |
| 762 | kal_uint8 seq_num; |
| 763 | kal_uint8 scts[7]; |
| 764 | smsal_concat_struct concat_info; /* Concat. Info*/ |
| 765 | |
| 766 | } l4csmsal_send_cnf_struct; |
| 767 | |
| 768 | typedef struct { |
| 769 | LOCAL_PARA_HDR |
| 770 | |
| 771 | kal_uint8 src_id; |
| 772 | kal_uint8 result; /* Result Code*/ |
| 773 | kal_uint16 error_cause; /* Error Cause*/ |
| 774 | kal_uint16 index; |
| 775 | kal_uint8 status; /* status of msg */ |
| 776 | kal_uint8 storage_type; |
| 777 | } l4csmsal_write_cnf_struct; |
| 778 | |
| 779 | typedef struct { |
| 780 | LOCAL_PARA_HDR |
| 781 | kal_uint8 src_id; |
| 782 | kal_uint8 result; /* Result Code*/ |
| 783 | kal_uint16 error_cause; /* Error Cause*/ |
| 784 | kal_uint16 index; |
| 785 | kal_uint8 del_flag; |
| 786 | kal_uint8 storage_type; |
| 787 | kal_uint8 msg_bitmap[480]; /* length is not final value */ |
| 788 | } l4csmsal_delete_cnf_struct; |
| 789 | |
| 790 | |
| 791 | typedef struct { |
| 792 | LOCAL_PARA_HDR |
| 793 | kal_uint8 src_id; |
| 794 | kal_uint8 result; /* Result Code*/ |
| 795 | kal_uint16 error_cause; /* Error Cause*/ |
| 796 | kal_uint8 seq_num; |
| 797 | }l4csmsal_send_abort_cnf_struct; |
| 798 | |
| 799 | typedef struct { |
| 800 | LOCAL_PARA_HDR |
| 801 | kal_uint8 type; |
| 802 | } l4csmsal_mem_full_ind_struct; |
| 803 | |
| 804 | typedef struct { |
| 805 | LOCAL_PARA_HDR |
| 806 | kal_uint8 type; |
| 807 | } l4csmsal_mem_exceed_ind_struct; |
| 808 | |
| 809 | typedef struct { |
| 810 | LOCAL_PARA_HDR |
| 811 | kal_uint8 type; |
| 812 | } l4csmsal_mem_available_ind_struct; |
| 813 | |
| 814 | typedef struct { |
| 815 | LOCAL_PARA_HDR |
| 816 | kal_uint16 length; //length of peer buf data; unit:byte |
| 817 | kal_uint8 access_id; |
| 818 | } l4csmsal_sms_depersonalization_ind_struct; |
| 819 | |
| 820 | typedef struct { |
| 821 | LOCAL_PARA_HDR |
| 822 | kal_uint8 response; |
| 823 | kal_uint8 cause_present; |
| 824 | kal_uint16 cause; |
| 825 | kal_uint16 length; //length of peer buf data; unit:byte |
| 826 | kal_uint8 access_id; //SMU piggy-back |
| 827 | } l4csmsal_sms_depersonalization_rsp_struct; |
| 828 | |
| 829 | typedef struct { |
| 830 | LOCAL_PARA_HDR |
| 831 | kal_uint8 src_id; |
| 832 | kal_uint8 res; /* SAT response code*/ |
| 833 | kal_uint8 cause; /* Error Cause*/ |
| 834 | } l4csmsal_sat_send_cnf_struct; |
| 835 | |
| 836 | typedef struct { |
| 837 | LOCAL_PARA_HDR |
| 838 | kal_uint8 cbch_req; |
| 839 | } l4csmsal_cbch_req_struct; |
| 840 | |
| 841 | typedef struct { |
| 842 | LOCAL_PARA_HDR |
| 843 | kal_uint8 src_id; |
| 844 | kal_uint16 mi[60]; // = [SMSAL_MMI_CBMI_MAX_ENTRY] |
| 845 | kal_uint16 dcs[30]; // = [SMSAL_CB_MAX_ENTRY] |
| 846 | kal_bool mi_mask[60]; // = [SMSAL_MMI_CBMI_MAX_ENTRY] |
| 847 | kal_bool dcs_mask[30]; // = [SMSAL_CB_MAX_ENTRY] |
| 848 | |
| 849 | /* follows added by Kevin */ |
| 850 | kal_bool mir_mask[30]; // = [SMSAL_CB_MAX_ENTRY] |
| 851 | kal_uint16 mir[60]; // = [SMSAL_CB_MAX_ENTRY*2] |
| 852 | kal_uint8 is_all_language_on; |
| 853 | kal_uint8 para_ind;/* smsal_cb_para_enum */ |
| 854 | |
| 855 | l4c_cb_set_type_enum set_type; |
| 856 | smsal_cb_cmd_enum cb_cmd; |
| 857 | } l4csmsal_cb_update_req_struct; |
| 858 | |
| 859 | /* CB UPDATE CNF added by Kevin */ |
| 860 | typedef struct { |
| 861 | LOCAL_PARA_HDR |
| 862 | kal_uint8 src_id; |
| 863 | kal_uint8 result; /* Result Code*/ |
| 864 | kal_uint16 error_cause; /* Error Cause*/ |
| 865 | smsal_cb_cmd_enum cb_cmd; |
| 866 | } l4csmsal_cb_update_cnf_struct; |
| 867 | |
| 868 | typedef struct { |
| 869 | LOCAL_PARA_HDR |
| 870 | kal_uint16 mi; |
| 871 | kal_uint8 dcs; |
| 872 | kal_uint16 msg_length; /* max length is 93 x 15 = 1395 */ |
| 873 | kal_uint8 msg_data[1]; |
| 874 | } l4csmsal_cb_msg_ind_struct; |
| 875 | |
| 876 | typedef struct { |
| 877 | LOCAL_PARA_HDR |
| 878 | |
| 879 | kal_uint8 dest; /* RMMI or LMMI*/ |
| 880 | kal_uint16 sn; |
| 881 | kal_uint16 mi; |
| 882 | kal_uint8 dcs; |
| 883 | kal_uint8 page; |
| 884 | kal_uint8 pages; |
| 885 | kal_uint8 rmi_use_hex; |
| 886 | kal_uint16 msg_length; /* max length is 93 x 15 = 1395 */ |
| 887 | kal_uint8 msg_data[1]; |
| 888 | } l4csmsal_cb_msg_text_ind_struct; |
| 889 | |
| 890 | typedef struct { |
| 891 | LOCAL_PARA_HDR |
| 892 | kal_uint8 geography_type; |
| 893 | } l4csmsal_cb_gs_change_ind_struct; |
| 894 | |
| 895 | typedef struct { |
| 896 | LOCAL_PARA_HDR |
| 897 | kal_uint8 dest; |
| 898 | kal_uint16 msg_length; |
| 899 | kal_uint8 msg_data[CB_MAX_DATA_NUM_PER_PAGE]; |
| 900 | rat_enum rat; |
| 901 | } l4csmsal_cb_msg_pdu_ind_struct; |
| 902 | |
| 903 | typedef struct { |
| 904 | LOCAL_PARA_HDR |
| 905 | kal_uint8 plmn[MAX_PLMN_LEN+1]; |
| 906 | rat_enum rat; |
| 907 | } l4csmsal_cb_service_by_plmn_req_struct; |
| 908 | |
| 909 | typedef struct { |
| 910 | LOCAL_PARA_HDR |
| 911 | kal_uint16 mid; |
| 912 | kal_uint16 sn; |
| 913 | } l4csmsal_cb_msg_removal_req_struct; |
| 914 | |
| 915 | typedef struct |
| 916 | { |
| 917 | LOCAL_PARA_HDR |
| 918 | |
| 919 | kal_uint16 dest_mod_id; |
| 920 | kal_uint16 dest_port; |
| 921 | kal_uint16 src_port; |
| 922 | kal_uint8 dcs; |
| 923 | kal_uint8 mti; /* Message Type Identifier*/ |
| 924 | |
| 925 | kal_uint8 scts[7]; |
| 926 | smsal_concat_struct concat_info; /* Concat. Info*/ |
| 927 | l4_addr_bcd_struct oa; /* Originating Address */ |
| 928 | kal_uint16 message_len; /* Length of Message*/ |
| 929 | |
| 930 | }l4csmsal_app_data_ind_struct; |
| 931 | |
| 932 | |
| 933 | typedef struct { |
| 934 | LOCAL_PARA_HDR |
| 935 | |
| 936 | kal_uint8 dest; /* Destination Code*/ |
| 937 | kal_uint8 startup_seq_num; |
| 938 | kal_uint8 mti; /* Message Type Identifier*/ |
| 939 | kal_uint8 status; |
| 940 | kal_uint8 storage_type; |
| 941 | kal_uint8 scts[7]; |
| 942 | kal_uint8 padding; |
| 943 | kal_uint16 index; |
| 944 | kal_uint16 message_len; /* Length of Message*/ |
| 945 | kal_uint16 dest_port; |
| 946 | kal_uint16 src_port; |
| 947 | smsal_concat_struct concat_info; /* Concat. Info*/ |
| 948 | smsal_header_info_union msg_header; |
| 949 | } l4csmsal_startup_read_msg_ind_struct; |
| 950 | |
| 951 | typedef struct |
| 952 | { |
| 953 | LOCAL_PARA_HDR |
| 954 | |
| 955 | kal_uint8 access_id; |
| 956 | l4_addr_bcd_struct sc_addr; |
| 957 | l4_addr_bcd_struct da; |
| 958 | } l4csmsal_fdn_check_ind_struct; |
| 959 | |
| 960 | typedef struct |
| 961 | { |
| 962 | LOCAL_PARA_HDR |
| 963 | |
| 964 | kal_uint8 result; //true: in FDN list(send), false: not in FDN list |
| 965 | kal_uint16 cause; //PHB_L4C_ERROR |
| 966 | } l4csmsal_fdn_check_rsp_struct; |
| 967 | |
| 968 | typedef struct |
| 969 | { |
| 970 | LOCAL_PARA_HDR |
| 971 | |
| 972 | kal_uint8 action; |
| 973 | kal_uint8 dst_storage; |
| 974 | kal_uint16 src_index; |
| 975 | kal_uint8 src_id; |
| 976 | }l4csmsal_copy_msg_req_struct; |
| 977 | |
| 978 | /* __UNIFIED_MESSAGE_BACKGROUND_SEND_SUPPORT__ */ |
| 979 | typedef struct |
| 980 | { |
| 981 | LOCAL_PARA_HDR |
| 982 | |
| 983 | kal_uint8 new_status; /* smsal_status_enum */ |
| 984 | kal_uint16 index; |
| 985 | kal_uint8 src_id; |
| 986 | }l4csmsal_set_status_req_struct; |
| 987 | |
| 988 | typedef struct |
| 989 | { |
| 990 | LOCAL_PARA_HDR |
| 991 | |
| 992 | kal_uint8 result; /* Result Code*/ |
| 993 | kal_uint16 error_cause; /* Error Cause*/ |
| 994 | kal_uint8 action; |
| 995 | kal_uint8 dst_storage; |
| 996 | kal_uint16 src_index; |
| 997 | kal_uint16 dst_index; |
| 998 | kal_uint8 src_id; |
| 999 | }l4csmsal_copy_msg_cnf_struct; |
| 1000 | |
| 1001 | /* __UNIFIED_MESSAGE_BACKGROUND_SEND_SUPPORT__ */ |
| 1002 | typedef struct |
| 1003 | { |
| 1004 | LOCAL_PARA_HDR |
| 1005 | |
| 1006 | kal_uint16 index; |
| 1007 | kal_uint8 result; /* Result Code*/ |
| 1008 | kal_uint16 error_cause; /* Error Cause*/ |
| 1009 | kal_uint8 src_id; |
| 1010 | }l4csmsal_set_status_cnf_struct; |
| 1011 | |
| 1012 | typedef struct |
| 1013 | { |
| 1014 | LOCAL_PARA_HDR |
| 1015 | |
| 1016 | kal_uint8 action; |
| 1017 | }l4csmsal_hz_cb_act_req_struct; |
| 1018 | |
| 1019 | |
| 1020 | typedef struct { |
| 1021 | LOCAL_PARA_HDR |
| 1022 | |
| 1023 | kal_uint8 dest; /* not used */ |
| 1024 | kal_uint16 sn; |
| 1025 | kal_uint16 mi; |
| 1026 | kal_uint8 dcs; |
| 1027 | kal_uint8 page; |
| 1028 | kal_uint8 pages; |
| 1029 | kal_uint8 rmi_use_hex; /* not used */ |
| 1030 | kal_uint16 msg_length; |
| 1031 | kal_uint8 msg_data[1]; |
| 1032 | } l4csmsal_hz_cb_msg_ind_struct; |
| 1033 | |
| 1034 | |
| 1035 | typedef struct |
| 1036 | { |
| 1037 | LOCAL_PARA_HDR |
| 1038 | kal_uint8 src_id; |
| 1039 | }l4csmsal_get_mailbox_num_req_struct; |
| 1040 | |
| 1041 | |
| 1042 | typedef struct |
| 1043 | { |
| 1044 | LOCAL_PARA_HDR |
| 1045 | |
| 1046 | kal_uint8 result; /* Result Code*/ |
| 1047 | kal_uint16 error_cause; /* Error Cause*/ |
| 1048 | kal_uint8 src_id; |
| 1049 | }l4csmsal_get_mailbox_num_cnf_struct; |
| 1050 | |
| 1051 | typedef struct { |
| 1052 | LOCAL_PARA_HDR |
| 1053 | kal_uint8 src_id; |
| 1054 | kal_uint16 index; // Message Index |
| 1055 | } l4csmsal_read_raw_data_req_struct; |
| 1056 | |
| 1057 | typedef struct { |
| 1058 | LOCAL_PARA_HDR |
| 1059 | kal_uint8 src_id; |
| 1060 | kal_uint8 result; // Result Code |
| 1061 | kal_uint16 error_cause; // Error Cause |
| 1062 | kal_uint16 index; // Message Index |
| 1063 | kal_uint8 status; // Status of msg |
| 1064 | kal_uint8 storage_type; // SMSAL_SM or SMSAL_ME |
| 1065 | kal_uint16 data_len; // Message length |
| 1066 | } l4csmsal_read_raw_data_cnf_struct; |
| 1067 | |
| 1068 | typedef struct { |
| 1069 | LOCAL_PARA_HDR |
| 1070 | kal_uint8 src_id; |
| 1071 | kal_uint8 storage_type; // SMSAL_SM or SMSAL_ME |
| 1072 | } l4csmsal_write_raw_data_req_struct; |
| 1073 | |
| 1074 | typedef struct { |
| 1075 | LOCAL_PARA_HDR |
| 1076 | kal_uint8 src_id; |
| 1077 | kal_uint8 result; // Result Code |
| 1078 | kal_uint16 error_cause; // Error Cause |
| 1079 | kal_uint16 index; // Message Index |
| 1080 | kal_uint8 status; // Status of msg |
| 1081 | kal_uint8 storage_type; // SMSAL_SM or SMSAL_ME |
| 1082 | } l4csmsal_write_raw_data_cnf_struct; |
| 1083 | |
| 1084 | typedef struct |
| 1085 | { |
| 1086 | LOCAL_PARA_HDR |
| 1087 | kal_uint8 src_id; |
| 1088 | kal_uint8 result; |
| 1089 | kal_uint32 error_cause; |
| 1090 | kal_uint8 uid; |
| 1091 | }l4csmsal_send_deliver_report_req_struct; |
| 1092 | |
| 1093 | typedef struct |
| 1094 | { |
| 1095 | LOCAL_PARA_HDR |
| 1096 | kal_uint8 src_id; |
| 1097 | kal_uint8 result; |
| 1098 | kal_uint32 error_cause; |
| 1099 | kal_uint8 uid; |
| 1100 | }l4csmsal_send_deliver_report_cnf_struct; |
| 1101 | |
| 1102 | typedef struct |
| 1103 | { |
| 1104 | LOCAL_PARA_HDR |
| 1105 | kal_uint8 src_id; |
| 1106 | kal_uint32 sm_max_num; |
| 1107 | kal_uint32 sm_current_num; |
| 1108 | kal_uint32 me_max_num; |
| 1109 | kal_uint32 me_current_num; |
| 1110 | kal_uint32 sr_max_num; |
| 1111 | kal_uint32 sr_current_num; |
| 1112 | }l4csmsal_sync_msg_storage_req_struct; |
| 1113 | |
| 1114 | typedef struct |
| 1115 | { |
| 1116 | LOCAL_PARA_HDR |
| 1117 | kal_uint8 result; |
| 1118 | kal_uint32 cause; |
| 1119 | }l4csmsal_mt_sms_final_ack_ind_struct; |
| 1120 | |
| 1121 | // typedef smsal_evmi_struct l4csmsal_enhanced_voice_mail_ind_struct; |
| 1122 | // l4csmsal_enhanced_voice_mail_ind_struct should be the same as smsal_evmi_struct |
| 1123 | typedef struct |
| 1124 | { |
| 1125 | kal_uint8 evm_pdu_type; |
| 1126 | kal_uint8 multi_sub_profile; |
| 1127 | kal_uint8 is_store; |
| 1128 | kal_uint8 vm_almost_full; |
| 1129 | kal_uint8 vm_full; |
| 1130 | kal_uint8 vm_status_ext_flg; |
| 1131 | |
| 1132 | l4_addr_bcd_struct vm_access_addr; |
| 1133 | kal_uint8 number_of_vm_unread; // should be stored in (U)SIM |
| 1134 | kal_uint8 number_of_vm_notify; // max 15 |
| 1135 | kal_uint8 number_of_vm_delete; // max 31 |
| 1136 | |
| 1137 | kal_uint8 l4_status; // 0:init, 1: sent to MMI, 2:free |
| 1138 | |
| 1139 | kal_uint8 vm_status_ext_len; |
| 1140 | kal_uint8 *vm_status_ext_data; |
| 1141 | |
| 1142 | smsal_evmi_msg_struct *vm_msg[32]; |
| 1143 | |
| 1144 | }l4csmsal_enhanced_voice_mail_ind_struct; |
| 1145 | |
| 1146 | typedef struct |
| 1147 | { |
| 1148 | LOCAL_PARA_HDR |
| 1149 | irat_type_enum irat_type; |
| 1150 | rat_type_enum source_rat; |
| 1151 | rat_type_enum target_rat; |
| 1152 | } l4csmsal_rat_change_start_req_struct; |
| 1153 | |
| 1154 | typedef struct |
| 1155 | { |
| 1156 | LOCAL_PARA_HDR |
| 1157 | irat_type_enum irat_type; |
| 1158 | rat_type_enum source_rat; |
| 1159 | rat_type_enum target_rat; |
| 1160 | irat_result_enum irat_result; |
| 1161 | } l4csmsal_rat_change_finish_req_struct; |
| 1162 | |
| 1163 | typedef struct { |
| 1164 | LOCAL_PARA_HDR |
| 1165 | |
| 1166 | kal_uint8 src_id; |
| 1167 | kal_uint8 result; /* Result Code*/ |
| 1168 | kal_uint16 error_cause; /* Error Cause*/ |
| 1169 | kal_uint8 mr; /* Message reference*/ |
| 1170 | l4_addr_bcd_struct sc_addr; |
| 1171 | smsal_domain_enum domain; |
| 1172 | |
| 1173 | } l4csmsal_ims_send_from_storage_cnf_struct; |
| 1174 | |
| 1175 | typedef struct { |
| 1176 | LOCAL_PARA_HDR |
| 1177 | |
| 1178 | kal_uint8 src_id; |
| 1179 | kal_uint8 result; /* Result Code*/ |
| 1180 | kal_uint8 mr; /* Message reference*/ |
| 1181 | } l4csmsal_ims_update_msgbox_req_struct; |
| 1182 | |
| 1183 | typedef struct { |
| 1184 | LOCAL_PARA_HDR |
| 1185 | |
| 1186 | kal_uint8 src_id; |
| 1187 | kal_uint8 result; /* Result Code*/ |
| 1188 | } l4csmsal_ims_update_msgbox_cnf_struct; |
| 1189 | |
| 1190 | typedef struct |
| 1191 | { |
| 1192 | LOCAL_PARA_HDR |
| 1193 | kal_bool enable; |
| 1194 | } l4csmsal_update_sms_over_sgs_cfg_req_struct; |
| 1195 | |
| 1196 | |
| 1197 | typedef struct |
| 1198 | { |
| 1199 | LOCAL_PARA_HDR |
| 1200 | kal_bool is_full_changed; |
| 1201 | } l4csmsal_sync_msg_ind_struct; |
| 1202 | |
| 1203 | |
| 1204 | typedef struct |
| 1205 | { |
| 1206 | /* smsal_mb_entry_state_enum */ |
| 1207 | kal_uint8 state; |
| 1208 | /* state of the entry */ |
| 1209 | |
| 1210 | /* smsal_storage_enum */ |
| 1211 | kal_uint8 storage_type; |
| 1212 | /* storage type of the entry */ |
| 1213 | |
| 1214 | /* smsal_mti_enum */ |
| 1215 | kal_uint8 mti; |
| 1216 | /* message type identifier */ |
| 1217 | |
| 1218 | kal_uint8 status; |
| 1219 | /* status of the message */ |
| 1220 | |
| 1221 | kal_uint16 record_no; |
| 1222 | /* indicate record number in storage */ |
| 1223 | |
| 1224 | kal_uint16 mb_type_ind; |
| 1225 | /* bitmap for specific type SM, ie. PID with replace type, */ |
| 1226 | /* FO with reply path. */ |
| 1227 | |
| 1228 | } smsal_mb_entry_struct; |
| 1229 | |
| 1230 | |
| 1231 | typedef struct |
| 1232 | { |
| 1233 | LOCAL_PARA_HDR |
| 1234 | kal_uint8 src_id; |
| 1235 | kal_uint8 domain; |
| 1236 | kal_uint8 direction; |
| 1237 | } l4csmsal_sms_end_ind_struct; |
| 1238 | |
| 1239 | |
| 1240 | #endif |
| 1241 | |
| 1242 | |