view cdg211/cdginc/m_cc.val @ 361:9e0608dc9170

l1_cust.c: madc_vbat_inverse() function added for the new FCHG
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 29 Dec 2017 05:51:08 +0000
parents 56abf6cf8a0b
children
line wrap: on
line source

/*
+--------------------------------------------------------------------------+
| PROJECT : PROTOCOL STACK                                                 |
| FILE    : m_cc.val                                                       |
| SOURCE  : "__out__\g23m_dfile\msg\cc.mdf"                                |
| LastModified : "2003-02-04"                                              |
| IdAndVersion : "6147.600.97.108"                                         |
| SrcFileTime  : "Mon Nov 24 15:50:36 2003"                                |
| Generated by CCDGEN_2.5.5 on Fri Jun 08 13:59:14 2007                    |
|           !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!!                |
+--------------------------------------------------------------------------+
*/

/* PRAGMAS
 * PREFIX                 : NONE
 * COMPATIBILITY_DEFINES  : NO (require PREFIX)
 * ALWAYS_ENUM_IN_VAL_FILE: NO
 * ENABLE_GROUP: NO
 * CAPITALIZE_TYPENAME: NO
 */


#ifndef M_CC_VAL
#define M_CC_VAL


#define CDG_ENTER__M_CC_VAL

#define CDG_ENTER__FILENAME _M_CC_VAL
#define CDG_ENTER__M_CC_VAL__FILE_TYPE CDGINC
#define CDG_ENTER__M_CC_VAL__LAST_MODIFIED _2003_02_04
#define CDG_ENTER__M_CC_VAL__ID_AND_VERSION _6147_600_97_108

#define CDG_ENTER__M_CC_VAL__SRC_FILE_TIME _Mon_Nov_24_15_50_36_2003

#include "CDG_ENTER.h"

#undef CDG_ENTER__M_CC_VAL

#undef CDG_ENTER__FILENAME


/*
 * Value constants for VAL_access_ident
 */
#define VAL_ACCESS_IDENT___DEF         (0x0)      /* reserved                       */
#define AI_OCT_ID                      (0x0)      /* octet identifier               */

/*
 * Value constants for VAL_state
 */
#define VAL_STATE___DEF                (0x0)      /* reserved                       */
#define CS_0                           (0x0)      /* null                           */
#define CS_01                          (0x2)      /* MM connection pending          */
#define CS_03                          (0x23)     /* Wait for network information   */
#define CS_05                          (0x25)     /* CC-Establishment confirmed     */
#define CS_06                          (0x26)     /* Recall present                 */
#define CS_1                           (0x1)      /* call initiated                 */
#define CS_3                           (0x3)      /* mobile originating call proceeding */
#define CS_4                           (0x4)      /* call delivered                 */
#define CS_6                           (0x6)      /* call present                   */
#define CS_7                           (0x7)      /* call received                  */
#define CS_8                           (0x8)      /* connect request                */
#define CS_9                           (0x9)      /* mobile terminating call confirmed */
#define CS_10                          (0xa)      /* active                         */
#define CS_11                          (0xb)      /* disconnect request             */
#define CS_12                          (0xc)      /* disconnect indication          */
#define CS_19                          (0x13)     /* release request                */
#define CS_26                          (0x1a)     /* mobile originating modify      */
#define CS_27                          (0x1b)     /* mobile terminating modify      */
#define CS_28                          (0x1c)     /* connect indication             */

/*
 * Value constants for VAL_cause
 */
#define CAUSE_UNASSIGN                 (0x1)      /* Unassigned (unallocated) Note 9 number */
#define CAUSE_NO_ROUTE                 (0x3)      /* No route to destination        */
#define CAUSE_CHAN_UNACCEPT            (0x6)      /* Channel unacceptable           */
#define CAUSE_BARRED                   (0x8)      /* Operator determined barring    */
#define CAUSE_CALL_CLEAR               (0x10)     /* Normal call clearing           */
#define CAUSE_USER_BUSY                (0x11)     /* User busy                      */
#define CAUSE_NO_RESPONSE              (0x12)     /* No user responding             */
#define CAUSE_ALERT_NO_ANSWER          (0x13)     /* User alerting, no answer       */
#define CAUSE_CALL_REJECT              (0x15)     /* Call rejected                  */
#define CAUSE_NUM_CHANGED              (0x16)     /* Number changed                 */
#define CAUSE_PREEMPTION               (0x19)     /* Pre-emption                    */
#define CAUSE_USER_CLEAR               (0x1a)     /* Non selected user clearing     */
#define CAUSE_DEST_ORDER               (0x1b)     /* Destination out of order       */
#define CAUSE_NUM_FORMAT               (0x1c)     /* Invalid number format (incomplete number) */
#define CAUSE_FACILITY_REJECT          (0x1d)     /* Facility rejected              */
#define CAUSE_STATUS_ENQUIRY           (0x1e)     /* Response to STATUS ENQUIRY     */
#define CAUSE_UNSPECIFIED              (0x1f)     /* Normal, unspecified            */
#define CAUSE_NO_CHAN_AVAIL            (0x22)     /* No circuit/channel available   */
#define CAUSE_NETWORK_ORDER            (0x26)     /* Network out of order           */
#define CAUSE_TEMP_FAIL                (0x29)     /* Temporary failure              */
#define CAUSE_SWITCH_CONGEST           (0x2a)     /* Switching equipment congestion */
#define CAUSE_INFO_DISCARD             (0x2b)     /* Access information discarded   */
#define CAUSE_REQ_CHAN_UNAVAIL         (0x2c)     /* requested circuit/channel not available */
#define CAUSE_RESOURCE_UNAVAIL         (0x2f)     /* Resources unavailable, unspecified */
#define CAUSE_QOS_UNAVAIL              (0x31)     /* Quality of service unavailable */
#define CAUSE_FACILITY_UNSUBSCRIB      (0x32)     /* Requested facility not subscribed */
#define CAUSE_BARRED_IN_CUG            (0x37)     /* Incoming calls barred within the CUG */
#define CAUSE_BEARER_CAP_AUTHORIZ      (0x39)     /* Bearer capability not authorized */
#define CAUSE_BEARER_CAP_UNAVAIL       (0x3a)     /* Bearer capability not presently available */
#define CAUSE_SERVICE_UNAVAIL          (0x3f)     /* Service or option not available, unspecified */
#define CAUSE_BEARER_NOT_IMPLEM        (0x41)     /* Bearer service not implemented */
#define CAUSE_ACM_MAX                  (0x44)     /* ACM equal to or greater than ACMmax */
#define CAUSE_FACILITY_NOT_IMPLEM      (0x45)     /* Requested facility not implemented */
#define CAUSE_RESTICT_BEARER_CAP       (0x46)     /* Only restricted digital information bearer capability is available */
#define CAUSE_SERVICE_NOT_IMPLEM       (0x4f)     /* Service or option not implemented, unspecified */
#define CAUSE_INVALID_TI               (0x51)     /* Invalid transaction identifier value */
#define CAUSE_USER_NOT_IN_CUG          (0x57)     /* User not member of CUG         */
#define CAUSE_INCOMPAT_DEST            (0x58)     /* Incompatible destination       */
#define CAUSE_INVALID_TRANS_NET        (0x5b)     /* Invalid transit network selection */
#define CAUSE_INCORRECT_MESSAGE        (0x5f)     /* Semantically incorrect message */
#define CAUSE_INVALID_MAND_INFO        (0x60)     /* Invalid mandatory information  */
#define CAUSE_MESSAGE_TYPE_NOT_IMPLEM  (0x61)     /* Message type non-existent or not implemented */
#define CAUSE_MESSAGE_TYPE_INCOMPAT    (0x62)     /* Message type not compatible with protocol state */
#define CAUSE_INFO_ELEM_NOT_IMPLEM     (0x63)     /* Information element nonistent or not implemented */
#define CAUSE_COND_INFO_ELEM           (0x64)     /* Conditional IE error           */
#define CAUSE_MESSAGE_INCOMPAT         (0x65)     /* Message not compatible with protocol state */
#define CAUSE_TIMER                    (0x66)     /* Recovery on timer expiry       */
#define CAUSE_PROTOCOL                 (0x6f)     /* Protocol error, unspecified    */
#define CAUSE_INTERWORKING             (0x7f)     /* Interworking, unspecified      */

/*
 * Value constants for VAL_code
 */
#define VAL_CODE___DEF                 (0x0)      /* reserved                       */
#define CSTD_GSM                       (0x0)      /* GSM standardized coding        */

/*
 * Value constants for VAL_cs
 */
#define CS_Q931                        (0x0)      /* standardized coding as described in CCITT Rec. Q.931 */
#define CS_INTERNATIONAL               (0x1)      /* reserved for other international standards */
#define CS_NATIONAL                    (0x2)      /* national standard              */
#define CS_GSM_PLMN                    (0x3)      /* standard defined for the GSM PLMNS as described in 10.86/GSM 04.08 */

/*
 * Value constants for VAL_compress
 */
#define COMP_NO                        (0x0)      /* data compression not possible  */
#define COMP_YES                       (0x1)      /* data compression possible      */

/*
 * Value constants for VAL_config
 */
#define VAL_CONFIG___DEF               (0x0)      /* reserved                       */
#define CONF_POINT_TO_POINT            (0x0)      /* point-to-point                 */

/*
 * Value constants for VAL_congest_lev
 */
#define VAL_CONGEST_LEV___DEF          (0x0)      /* reserved                       */
#define CL_RECEIVER_READY              (0x0)      /* receiver ready                 */
#define CL_RECEIVER_NOT_READY          (0xf)      /* receiver not ready             */

/*
 * Value constants for VAL_conn_elem
 */
#define CE_TRANSPA                     (0x0)      /* transparent                    */
#define CE_RLP                         (0x1)      /* non transparent (RLP)          */
#define CE_TRANSPA_PREF                (0x2)      /* both, transparent preferred    */
#define CE_RLP_PREF                    (0x3)      /* both, non transparent preferred */

/*
 * Value constants for VAL_dtmf
 */
#define DTMF_EARLY                     (0x0)      /* Reserved for earlier versions of the protocol. */
#define DTMF_CURRENT                   (0x1)      /* The mobile station supports DTMF as specified in section 5.5.7 of GSM 4.08. */

/*
 * Value constants for VAL_duplex
 */
#define DUPLEX_HALF                    (0x0)      /* half duplex                    */
#define DUPLEX_FULL                    (0x1)      /* full duplex                    */

/*
 * Value constants for VAL_establish
 */
#define VAL_ESTABLISH___DEF            (0x0)      /* reserved                       */
#define ESTAB_DEMAND                   (0x0)      /* demand                         */

/*
 * Value constants for VAL_hold
 */
#define HLD_IDLE                       (0x0)      
#define HLD_HOLD_REQ                   (0x1)      
#define HLD_CALL_HELD                  (0x2)      
#define HLD_RETRIEVE_REQ               (0x3)      

/*
 * Value constants for VAL_trans_cap
 */
#define VAL_TRANS_CAP___DEF            (0x0)      /* reserved                       */
#define ITC_SPEECH                     (0x0)      /* speech                         */
#define ITC_DIGITAL_UNRESTRICTED       (0x1)      /* unrestricted digital information */
#define ITC_AUDIO                      (0x2)      /* audio 3.1 kHz, ex PLMN         */
#define ITC_FAX_GROUP_3                (0x3)      /* fascimile group 3              */
#define ITC_AUXILIARY_SPEECH           (0x6)      /* Auxiliary speech               */
#define ITC_NETWORK_RESERVED           (0x7)      /* reserved, to be used in the network. */

/*
 * Value constants for VAL_intermed_rate
 */
#define VAL_INTERMED_RATE___DEF        (0x0)      /* reserved                       */
#define IR_8_KBIT                      (0x2)      /* 8 kbit/s                       */
#define IR_16_KBIT                     (0x3)      /* 16 kbit/s                      */

/*
 * Value constants for VAL_l1_ident
 */
#define VAL_L1_IDENT___DEF             (0x0)      /* reserved                       */
#define L1_OCT_ID                      (0x1)      /* octet identifier               */

/*
 * Value constants for VAL_l2_ident
 */
