📄 l4c2csm_cc_struct.h
字号:
/*****************************************************************************
* 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).
*
*****************************************************************************/
/*****************************************************************************
*
* Filename:
* ---------
* l4c2csm_cc_struct.h
*
* Project:
* --------
* MAUI
*
* Description:
* ------------
*
* Author:
* -------
* -------
*
*============================================================================
* HISTORY
* Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*------------------------------------------------------------------------------
* removed!
*
* removed!
* removed!
* removed!
*
*------------------------------------------------------------------------------
* Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*============================================================================
****************************************************************************/
/********************************************************************************
* Copyright Statement:
* --------------------
*
* This product has been developed using a protocol stack
* developed by Sasken Communication Technologies Limited.
*
********************************************************************************/
/*******************************************************************************
* 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) 2002
*
*******************************************************************************
* FILENAME : l4c2csm_cc_struct.h
* SYNOPSIS : Functions for encoding/decoding.
*
* R E V I S I O N H I S T O R Y
*
*/
#ifndef _L4C2CSM_CC_STRUCT_H
#define _L4C2CSM_CC_STRUCT_H
#include "l4c_common_enum.h"
#include "csmcc_enums.h" /*mtk00924 add 041208 for +ECPI*/
#include "csmcc_common_enums.h" /*mtk00924 add 041208 for +ECPI*/
typedef enum
{
RDN_ALLOWED,
RDN_RESTRICTED,
RDN_UNAVAILABLE,
RDN_RESTRICTEDADDR
} l4ccsm_cc_rdn_enum;
typedef enum
{
CNAP_ALLOWED,
CNAP_RESTRICTED,
CNAP_UNAVAILABLE,
CNAP_RESTRICTEDNAME
} l4ccsm_cc_cnap_enum;
typedef enum
{
BSC_BS,
BSC_TS
} l4ccsm_cc_bsc_enum;
typedef enum
{
CALL_RETRIEVED,
CALL_ONHOLD
} l4ccsm_cc_hold_ind_enum;
typedef enum
{
ECT_ALERTING,
ECT_ACTIVE
} l4ccsm_cc_ect_state_enum;
typedef enum
{
GEN_UNRECOGNIZED_COMP,
GEN_MISTYPED_COMP,
GEN_BAD_STRUCT_COMP
} l4ccsm_cc_ss_gen_prob_enum;
typedef enum
{
INV_DUP_INV_ID,
INV_UNRECOGNIZED_OP,
INV_MISTYPED_PARA,
INV_RESOURCE_LIMIT,
INV_INIT_RELEASE,
INV_UNRECOGNIZED_LINK_ID,
INV_LINK_ID_RSP_UNEXPECTED,
INV_UNEXPECTED_LINK_OP
} l4ccsm_cc_ss_inv_prob_enum;
typedef enum
{
RR_UNRECOGNIZED_INV_ID,
RR_UNEXPECTED,
RR_MISTYPED_PARA
} l4ccsm_cc_ss_rr_prob_enum;
typedef enum
{
RE_UNRECOGNIZED_INV_ID,
RE_UNEXPECTED,
RE_UNRECOGNIZED_ERROR,
RE_UNEXPECTED_ERROR,
RE_MISTYPED_PARA
} l4ccsm_cc_ss_re_prob_enum;
typedef enum
{
L4C_MODIFY_CMD_NONE,
L4C_MODIFY_ATA,
L4C_MODIFY_ATD
} l4ccsm_cc_modify_cmd_enum;
typedef struct {
kal_uint8 addr_ind_present;
kal_uint8 addr_ind;
l4_addr_bcd_struct addr;
} l4ccsm_cc_peer_addr_struct;
typedef struct {
kal_uint8 sub_addr_len;
kal_uint8 sub_addr[21];
} l4ccsm_cc_sub_addr_struct;
typedef struct {
l4_addr_bcd_struct partyNumber;
kal_uint8 partyNumberSubaddress_present;
l4ccsm_cc_sub_addr_struct partyNumberSubaddress;
} l4ccsm_cc_rdn_addr_struct;
typedef struct {
kal_uint8 ect_rdn_present;
#if defined(__MCD__)
l4ccsm_cc_rdn_enum rdn_choice_tag;
#else
RDNChoiceId rdn_choice_tag;
#endif
union {
l4ccsm_cc_rdn_addr_struct presentationAllowedAddress;
kal_uint8 presentationRestricted;
kal_uint8 numberNotAvailableDueToInterworking;
l4ccsm_cc_rdn_addr_struct presentationRestrictedAddress;
} rdn_choice_value;
} l4ccsm_cc_ect_rdn_struct;
typedef struct {
kal_uint8 callingName_present;
#if defined(__MCD__)
l4ccsm_cc_cnap_enum callingName_choice_tag;
#else
NameChoiceId callingName_choice_tag;
#endif
union {
l4_name_struct namePresentationAllowed;
kal_uint8 presentationRestricted;
kal_uint8 nameUnavailable;
l4_name_struct namePresentationRestricted;
} callingName_choice_value;
} l4ccsm_cc_name_ind_struct;
typedef struct {
kal_uint8 ccbs_index_present;
kal_uint8 ccbs_index;
kal_uint8 b_subscriberNumber_present;
l4_addr_bcd_struct b_subscriberNumber;
kal_uint8 b_subscriberSubaddress_present;
l4ccsm_cc_sub_addr_struct b_subscriberSubaddress;
kal_uint8 bs_code_present;
kal_uint8 bs_code;
} l4ccsm_cc_ccbs_feature_struct;
typedef struct {
kal_uint8 ccbs_feature_present;
l4ccsm_cc_ccbs_feature_struct ccbs_feature;
kal_uint8 alertingPattern_present;
kal_uint8 altertingPattern;
} l4ccsm_cc_ccbs_ind_struct;
typedef struct {
kal_uint8 type;
kal_uint16 cug_index;
l4ccsm_cc_ect_rdn_struct ect_rdn;
l4ccsm_cc_name_ind_struct name_ind;
l4ccsm_cc_ccbs_ind_struct ccbs_ind;
} l4ccsm_cc_notify_ss_arg_struct;
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
} l4ccsm_cc_dummy_local_para_struct;
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 src_id;
} l4ccsm_cc_startup_req_struct;
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 src_id;
kal_uint8 response;
kal_uint16 cause;
} l4ccsm_cc_startup_cnf_struct;
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 channel_mode;
} l4ccsm_cc_attach_ind_struct;
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
} l4ccsm_cc_detach_ind_struct;
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 src_id;
} l4ccsm_cc_acm_reset_req_struct;
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 src_id;
kal_uint8 response;
kal_uint16 cause;
} l4ccsm_cc_acm_reset_cnf_struct;
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 src_id;
kal_uint32 acmmax;
} l4ccsm_cc_acmmax_set_req_struct;
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 src_id;
kal_uint8 response;
kal_uint16 cause;
} l4ccsm_cc_acmmax_set_cnf_struct;
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 src_id;
kal_uint8 call_id;
kal_uint8 digit_count;
kal_uint8 dtmf_digit[MAX_CC_ADDR_BCD_LEN];
} l4ccsm_cc_auto_dtmf_start_ind_struct;
/* no_dtmf shold be less than MAX_CC_ADDR_BCD_LEN.
The extra last one entry is for null terminal. */
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 src_id;
kal_uint8 call_id;
} l4ccsm_cc_auto_dtmf_complete_ind_struct;
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 src_id;
kal_uint8 call_id;
l4_addr_bcd_struct redirect_num;
kal_uint8 redirect_sub_addr_present;
l4ccsm_cc_sub_addr_struct redirect_sub_addr;
} l4ccsm_cc_call_deflection_req_struct;
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 src_id;
kal_uint8 call_id;
kal_uint8 response;
kal_uint8 cause_present;
kal_uint16 cause;
} l4ccsm_cc_call_deflection_cnf_struct;
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 src_id;
kal_uint8 call_id_present;
kal_uint8 call_id;
kal_uint8 crss_req;
} l4ccsm_cc_crss_req_struct;
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 src_id;
kal_uint8 call_id_present;
kal_uint8 call_id;
kal_uint8 response;
kal_uint8 cause_present;
kal_uint16 cause;
} l4ccsm_cc_crss_cnf_struct;
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 src_id;
kal_uint8 call_id;
kal_uint32 ccm;
kal_uint32 acm;
kal_uint8 ccwv;
} l4ccsm_cc_ccm_ind_struct;
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 src_id;
kal_uint8 call_id;
kal_uint8 connected_sub_addr_present;
l4ccsm_cc_sub_addr_struct connected_sub_addr;
} l4ccsm_cc_call_accept_req_struct;
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 src_id;
kal_uint8 call_id;
kal_uint8 response;
kal_uint8 cause_present;
kal_uint16 cause;
} l4ccsm_cc_call_accept_cnf_struct;
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
kal_uint8 src_id;
kal_uint8 call_id;
kal_uint8 alert;
} l4ccsm_cc_call_alert_ind_struct;
typedef struct {
kal_uint8 ref_count;
kal_uint16 msg_len;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -