| /***************************************************************************** |
| * Copyright Statement: |
| * -------------------- |
| * This software is protected by Copyright and the information contained |
| * herein is confidential. The software may not be copied and the information |
| * contained herein may not be used or disclosed except with the written |
| * permission of MediaTek Inc. (C) 2005 |
| * |
| * BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES |
| * THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE") |
| * RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON |
| * AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES, |
| * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF |
| * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. |
| * NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE |
| * SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR |
| * SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH |
| * THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO |
| * NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S |
| * SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM. |
| * |
| * BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE |
| * LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE, |
| * AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE, |
| * OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO |
| * MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. |
| * |
| * THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE |
| * WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF |
| * LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND |
| * RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER |
| * THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC). |
| * |
| *****************************************************************************/ |
| |
| /******************************************************************************* |
| *============================================================================== |
| * HISTORY |
| * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| *------------------------------------------------------------------------------ |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| *------------------------------------------------------------------------------ |
| * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| *============================================================================== |
| *******************************************************************************/ |
| #ifndef _IMS_INTERFACE_MD_H |
| #define _IMS_INTERFACE_MD_H |
| |
| //#include "imc_general_sap.h" |
| //#include "imcf_general.h" |
| #include "module_msg_range.h" |
| #include "imc_msgid.h" |
| #include "ims_common_def.h" |
| |
| /* Change Log - |
| * 1E - (+) CMCC advanced conference call |
| * 1F - (+) MT conference participant interface |
| * 20 - (+) CMCC auto test tool - EBI filter/IPSec |
| * 21 - (+) dynamic SBP id setting from MNC/MCC |
| * 22 - (+) TMOUS MOS patch back |
| * 23 - (+) Align with WWOP sbp_id |
| * 24 - (-) SIM refresh |
| * 25 - ( ) video capability URC |
| * 26 - (-) ims_vops to UA interface(ATT) |
| * 27 - (-) early media direction interface (ATT) |
| * 28 - (+) WFC |
| * 29 - (+) RJIL dynamic sbp id |
| * 30 - (+) DCM feature - retry after |
| * 31 - (+) ipv6 address format |
| * 32 - (+) TWN, CHT, FET operator id |
| * 33 - (+) new call stop cause |
| * 34 - (+) new reg fail cause for VDF PDN reject cause #26 and #27 handling |
| * 35 - (+) EIMSCMODE extend |
| * 36 - (+) default bearer id to ltecsr |
| * 37 - (+) ViLTE feature |
| * 38 - (+) bCSFB feature |
| * 39 - (+) v1.2 IMS interface re-organization |
| * 3A - (+) RTCP CNAME |
| * 3B - (+) Add operator_code for Telstra/Sprint/Softbank/SFR/Telcel/Beeline/KT/SKT/UPLUS |
| * 3C - (+) Extend +EIMSCMODE, ims call audio codec information |
| * 3D - (+) 91 TMOUS ViLTE (phase3) |
| * 3E - (+) Add operator_code for Smartfren/YTL |
| * 3F - (+) USSI Feature |
| * 40 - (+) WFC Location Info support |
| * 41 - (+) 90 DoCoMo VoLTE feature patch back |
| * 42 - (+) 90 VzW VoLTE feature patch back |
| * 43 - (+) Orange early media change |
| * 44 - (+) Non-UE detectable emergency call R12 feature |
| * 45 - (+) Align WWOP_ID for Natcom/119 and Claro/120 |
| * 46 - (+) 91 AT&T feature patch back |
| * 47 - (+) IMS UX Enhancement(AT+EIMSVOLTE, AT+EIMSVOICE, AT+EIMSSMS)/ IMS configurations re-origanization |
| * 48 - (+) VzW eHRPD feature patch back |
| * 49 - (+) IMS Debug/EM Framework |
| * 4A - (+) VZW eHRPD C2K reg cause |
| (+) IMCB/IMC verno sync |
| (+) TLV general setting |
| (+) CISRVCC |
| (+) EVS |
| (+) WWOP operator code |
| (+) CC Cause extend |
| (+) dereg cause |
| * 4B - (+) align WWOP_ID for DTAC/Avea/Megafone |
| (+) RTCP-XR |
| (+) EVS |
| * 4C - (+) bSRVCC |
| (+) WWOP operator code:KDDI |
| (+) Version Number Check Enhancment |
| * 4D - (+) align WWOP_ID for TIM/TrueMove |
| * 4E - (+) enhance for race condition MT call answer and SRVCC |
| * 4F - (+) IMS variable length align |
| (+) ISIM READ segmenation |
| (+) pcscf address in media_new / handover_begin and handover_end to LTECSR |
| (+) add remote hold/unhold and MT call forwarding indication |
| (+) Align WWOP_ID for NOKIA/1002 and MTK_HQLAB_ERICSSON/1003 |
| * 50 - (+) Align WWOP_ID for Movistar/132 |
| (+) update imsa_imcb read_isim entries from 5 to 20 |
| * 51 - (+) TTY interface |
| (+) Multiple IMS interface |
| (+) Align WWOP_ID for DU/133 |
| (+) IMS reg service interface |
| * 52 - (-) Corrected internal message |
| * 53 - (+) KDDI requirement/IOT patch back |
| (+) RTP/RTCP timeout implement |
| (+) IMC trigger pdn release |
| (+) deactivate emergency PDN directly |
| * 54 - (+) ECT Interface |
| (+) Align WWOP_ID for Elisa/134, MTS/135 and Tele2/137 |
| (+) New reg cause RETRY_BY_RFC5626 |
| * 55 - (+) Q.850 cause from Reason: header |
| (+) Aling WWOP_ID for Huawei IMS/1004 |
| * 56 - (+) Confrence call participant URI length changed to 512 |
| (+) Add CLIR to vdm_imc_ims_cc_mo_call_req_struct |
| (+) 93 RAT notification for 23G |
| (+) GTT/TTY missing interface |
| (+) VzW hVoLTE/E911/Call Pull |
| * 57 - (+) AP side change for conference URI |
| * 58 - (+) Add PLMN Type in VOLTE_MO_CALL_REQ |
| (+) Add TLV direction (to IMC) |
| * 59 - (+) Add MO_Call_Domain_Conflict message and structure |
| * 5A - (+) Gen93 M2 patch back |
| * 5B - (+) RTT interface |
| (+) 6293 interface refine |
| (+) VzW CDMA-less |
| (+) R13 ALTC |
| * 5C - (+) Add recv_codec_list to media config and media update structure for asymmetric RTP payload type |
| * 5D - (+) Modify conference srvcc number len |
| * 5E - (+) VzW CDMA-less interface refine |
| * 5F - (+) Improve Q850 result delivery |
| * 60 - (+) TMOUS Digit: new +ATDF and extend +EAIC |
| * 61 - (+) Fix Q850 imc-vdm interface |
| * 62 - (+) Fix imc-imcsms interface |
| * 63 - (+) TMOUS Digit: extend AT+ECT |
| * 64 - (+) TMOUS RTT operation |
| * 65 - (+) Add ECC category traffic for CMCC |
| * 66 - (+) TMOUS RTT EMC redial to normal EMC by ECPI 133 |
| * 67 - (+) MIMS SRU request / VT_CAP with operator_id / PS Data on-off / E-PDN HO |
| * 68 - (+) Add country-specific urn support to mo call cnf |
| * 69 - (+) ANBR Feature |
| * 6A - (+) MBR/GBR to LTECSR |
| * 6B - (+) ADD release emergency IMS PDN cause/TTA emergency catogry |
| * 6C - (+) ADD ECC category UNRECOGNIZED |
| * 6D - (+) Add Cause for MO Call disconnect (AT+ECHLD handling) |
| * 6E - (+) Add CS availability query for SMS and Call UA. Add EFfrompreferred support. |
| */ |
| //#define IMCB_IMC_HEADER_FILE_VERNO 0x0000006E |
| |
| /* Change Log - |
| * 01 - CMCC auto test tool |
| */ |
| //#define IMCB_IMC_MSGID_VERNO 0x00000001 |
| |
| |
| /*****imc_general_sap.h START*****/ |
| /*****imc_general_sap.h END*****/ |
| |
| /*****ims_common_def.h START*****/ |
| |
| /*****ims_common_def.h END*****/ |
| |
| /*****atp_imc_struct.h START*****/ |
| /*****atp_imc_struct.h END*****/ |
| |
| /*****imcsms_imc_struct.h START*****/ |
| /*****imcsms_imc_struct.h END*****/ |
| |
| /*****vdm_imc_struct.h START*****/ |
| |
| /*****vdm_imc_struct.h END*****/ |
| |
| /*****ltecsr_struct.h START*****/ |
| /*****ltecsr_struct.h END*****/ |
| |
| /*START:from SSDS to IMC*/ |
| typedef enum |
| { |
| SSDS_IMC_SS_INVALID_TYPE, |
| SSDS_IMC_SS_OPEATION_TYPE, |
| SSDS_IMC_USSD_TYPE, |
| SSDS_IMC_USSD_ENABLE_TYPE, |
| }ssds_imc_cmd_class_enum; |
| |
| typedef enum |
| { |
| SSDS_IMC_INVALID_TYPE, |
| SSDS_IMC_EXCUTE_USSD_TYPE, /*when < class >=1, dufault value of < class > should be 1*/ |
| SSDS_IMC_CANCEL_USSD_TYPE, /*only support when < class >=2*/ |
| SSDS_IMC_DISABLE_REEULT_TYPE, /*disable the result code presentation to the TE*/ |
| SSDS_IMC_ENABLE_REEULT_TYPE, /*enable the result code presentation to the TE*/ |
| }ssds_imc_operation_enum; |
| |
| typedef enum |
| { |
| SSDS_IMC_USSD_INVALID_TYPE, |
| SSDS_IMC_USSD_REQUEST_TYPE, |
| SSDS_IMC_USSD_RESPONSE_TYPE, |
| }ssds_imc_action_enum; |
| |
| typedef enum |
| { |
| SSDS_IMC_USSD_RES_OK, |
| SSDS_IMC_USSD_RES_ERROR, |
| }ssds_imc_response_enum; |
| |
| |
| typedef enum |
| { |
| SSDS_IMC_INVALID_URC, |
| SSDS_IMC_USSD_NOTIFY_URC, /*1 USSD notify*/ |
| SSDS_IMC_SS_NOTIFY_URC, /*2 SS notify*/ |
| SSDS_IMC_EXECUTE_RESULT_URC, /*3 MD execute result*/ |
| |
| }ssds_imc_urc_class_enum; |
| |
| |
| typedef enum |
| { |
| SSDS_IMC_NO_FURTHER_USER_ACTION_REQUIRED, /* 0 : no further user action required */ |
| SSDS_IMC_FURTHER_USER_ACTION_REQUIRED, /* 1 :further user action required*/ |
| SSDS_IMC_NW_TERMINATE_USSD, /* 2 :USSD terminated by network*/ |
| SSDS_IMC_OTHER_LOCAL_CLIENT_RESPOND, /* 3 :other local client has responded X*/ |
| SSDS_IMC_NW_NOT_SUPPORT, /* 4 :operation not supported*/ |
| SSDS_IMC_NW_TIMER_OUT, /* 5 :network time out X*/ |
| SSDS_IMC_NW_ERROR_SESSION_STILL_EXISTS = 10, |
| }ssds_ussd_status_enum; |
| |
| |
| typedef struct |
| { |
| LOCAL_PARA_HDR |
| ssds_imc_cmd_class_enum cmd_class; |
| ssds_imc_operation_enum operation; |
| ssds_imc_action_enum action; |
| kal_uint32 error_code; |
| kal_uint8 language[IMC_MAX_URI_LENGTH]; |
| kal_uint8 digit_from_line_number[IMC_MAX_URI_LENGTH]; |
| }ssds_imc_ussd_atcmd_req_struct; |
| |
| typedef struct |
| { |
| LOCAL_PARA_HDR |
| ssds_imc_response_enum response; /*< OK or ERROR, may be extended to CME ERROR later on*/ |
| } ssds_imc_ussd_atcmd_cnf_struct; |
| |
| typedef struct |
| { |
| LOCAL_PARA_HDR |
| ssds_imc_urc_class_enum urc_class; /*< class */ |
| kal_uint16 status; /*< status> */ |
| kal_uint8 alert_pattern; /*< Alertin Pattern for AP */ |
| kal_uint16 sip_cause; /*< status */ |
| kal_uint8 language[IMS_USSD_LANGUANGE_LEN]; /*< language */ |
| kal_uint16 error_code; /*< error_code */ |
| kal_uint8 digit_from_line_number[IMC_MAX_URI_LENGTH]; |
| |
| } ssds_imc_ussd_atcmd_ind_struct; |
| /*END:from SSDS to IMC*/ |
| |
| #endif /* _IMS_INTERFACE_MD_H */ |