#define VAL_L2_IDENT___DEF             (0x0)      /* reserved                       */
#define L2_OCT_ID                      (0x2)      /* octet identifier               */

/*
 * Value constants for VAL_loc
 */
#define VAL_LOC___DEF                  (0x0)      /* reserved                       */
#define LOC_USER                       (0x0)      /* user                           */
#define LOC_PRIV_NET_LOCAL_USER        (0x1)      /* private network serving the local user */
#define LOC_PUB_NET_LOCAL_USER         (0x2)      /* public network serving the local user */
#define LOC_TRANSIT_NET                (0x3)      /* transit network                */
#define LOC_PUB_NET_REMOTE_USER        (0x4)      /* public network serving the remote user */
#define LOC_PRIV_NET_REMOTE_USER       (0x5)      /* private network serving the remote user */
#define LOC_INTERNATIONAL_NET          (0x7)      /* international network          */
#define LOC_BEYOND_POINT               (0xa)      /* network beyond interworking point */

/*
 * Value constants for VAL_modem_type
 */
#define VAL_MODEM_TYPE___DEF           (0x0)      /* reserved                       */
#define MT_NONE                        (0x0)      /* none                           */
#define MT_V21                         (0x1)      /* V.21                           */
#define MT_V22                         (0x2)      /* V.22                           */
#define MT_V22BIS                      (0x3)      /* V.22 bis                       */
#define MT_V23                         (0x4)      /* V.23                           */
#define MT_V26TER                      (0x5)      /* V.26 ter                       */
#define MT_V32                         (0x6)      /* V.32                           */
#define MT_UNDEF                       (0x7)      /* modem for undefined interface  */
#define MT_AUTO                        (0x8)      /* autobauding type 1             */

/*
 * Value constants for VAL_mpty
 */
#define MPTY_IDLE                      (0x0)      
#define MPTY_REQ                       (0x1)      
#define MPTY_CALL                      (0x2)      
#define MPTY_SPLIT                     (0x3)      

/*
 * Value constants for VAL_negotiate
 */
#define VAL_NEGOTIATE___DEF            (0x0)      /* reserved                       */
#define NEGOTIATE_NO                   (0x0)      /* in-band negotiation not possible */

/*
 * Value constants for VAL_nirr
 */
#define NIRR_NO_MEANING                (0x0)      /* No meaning is associated with this value. */
#define NIRR_DATA                      (0x1)      /* Data up to and including 4.8 kb/s, full rate, non-transparent, 6 kb/s radio interface rate is requested. */

/*
 * Value constants for VAL_nic_rx
 */
#define NIC_RX_NO                      (0x0)      /* cannot accept data with network independent clock (i.e. sender does not support this optional procedure) */
#define NIC_RX_YES                     (0x1)      /* can accept data with network independent clock (i.e. sender does support this optional procedure) */

/*
 * Value constants for VAL_nic_tx
 */
#define NIC_TX_NO                      (0x0)      /* does not require to send data with network independent clock */
#define NIC_TX_YES                     (0x1)      /* requires to send data with network independent clock */

/*
 * Value constants for VAL_nd
 */
#define VAL_ND___DEF                   (0x0)      /* reserved                       */
#define ND_USER_SUSPEND                (0x0)      
#define ND_USED_RESUME                 (0x1)      
#define ND_BEARER_CHANGE               (0x2)      

/*
 * Value constants for VAL_npi
 */
#define VAL_NPI___DEF                  (0x0)      /* reserved                       */
#define NPI_UNKNOWN                    (0x0)      /* unknown                        */
#define NPI_ISDN                       (0x1)      /* ISDN/telephony numbering plan (Rec. E.164/E.163) */
#define NPI_X121                       (0x3)      /* data numbering plan (Recommendation X.121) */
#define NPI_F69                        (0x4)      /* telex numbering plan (Recommendation F.69) */
#define NPI_NATIONAL                   (0x8)      /* national numbering plan        */
#define NPI_PRIVATE                    (0x9)      /* private numbering plan         */
#define NPI_EXTENSTION                 (0xf)      /* reserved for extension         */

/*
 * Value constants for VAL_num_data
 */
#define NDATA_7                        (0x0)      /* 7 bits                         */
#define NDATA_8                        (0x1)      /* 8 bits (this value is also used in the case of bit oriented protocols) */

/*
 * Value constants for VAL_num_stop
 */
#define NSTOP_1                        (0x0)      /* 1 bit (This value is also used in the case of synchronous mode) */
#define NSTOP_2                        (0x1)      /* 2 bits                         */

/*
 * Value constants for VAL_odd_even
 */
#define OE_EVEN                        (0x0)      /* even number of address signals */
#define OE_ODD                         (0x1)      /* odd number of address signals  */

/*
 * Value constants for VAL_parity
 */
#define VAL_PARITY___DEF               (0x0)      /* reserved                       */
#define PARITY_ODD                     (0x0)      /* odd                            */
#define PARITY_EVEN                    (0x2)      /* even                           */
#define PARITY_NONE                    (0x3)      /* none                           */
#define PARITY_0                       (0x4)      /* forced to 0                    */
#define PARITY_1                       (0x5)      /* forced to 1                    */

/*
 * Value constants for VAL_present
 */
#define VAL_PRESENT___DEF              (0x0)      /* reserved                       */
#define PRES_ALLOWED                   (0x0)      /* Presentation allowed           */
#define PRES_RESTRICTED                (0x1)      /* Presentation restricted        */
#define PRES_NOT_AVAIL                 (0x2)      /* Number not available due to interworking */

/*
 * Value constants for VAL_progress_desc
 */
#define VAL_PROGRESS_DESC___DEF        (0x0)      /* Unspecific                     */
#define PROG_NO_END_TO_END_PLMN        (0x1)      /* Call is not end-to-end PLMN/ISDN, further call progress information may be available in-band */
#define PROG_DEST_NON_PLMN             (0x2)      /* Destination address in non-PLMN/ISDN */
#define PROG_ORIGIN_NON_PLMN           (0x3)      /* Origination address in non-PLMN/ISDN */
#define PROG_RETURN_TO_PLMN            (0x4)      /* Call has returned to the PLMN/ISDN */
#define PROG_INBAND_AVAIL              (0x8)      /* In-band information or appropriate pattern now available */
#define PROG_END_TO_END_PLMN           (0x20)     /* Call is end-to-end PLMN/ISDN   */
#define PROG_QUEUEING                  (0x40)     /* Queueing                       */

/*
 * Value constants for VAL_rad_chan_req
 */
#define VAL_RAD_CHAN_REQ___DEF         (0x0)      /* reserved                       */
#define RCR_FULL_ONLY                  (0x1)      /* full rate support only mobile station */
#define RCR_HALF_PREF                  (0x2)      /* dual rate support mobile station/half rate preferred */
#define RCR_FULL_PREF                  (0x3)      /* dual rate support mobile station/full rate preferred */

/*
 * Value constants for VAL_rate_adapt
 */
#define VAL_RATE_ADAPT___DEF           (0x0)      /* reserved                       */
#define RA_NONE                        (0x0)      /* no rate adaption               */
#define RA_V110                        (0x1)      /* V.110/X.30 rate adaption       */
#define RA_X31                         (0x2)      /* CCITT X.31 flag stuffing       */

/*
 * Value constants for VAL_repeat
 */
#define REPEAT_CIRCULAR                (0x1)      /* Circular for successive selection 'mode 1 alternate mode 2' */
#define REPEAT_SEQUENTIAL              (0x3)      /* Sequential for successive selection 'mode 1 and then mode 2' */

/*
 * Value constants for VAL_screen
 */
#define SCR_USER_UNSCREENED            (0x0)      /* User-provided, not screened    */
#define SCR_USER_PASSED                (0x1)      /* User-provided, verified and passed */
#define SCR_USER_FAILED                (0x2)      /* User-provided, verified and failed */
#define SCR_NETWORD                    (0x3)      /* Network provided               */

/*
 * Value constants for VAL_signal
 */
#define VAL_SIGNAL___DEF               (0x0)      /* reserved                       */
#define SIGNAL_DIAL_ON                 (0x0)      /* dial tone on                   */
#define SIGNAL_BACK_ON                 (0x1)      /* ring back tone on              */
#define SIGNAL_INTERCEPT_ON            (0x2)      /* intercept tone on              */
#define SIGNAL_CONGEST_ON              (0x3)      /* network congestion tone on     */
#define SIGNAL_BUSY_ON                 (0x4)      /* busy tone on                   */
#define SIGNAL_CONFIRM_ON              (0x5)      /* confirm tone on                */
#define SIGNAL_ANSWER_ON               (0x6)      /* answer tone on                 */
#define SIGNAL_WAITING_ON              (0x7)      /* call waiting tone on           */
#define SIGNAL_HOOK_OFF_ON             (0x8)      /* off-hook warning tone on       */
#define SIGNAL_TONES_OFF               (0x3f)     /* tones off                      */
#define SIGNAL_ALERT_OFF               (0x4f)     /* alerting off                   */

/*
 * Value constants for VAL_sig_access_prot
 */
#define VAL_SIG_ACCESS_PROT___DEF      (0x0)      /* reserved                       */
#define SIAP_I440                      (0x1)      /* I.440/450                      */
#define SIAP_X21                       (0x2)      /* X.21                           */
#define SIAP_X28_INDIV_NUI             (0x3)      /* X.28 - dedicated PAD, individual NUI */
#define SIAP_X28_UNIV_NUI              (0x4)      /* X.28 - dedicated PAD, universal NUI */
#define SIAP_X28_NON_DEDIC             (0x5)      /* X.28 - non dedicated PAD       */
#define SIAP_X32                       (0x6)      /* X.32                           */

/*
 * Value constants for VAL_structure
 */
#define VAL_STRUCTURE___DEF            (0x0)      /* reserved                       */
#define STRC_SERV_DATA_INTEG           (0x0)      /* service data unit integrity    */
#define STRC_UNSTRUCTURED              (0x3)      /* unstructured                   */

/*
 * Value constants for VAL_sync_async
 */
#define SYNCHRONOUS                    (0x0)      /* synchronous                    */
#define ASYNCHRONOUS                   (0x1)      /* asynchronous                   */

/*
 * Value constants for VAL_trans_mode
 */
#define TM_CIRCUIT                     (0x0)      /* circuit mode                   */
#define TM_PACKET                      (0x1)      /* packet mode                    */

/*
 * Value constants for VAL_ton
 */
#define VAL_TON___DEF                  (0x0)      /* reserved                       */
#define TON_UNKNOWN                    (0x0)      /* unknown                        */
#define TON_INTERNATIONAL              (0x1)      /* international number           */
#define TON_NATIONAL                   (0x2)      /* national number                */
#define TON_NETWORK                    (0x3)      /* network specific number        */
#define TON_DEDICATED                  (0x4)      /* dedicated access, short code   */
#define TON_EXTENSION                  (0x7)      /* reserved for extention         */

/*
 * Value constants for VAL_tos
 */
#define VAL_TOS___DEF                  (0x0)      /* reserved                       */
#define TOS_NSAP                       (0x0)      /* NSAP (X.213/ISO 8348 AD2)      */
#define TOS_USER                       (0x2)      /* User specified                 */

/*
 * Value constants for VAL_user_inf_l1_prot
 */
#define VAL_USER_INF_L1_PROT___DEF     (0x0)      /* reserved                       */
#define L1_DEFAULT                     (0x0)      /* default layer 1 protocol       */

/*
 * Value constants for VAL_user_inf_l2_prot
 */
#define VAL_USER_INF_L2_PROT___DEF     (0x0)      /* reserved                       */
#define L2_X25                         (0x6)      /* recommendation X.25, link level */
#define L2_ISO6429                     (0x8)      /* ISO 6429, codeset 0 (DC1/DC3)  */
#define L2_X75                         (0x9)      /* X.75 layer 2 modified (teletex) */
#define L2_VIDEOTEX                    (0xa)      /* videotex profile 1             */
#define L2_COPFC                       (0xc)      /* COPnoFlCt (Character oriented Protocol with no Flow Control mechanism) */

/*
 * Value constants for VAL_user_rate
 */
#define VAL_USER_RATE___DEF            (0x0)      /* reserved                       */
#define UR_0_3_KBIT                    (0x1)      /* rate : 0.3 kbit/s Recommendation X.1 and V.110 */
#define UR_1_2_KBIT                    (0x2)      /* rate : 1.2 kbit/s Recommendation X.1 and V.110 */
#define UR_2_4_KBIT                    (0x3)      /* rate : 2.4 kbit/s Recommendation X.1 and V.110 */
#define UR_4_8_KBIT                    (0x4)      /* rate : 4.8 kbit/s Recommendation X.1 and V.110 */
#define UR_9_6_KBIT                    (0x5)      /* rate : 9.6 kbit/s Recommendation X.1 and V.110 */
#define UR_12_0_KBIT_TRANS             (0x6)      /* rate : 12.0 kbit/s transparent */
#define UR_1_2_KBIT_V23                (0x7)      /* rate : 1.2 kbit/s/75 bit/s Recommendation V.23, X.1,V.110. */

/*
 * Value constants for VAL_pd
 */
#define VAL_PD___DEF                   (0x0)      /* reserved                       */
#define PD_USER                        (0x0)      /* User specific protocol         */
#define PD_HIGH_LAYER                  (0x1)      /* OSI high layer protocols       */
#define PD_X244                        (0x2)      /* X.244                          */
#define PD_SYS_MANAGE                  (0x3)      /* Reserved for system management convergence function */
#define PD_IA5                         (0x4)      /* IA5 characters                 */
#define PD_V120                        (0x7)      /* Rec.V.120 rate adaption        */
#define PD_Q931                        (0x8)      /* Q.931 (I.451) user-network call control messages */

/*
 * Value constants for VAL_speech_vers1
 */
#define SPEECH_VERS_FR                 (0x0)      /* full rate speech version 1     */
#define SPEECH_VERS_HR                 (0x1)      /* half rate speech version 1     */
#define SPEECH_VERS_EFR                (0x2)      /* full rate speech version 2 (enhanced full rate) */
#define SPEECH_VERS_AMR_HR             (0x5)      /* half rate speech version 3 (AHS) */
#define SPEECH_VERS_AMR_FR             (0x4)      /* full rate speech version 3 (AFS) */
#define SPEECH_VERS_NONE               (0xf)      /* no speech version given        */

/*
 * Value constants for VAL_modem_type_2
 */
#define OTHER_MODEM_TYPE_NONE          (0x0)      /* No other modem type specified  */
#define OTHER_MODEM_TYPE_V32BIS        (0x1)      /* V.32bis                        */
#define OTHER_MODEM_TYPE_V34           (0x2)      /* V.34                           */

/*
 * Value constants for VAL_fnur
 */
#define FNUR_NOT_APPLICABLE            (0x0)      /* Fixed network user rate not applicable */
#define FNUR_9600                      (0x1)      /* FNUR 9.6 kbit/s                */
#define FNUR_14400                     (0x2)      /* FNUR 14.4 kbit/s               */
#define FNUR_19200                     (0x3)      /* FNUR 19.2 kbit/s               */
#define FNUR_28800                     (0x4)      /* FNUR 28.8 kbit/s               */
#define FNUR_38400                     (0x5)      /* FNUR 38.4 kbit/s               */
#define FNUR_48000                     (0x6)      /* FNUR 48.0 kbit/s               */
#define FNUR_56000                     (0x7)      /* FNUR 56.0 kbit/s               */
#define FNUR_64000                     (0x8)      /* FNUR 64.0 kbit/s               */

/*
 * Value constants for VAL_acc
 */
#define ACC_EMPTY                      (0x0)      /* No channel codings acceptable  */
#define ACC_48                         (0x1)      /* TCH 4.8 acceptable             */
#define ACC_96                         (0x2)      /* TCH 9.6 acceptable             */
#define ACC_48_96                      (0x3)      /* TCH 4.8/9.6 acceptable         */
#define ACC_144                        (0x8)      /* TCH 14.4 acceptable            */
#define ACC_48_144                     (0x9)      /* TCH 4.8/14.4 acceptable        */
#define ACC_96_144                     (0xa)      /* TCH 9.6/14.4 acceptable        */
#define ACC_ALL                        (0xb)      /* All channel codings acceptable */

/*
 * Value constants for VAL_mTch
 */
#define MAX_TCH_1                      (0x0)      /* Maximum of 1 TCH               */
#define MAX_TCH_2                      (0x1)      /* Maximum of 2 TCH               */
#define MAX_TCH_3                      (0x2)      /* Maximum of 3 TCH               */
#define MAX_TCH_4                      (0x3)      /* Maximum of 4 TCH               */
#define MAX_TCH_5                      (0x4)      /* Maximum of 5 TCH               */
#define MAX_TCH_6                      (0x5)      /* Maximum of 6 TCH               */
#define MAX_TCH_7                      (0x6)      /* Maximum of 7 TCH               */
#define MAX_TCH_8                      (0x7)      /* Maximum of 8 TCH               */

/*
 * Value constants for VAL_uimi
 */
#define UIMI_NOT_ALLOWED               (0x0)      /* User initiated modification not allowed/required */
#define UIMI_MAX_1_TCH                 (0x1)      /* User initiated modification up to 1 TCH/F */
#define UIMI_MAX_2_TCH                 (0x2)      /* User initiated modification up to 2 TCH/F */
#define UIMI_MAX_3_TCH                 (0x3)      /* User initiated modification up to 3 TCH/F */
#define UIMI_MAX_4_TCH                 (0x4)      /* User initiated modification up to 4 TCH/F */

/*
 * Value constants for VAL_waiur
 */
#define WAIUR_NOT_APPLICABLE           (0x0)      /* Wanted Air Interface user rate not applicable */
#define WAIUR_9600                     (0x1)      /* WAIUR 9.6 kbit/s               */
#define WAIUR_14400                    (0x2)      /* WAIUR 14.4 kbit/s              */
#define WAIUR_19200                    (0x3)      /* WAIUR 19.2 kbit/s              */
#define WAIUR_28800                    (0x5)      /* WAIUR 28.8 kbit/s              */
#define WAIUR_38400                    (0x6)      /* WAIUR 38.4 kbit/s              */
#define WAIUR_43200                    (0x7)      /* WAIUR 43.2 kbit/s              */
#define WAIUR_57600                    (0x8)      /* WAIUR 57.6 kbit/s              */

/*
 * Value constants for VAL_ccbs_act
 */
#define CCBS_NO                        (0x0)      /* CCBS is not possible           */
#define CCBS_YES                       (0x1)      /* CCBS is possible               */

/*
 * Value constants for VAL_pcp
 */
#define PCP_NO                         (0x0)      /* Mobile does not support prolonged clearing procedure */
#define PCP_YES                        (0x1)      /* Mobile supports prolonged clearing procedure */

/*
 * Value constants for VAL_rcl_type
 */
#define CCBS                           (0x0)      /* CCBS                           */
#define CCBS_1                         (0x1)      /* Shall be treated as CCBS (intended for other similar types of Recall) */
#define CCBS_2                         (0x2)      /* Shall be treated as CCBS (intended for other similar types of Recall) */
#define CCBS_3                         (0x3)      /* Shall be treated as CCBS (intended for other similar types of Recall) */
#define CCBS_4                         (0x4)      /* Shall be treated as CCBS (intended for other similar types of Recall) */
#define CCBS_5                         (0x5)      /* Shall be treated as CCBS (intended for other similar types of Recall) */
#define CCBS_6                         (0x6)      /* Shall be treated as CCBS (intended for other similar types of Recall) */

/*
 * Value constants for VAL_coding_bc3x1
 */
#define CODING_BC3X_SPEECH             (0x0)      /* Octet 3x of IE Bearer Capabilities indicates speech codec version */
#define CODING_BC3X_OTHER              (0x1)      /* Octet 3x of IE Bearer Capabilities used for other extension of octet 3 */

/*
 * Value constants for VAL_ctm
 */
#define CTM_NO                         (0x0)      /* Mobile does not support prolonged clearing procedure */
#define CTM_YES                        (0x1)      /* Mobile supports prolonged clearing procedure */

/*
 * user defined constants
 */
#define L3MAX                          (0xfb)     
#define MAX_SS_VERSION                 (0x1)      

#include "CDG_LEAVE.h"


#endif