view cdg211/cdginc/p_8010_152_ps_include.val @ 480:41f2cc21bca9

hybrid fw: code change to support allowing GSM APDUs in AT+CSIM
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 19 Jun 2018 06:27:16 +0000
parents 56abf6cf8a0b
children
line wrap: on
line source

/*
+--------------------------------------------------------------------------+
| PROJECT : PROTOCOL STACK                                                 |
| FILE    : p_8010_152_ps_include.val                                      |
| SOURCE  : "__out__\g23m_dfile\prim\8010_152_PS_Include.pdf"              |
| LastModified : "2003-10-15"                                              |
| IdAndVersion : "8010.152.02.023"                                         |
| SrcFileTime  : "Tue May 18 17:03:04 2004"                                |
| 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                 : PS
 * COMPATIBILITY_DEFINES  : NO
 * ALWAYS_ENUM_IN_VAL_FILE: YES
 * ENABLE_GROUP: NO
 * CAPITALIZE_TYPENAME: NO
 */


#ifndef P_8010_152_PS_INCLUDE_VAL
#define P_8010_152_PS_INCLUDE_VAL


#define CDG_ENTER__P_8010_152_PS_INCLUDE_VAL

#define CDG_ENTER__FILENAME _P_8010_152_PS_INCLUDE_VAL
#define CDG_ENTER__P_8010_152_PS_INCLUDE_VAL__FILE_TYPE CDGINC
#define CDG_ENTER__P_8010_152_PS_INCLUDE_VAL__LAST_MODIFIED _2003_10_15
#define CDG_ENTER__P_8010_152_PS_INCLUDE_VAL__ID_AND_VERSION _8010_152_02_023

#define CDG_ENTER__P_8010_152_PS_INCLUDE_VAL__SRC_FILE_TIME _Tue_May_18_17_03_04_2004

#include "CDG_ENTER.h"

#undef CDG_ENTER__P_8010_152_PS_INCLUDE_VAL

#undef CDG_ENTER__FILENAME


/*
 * Enum to value table VAL_content
 * CCDGEN:WriteEnum_Count==14
 */
#ifndef __T_PS_VAL_content__
#define __T_PS_VAL_content__
typedef enum
{
  PS_ACC_INDEX_CLASSES_8_TO_15   = 0x0,           /* Index to use in content array for classes 8 to 15 */
  PS_ACC_INDEX_CLASSES_0_TO_7    = 0x1,           /* Index to use in content array for classes 0 to 7 */
  PS_ACC_MASK_CLASS_00           = 0x1,           /* Mask for accessing access class 0 */
  PS_ACC_MASK_CLASS_01           = 0x2,           /* Mask for accessing access class 1 */
  PS_ACC_MASK_CLASS_02           = 0x4,           /* Mask for accessing access class 2 */
  PS_ACC_MASK_CLASS_03           = 0x8,           /* Mask for accessing access class 3 */
  PS_ACC_MASK_CLASS_04           = 0x10,          /* Mask for accessing access class 4 */
  PS_ACC_MASK_CLASS_05           = 0x20,          /* Mask for accessing access class 5 */
  PS_ACC_MASK_CLASS_06           = 0x40,          /* Mask for accessing access class 6 */
  PS_ACC_MASK_CLASS_07           = 0x80,          /* Mask for accessing access class 7 */
  PS_ACC_MASK_CLASS_08           = 0x1,           /* Mask for accessing access class 8 */
  PS_ACC_MASK_CLASS_09           = 0x2,           /* Mask for accessing access class 9 */
  PS_ACC_MASK_CLASS_10           = 0x4,           /* Mask for accessing access class 10 */
  PS_ACC_MASK_CLASS_11           = 0x8,           /* Mask for accessing access class 11 */
  PS_ACC_MASK_CLASS_12           = 0x10,          /* Mask for accessing access class 12 */
  PS_ACC_MASK_CLASS_13           = 0x20,          /* Mask for accessing access class 13 */
  PS_ACC_MASK_CLASS_14           = 0x40,          /* Mask for accessing access class 14 */
  PS_ACC_MASK_CLASS_15           = 0x80           /* Mask for accessing access class 15 */
}T_PS_VAL_content;
#endif

/*
 * Enum to value table VAL_access_modes
 * CCDGEN:WriteEnum_Count==15
 */
#ifndef __T_PS_VAL_access_modes__
#define __T_PS_VAL_access_modes__
typedef enum
{
  PS_GSM_VOICE_ONLY              = 0x0,           /* GSM voice only mode            */
  PS_GSM                         = 0x1,           /* GSM voice and data mode        */
  PS_GSM_GPRS                    = 0x2,           /* GSM voice and data with GPRS mode */
  PS_UMTS_FDD                    = 0x3,           /* UMTS FDD only mode             */
  PS_GSM_GPRS_UMTS_FDD           = 0x4            /* GSM voice and data, GPRS and UMTS mode */
}T_PS_VAL_access_modes;
#endif

/*
 * Enum to value table VAL_arfcn_rssi
 * CCDGEN:WriteEnum_Count==16
 */
#ifndef __T_PS_VAL_arfcn_rssi__
#define __T_PS_VAL_arfcn_rssi__
typedef enum
{
  PS_VAL_ARFCN_RSSI__RANGE_MIN   = -0x6e,         /* minimum                        */
  PS_VAL_ARFCN_RSSI__RANGE_MAX   = -0x14          /* maximum                        */
}T_PS_VAL_arfcn_rssi;
#endif

/*
 * Enum to value table VAL_attach_detach_allowed
 * CCDGEN:WriteEnum_Count==17
 */
#ifndef __T_PS_VAL_attach_detach_allowed__
#define __T_PS_VAL_attach_detach_allowed__
typedef enum
{
  PS_ATTACH_DETACH_NOT_ALLOWED   = 0x0,           /* Attach/detach not allowed      */
  PS_ATTACH_DETACH_ALLOWED       = 0x1            /* Attach/detach allowed          */
}T_PS_VAL_attach_detach_allowed;
#endif

/*
 * Enum to value table VAL_service_level
 * CCDGEN:WriteEnum_Count==18
 */
#ifndef __T_PS_VAL_service_level__
#define __T_PS_VAL_service_level__
typedef enum
{
  PS_LIMITED_SERVICE             = 0x0,           /* Camped on acceptable cell. This indicates that the cell is selected for limited service. */
  PS_NORMAL_SERVICE              = 0x1,           /* Camped on suitable cell. This indicates that the cell is selected for normal service. */
  PS_NORMAL_SERVICE_OPERATOR_CELL = 0x2           /* Camped on a suitable operator cell. This indicates that the cell is selected for normal service, and is reserved for operator use. */
}T_PS_VAL_service_level;
#endif

/*
 * Enum to value table VAL_cn_domain
 * CCDGEN:WriteEnum_Count==19
 */
#ifndef __T_PS_VAL_cn_domain__
#define __T_PS_VAL_cn_domain__
typedef enum
{
  PS_CN_DOMAIN_CS                = 0x0,           /* Circuit switched core network domain */
  PS_CN_DOMAIN_PS                = 0x1,           /* Packet switched core network domain */
  PS_CN_DOMAIN_NOT_IMPORTANT     = 0x2            /* Core network domain not important */
}T_PS_VAL_cn_domain;
#endif

/*
 * Enum to value table VAL_cpich_ec_n0
 * CCDGEN:WriteEnum_Count==20
 */
#ifndef __T_PS_VAL_cpich_ec_n0__
#define __T_PS_VAL_cpich_ec_n0__
typedef enum
{
  PS_VAL_CPICH_EC_N0__RANGE_MIN  = -0x30,         /* minimum                        */
  PS_VAL_CPICH_EC_N0__RANGE_MAX  = 0x0            /* maximum                        */
}T_PS_VAL_cpich_ec_n0;
#endif

/*
 * Enum to value table VAL_cpich_rscp
 * CCDGEN:WriteEnum_Count==21
 */
#ifndef __T_PS_VAL_cpich_rscp__
#define __T_PS_VAL_cpich_rscp__
typedef enum
{
  PS_VAL_CPICH_RSCP__RANGE_MIN   = -0x73,         /* minimum                        */
  PS_VAL_CPICH_RSCP__RANGE_MAX   = -0x19          /* maximum                        */
}T_PS_VAL_cpich_rscp;
#endif

/*
 * Enum to value table VAL_est_service
 * CCDGEN:WriteEnum_Count==22
 */
#ifndef __T_PS_VAL_est_service__
#define __T_PS_VAL_est_service__
typedef enum
{
  PS_SERVICE_SPEECH              = 0x0,           /* CS Speech call                 */
  PS_SERVICE_MULTIMEDIA          = 0x1,           /* CS Multimedia call             */
  PS_SERVICE_FAX                 = 0x2,           /* CS Fax call                    */
  PS_SERVICE_NT_CSD              = 0x3,           /* Non transparent CS data call   */
  PS_SERVICE_T_CSD               = 0x4,           /* Transparent CS data call       */
  PS_SERVICE_EMERGE              = 0x5            /* CS emergency speech call       */
}T_PS_VAL_est_service;
#endif

/*
 * Enum to value table VAL_arfcn
 * CCDGEN:WriteEnum_Count==23
 */
#ifndef __T_PS_VAL_arfcn__
#define __T_PS_VAL_arfcn__
typedef enum
{
  PS_VAL_ARFCN__RANGE_MIN        = 0x0,           /* minimum                        */
  PS_VAL_ARFCN__RANGE_MAX        = 0x3ff          /* maximum                        */
}T_PS_VAL_arfcn;
#endif

/*
 * Enum to value table VAL_gsm_band_priority
 * CCDGEN:WriteEnum_Count==24
 */
#ifndef __T_PS_VAL_gsm_band_priority__
#define __T_PS_VAL_gsm_band_priority__
typedef enum
{
  PS_EU_BAND                     = 0x0,           /* EU band has priority           */
  PS_US_BAND                     = 0x1            /* US band has priority           */
}T_PS_VAL_gsm_band_priority;
#endif

/*
 * Enum to value table VAL_bcc
 * CCDGEN:WriteEnum_Count==25
 */
#ifndef __T_PS_VAL_bcc__
#define __T_PS_VAL_bcc__
typedef enum
{
  PS_VAL_BCC__RANGE_MIN          = 0x0,           /* minimum                        */
  PS_VAL_BCC__RANGE_MAX          = 0x7            /* maximum                        */
}T_PS_VAL_bcc;
#endif

/*
 * Enum to value table VAL_ncc
 * CCDGEN:WriteEnum_Count==26
 */
#ifndef __T_PS_VAL_ncc__
#define __T_PS_VAL_ncc__
typedef enum
{
  PS_VAL_NCC__RANGE_MIN          = 0x0,           /* minimum                        */
  PS_VAL_NCC__RANGE_MAX          = 0x7            /* maximum                        */
}T_PS_VAL_ncc;
#endif

/*
 * Enum to value table VAL_gsm_frequency_band
 * CCDGEN:WriteEnum_Count==27
 */
#ifndef __T_PS_VAL_gsm_frequency_band__
#define __T_PS_VAL_gsm_frequency_band__
typedef enum
{
  PS_GSM_BAND_NOT_SET            = 0x0,           /* No channel numbers.            */
  PS_GSM450                      = 0x1,           /* Channel numbers from 259 to 293 for GSM450 */
  PS_GSM480                      = 0x2,           /* Channel numbers from 306 to 340 for GSM480 */
  PS_GSM850                      = 0x4,           /* Channel numbers from 128 to 251 for GSM850 */
  PS_GSM900P                     = 0x8,           /* Channel numbers from 1 to 124 for P-GSM900 */
  PS_GSM900E                     = 0x10,          /* Channel numbers from 0 to 124, and 975 to 1023 for E-GSM900 */
  PS_GSM1800                     = 0x20,          /* Channel numbers from 512 to 885 for GSM1800 */
  PS_GSM1900                     = 0x40,          /* Channel numbers from 512 to 810 for GSM1900 */
  PS_GSM1800_BAND_INDICATOR      = 0x39,          /* All channel numbers. Channel numbers from 512 to 810 are to be interpreted as GSM1800 channel numbers. */
  PS_GSM1900_BAND_INDICATOR      = 0x46           /* All channel numbers. Channel numbers from 512 to 810 are to be interpreted as GSM1900 channel numbers. */
}T_PS_VAL_gsm_frequency_band;
#endif

/*
 * Enum to value table VAL_gsm_ncell_index
 * CCDGEN:WriteEnum_Count==28
 */
#ifndef __T_PS_VAL_gsm_ncell_index__
#define __T_PS_VAL_gsm_ncell_index__
typedef enum
{
  PS_VAL_GSM_NCELL_INDEX__RANGE_MIN = 0x0,        /* minimum                        */
  PS_VAL_GSM_NCELL_INDEX__RANGE_MAX = 0x1f        /* maximum                        */
}T_PS_VAL_gsm_ncell_index;
#endif

/*
 * Enum to value table VAL_bsic_valid
 * CCDGEN:WriteEnum_Count==29
 */
#ifndef __T_PS_VAL_bsic_valid__
#define __T_PS_VAL_bsic_valid__
typedef enum
{
  PS_BSIC_NOT_VALIDATED          = 0x0,           /* BSIC for the cell on this channel is not validated or not matched to that of the specified cell. */
  PS_BSIC_VALIDATED              = 0x1            /* BSIC for the cell on this channel is validated and matches that of the specified cell. */
}T_PS_VAL_bsic_valid;
#endif

/*
 * Enum to value table VAL_llc_mode
 * CCDGEN:WriteEnum_Count==30
 */
#ifndef __T_PS_VAL_llc_mode__
#define __T_PS_VAL_llc_mode__
typedef enum
{
  PS_LLC_UNACKNOWLEDGED          = 0x0,           /* Unacknowledged SAPI            */
  PS_LLC_ACKNOWLEDGED            = 0x1            /* Acknowledged SAPI              */
}T_PS_VAL_llc_mode;
#endif

/*
 * Enum to value table VAL_meas_mode
 * CCDGEN:WriteEnum_Count==31
 */
#ifndef __T_PS_VAL_meas_mode__
#define __T_PS_VAL_meas_mode__
typedef enum
{
  PS_MEASURE_IDLE                = 0x0,           /* Measurements without a configured DCH */
  PS_MEASURE_DEDICATED           = 0x1            /* Measurements with a configured DCH */
}T_PS_VAL_meas_mode;
#endif

/*
 * Enum to value table VAL_nmo
 * CCDGEN:WriteEnum_Count==32
 */
#ifndef __T_PS_VAL_nmo__
#define __T_PS_VAL_nmo__
typedef enum
{
  PS_RR_NMO_I                    = 0x0,           /* Network mode of operation I, only one Paging channel for both: PCCCH or  CCCH */
  PS_RR_NMO_II                   = 0x1,           /* Network mode of operation II, Paging only on CCCH */
  PS_RR_NMO_III                  = 0x2            /* Network mode of operation III, Paging on CCCH for CS and either on CCCH or on PCCCH for GPRS, if PCCH allocated in the cell */
}T_PS_VAL_nmo;
#endif

/*
 * Enum to value table VAL_search_mode
 * CCDGEN:WriteEnum_Count==33
 */
#ifndef __T_PS_VAL_search_mode__
#define __T_PS_VAL_search_mode__
typedef enum
{
  PS_SEARCH_MODE_AUTO            = 0x0,           /* Automatic network scan         */
  PS_SEARCH_MODE_MAN             = 0x1            /* Manual network scan            */
}T_PS_VAL_search_mode;
#endif

/*
 * Enum to value table VAL_peak_throughput
 * CCDGEN:WriteEnum_Count==34
 */
#ifndef __T_PS_VAL_peak_throughput__
#define __T_PS_VAL_peak_throughput__
typedef enum
{
  PS_PEAK_THROUGHPUT_SUB         = 0x0,           /* Subscribed/unknown peak throughput */
  PS_PEAK_1K                     = 0x1,           /* Up to 1000 octet/s             */
  PS_PEAK_2K                     = 0x2,           /* Up to 2000 octet/s             */
  PS_PEAK_4K                     = 0x4,           /* Up to 4000 octet/s             */
  PS_PEAK_8K                     = 0x8,           /* Up to 8000 octet/s             */
  PS_PEAK_16K                    = 0x10,          /* Up to 16000 octet/s            */
  PS_PEAK_32K                    = 0x20,          /* Up to 32000 octet/s            */
  PS_PEAK_64K                    = 0x40,          /* Up to 64000 octet/s            */
  PS_PEAK_128K                   = 0x80,          /* Up to 128000 octet/s           */
  PS_PEAK_256K                   = 0x100,         /* Up to 256000 octet/s           */
  PS_PEAK_384K                   = 0x180          /* Up to 384000 octet/s           */
}T_PS_VAL_peak_throughput;
#endif

/*
 * Enum to value table VAL_t3212
 * CCDGEN:WriteEnum_Count==35
 */
#ifndef __T_PS_VAL_t3212__
#define __T_PS_VAL_t3212__
typedef enum
{
  PS_VAL_T3212__RANGE_MIN        = 0x1,           /* minimum                        */
  PS_VAL_T3212__RANGE_MAX        = 0xff,          /* maximum                        */
  PS_NO_PERIODIC_UPDATE          = 0x0            /* No periodic updating           */
}T_PS_VAL_t3212;
#endif

/*
 * Enum to value table VAL_mnc
 * CCDGEN:WriteEnum_Count==36
 */
#ifndef __T_PS_VAL_mnc__
#define __T_PS_VAL_mnc__
typedef enum
{
  PS_VAL_MNC__RANGE_MIN          = 0x0,           /* minimum                        */
  PS_VAL_MNC__RANGE_MAX          = 0x9            /* maximum                        */
}T_PS_VAL_mnc;
#endif

/*
 * Enum to value table VAL_mcc
 * CCDGEN:WriteEnum_Count==37
 */
#ifndef __T_PS_VAL_mcc__
#define __T_PS_VAL_mcc__
typedef enum
{
  PS_VAL_MCC__RANGE_MIN          = 0x0,           /* minimum                        */
  PS_VAL_MCC__RANGE_MAX          = 0x9            /* maximum                        */
}T_PS_VAL_mcc;
#endif

/*
 * Enum to value table VAL_rat
 * CCDGEN:WriteEnum_Count==38
 */
#ifndef __T_PS_VAL_rat__
#define __T_PS_VAL_rat__
typedef enum
{
  PS_RAT_GSM                     = 0x0,           /* GSM                            */
  PS_RAT_UMTS_FDD                = 0x1            /* UMTS FDD                       */
}T_PS_VAL_rat;
#endif

/*
 * Enum to value table VAL_radio_prio
 * CCDGEN:WriteEnum_Count==39
 */
#ifndef __T_PS_VAL_radio_prio__
#define __T_PS_VAL_radio_prio__
typedef enum
{
  PS_RADIO_PRIO_1                = 0x0,           /* radio priority 1 (highest)     */
  PS_RADIO_PRIO_2                = 0x1,           /* radio priority 2               */
  PS_RADIO_PRIO_3                = 0x2,           /* radio priority 3               */
  PS_RADIO_PRIO_4                = 0x3            /* radio priority 4 (lowest)      */
}T_PS_VAL_radio_prio;
#endif

/*
 * Enum to value table VAL_rel_ind
 * CCDGEN:WriteEnum_Count==40
 */
#ifndef __T_PS_VAL_rel_ind__
#define __T_PS_VAL_rel_ind__
typedef enum
{
  PS_REL_IND_NO                  = 0x0,           /* Non-local deactivation         */
  PS_REL_IND_YES                 = 0x1            /* Local deactivation             */
}T_PS_VAL_rel_ind;
#endif

/*
 * Enum to value table VAL_ksi
 * CCDGEN:WriteEnum_Count==41
 */
#ifndef __T_PS_VAL_ksi__
#define __T_PS_VAL_ksi__
typedef enum
{
  PS_VAL_KSI__RANGE_MIN          = 0x0,           /* minimum                        */
  PS_VAL_KSI__RANGE_MAX          = 0x6,           /* maximum                        */
  PS_VAL_KSI___7                 = 0x7            /* Sequence number value indicating that the key is not present (initial value on (U)SIM) */
}T_PS_VAL_ksi;
#endif

/*
 * Enum to value table VAL_sapi
 * CCDGEN:WriteEnum_Count==42
 */
#ifndef __T_PS_VAL_sapi__
#define __T_PS_VAL_sapi__
typedef enum
{
  PS_SAPI_0                      = 0x0,           /* SAPI 0 (GSM only)              */
  PS_SAPI_1                      = 0x1,           /* SAP for MM                     */
  PS_SAPI_3                      = 0x3,           /* SAP 1 for SNDCP or SAPI 3 (GSM only) */
  PS_SAPI_5                      = 0x5,           /* SAP 2 for SNDCP                */
  PS_SAPI_7                      = 0x7,           /* SAP for SMS                    */
  PS_SAPI_9                      = 0x9,           /* SAP 3 for SNDCP                */
  PS_SAPI_11                     = 0xb,           /* SAP 4 for SNDCP                */
  PS_SAPI_INVALID                = 0xff           /* Invalid SAPI identifier        */
}T_PS_VAL_sapi;
#endif

/*
 * Enum to value table VAL_sim_type
 * CCDGEN:WriteEnum_Count==43
 */
#ifndef __T_PS_VAL_sim_type__
#define __T_PS_VAL_sim_type__
typedef enum
{
  PS_SIM_PRESENT                 = 0x0,           /* SIM present                    */
  PS_USIM_PRESENT                = 0x1            /* USIM present                   */
}T_PS_VAL_sim_type;
#endif

/*
 * Enum to value table VAL_uarfcn_rssi
 * CCDGEN:WriteEnum_Count==44
 */
#ifndef __T_PS_VAL_uarfcn_rssi__
#define __T_PS_VAL_uarfcn_rssi__
typedef enum
{
  PS_VAL_UARFCN_RSSI__RANGE_MIN  = -0x64,         /* minimum                        */
  PS_VAL_UARFCN_RSSI__RANGE_MAX  = -0x19          /* maximum                        */
}T_PS_VAL_uarfcn_rssi;
#endif

/*
 * Enum to value table VAL_uarfcn
 * CCDGEN:WriteEnum_Count==45
 */
#ifndef __T_PS_VAL_uarfcn__
#define __T_PS_VAL_uarfcn__
typedef enum
{
  PS_VAL_UARFCN__RANGE_MIN       = 0x0,           /* minimum                        */
  PS_VAL_UARFCN__RANGE_MAX       = 0x3fff         /* maximum                        */
}T_PS_VAL_uarfcn;
#endif

/*
 * Enum to value table VAL_cell_status
 * CCDGEN:WriteEnum_Count==46
 */
#ifndef __T_PS_VAL_cell_status__
#define __T_PS_VAL_cell_status__
typedef enum
{
  PS_CELL_STATUS_UNKNOWN         = 0x0,           /* It is not known whether this cell is suitable or acceptable at this time. */
  PS_CELL_STATUS_UNACCEPTABLE    = 0x1,           /* The cell is not acceptable or suitable as defined by the criteria in [3G 25.304] */
  PS_CELL_STATUS_ACCEPTABLE      = 0x2,           /* The cell is acceptable as defined by the criteria in [3G 25.304]. */
  PS_CELL_STATUS_SUITABLE        = 0x3            /* The cell is suitable as defined by the criteria in [3G 25.304] */
}T_PS_VAL_cell_status;
#endif

/*
 * Enum to value table VAL_psc
 * CCDGEN:WriteEnum_Count==47
 */
#ifndef __T_PS_VAL_psc__
#define __T_PS_VAL_psc__
typedef enum
{
  PS_VAL_PSC__RANGE_MIN          = 0x0,           /* minimum                        */
  PS_VAL_PSC__RANGE_MAX          = 0x1ff          /* maximum                        */
}T_PS_VAL_psc;
#endif

/*
 * Enum to value table VAL_threshold
 * CCDGEN:WriteEnum_Count==48
 */
#ifndef __T_PS_VAL_threshold__
#define __T_PS_VAL_threshold__
typedef enum
{
  PS_VAL_THRESHOLD__RANGE_MIN    = 0x0,           /* minimum                        */
  PS_VAL_THRESHOLD__RANGE_MAX    = 0xfffff        /* maximum                        */
}T_PS_VAL_threshold;
#endif

/*
 * Enum to value table VAL_start_val
 * CCDGEN:WriteEnum_Count==49
 */
#ifndef __T_PS_VAL_start_val__
#define __T_PS_VAL_start_val__
typedef enum
{
  PS_VAL_START_VAL__RANGE_MIN    = 0x0,           /* minimum                        */
  PS_VAL_START_VAL__RANGE_MAX    = 0xfffff        /* maximum                        */
}T_PS_VAL_start_val;
#endif

/*
 * Enum to value table VAL_tx_diversity
 * CCDGEN:WriteEnum_Count==50
 */
#ifndef __T_PS_VAL_tx_diversity__
#define __T_PS_VAL_tx_diversity__
typedef enum
{
  PS_TX_DIVERSITY_USED           = 0x0,           /* TX diversity used for a cell   */
  PS_TX_DIVERSITY_NOT_USED       = 0x1            /* TX diversity not used for a cell */
}T_PS_VAL_tx_diversity;
#endif

/*
 * user defined constants
 */
#define PS_BCC_MAX                     (0x7)      
#define PS_SIZE_TMSI                   (0x4)      
#define PS_SIZE_P_TMSI                 (0x4)      
#define PS_CPICH_RSCP_MAX              (0xffffffe7)
#define PS_CPICH_RSCP_MIN              (0xffffff8d)
#define PS_SIZE_KC                     (0x8)      
#define PS_MAX_EQUIVALENT_PLMNS        (0x5)      
#define PS_MAX_FORBIDDEN_LAI           (0xa)      
#define PS_MAX_GSM_NCELLS              (0x20)     
#define PS_MAX_GSM_NCELL_INDEX         (0x1f)     
#define PS_MAX_UMTS_NCELLS             (0x40)     
#define PS_MAX_UMTS_NCELLS_PER_UARFCN  (0x20)     
#define PS_MAX_UMTS_NCELL_UARFCNS      (0x3)      
#define PS_MAX_UMTS_PRECONFIGURATIONS  (0x10)     
#define PS_NCC_MAX                     (0x7)      
#define PS_PSC_MAX                     (0x1ff)    
#define PS_PSC_MIN                     (0x0)      
#define PS_SIZE_ACC                    (0x2)      
#define PS_SIZE_AI                     (0x2)      
#define PS_SIZE_IMSI_MAX               (0xf)      
#define PS_SIZE_IMSI_MIN               (0x6)      
#define PS_SIZE_LAC                    (0x2)      
#define PS_SIZE_MCC                    (0x3)      
#define PS_SIZE_MNC_MAX                (0x3)      
#define PS_SIZE_MNC_MIN                (0x2)      
#define PS_MAX_START_VALUE             (0xfffff)  
#define PS_SIZE_CK                     (0x10)     
#define PS_SIZE_IK                     (0x10)     
#define PS_SIZE_CN_COMMON_GSM_NAS_SI   (0x8)      
#define PS_MAX_UL_SDU                  (0xff)     
#define PS_MIN_BCD_VALUE               (0x0)      
#define PS_MAX_BCD_VALUE               (0x9)      
#define PS_MIN_KEY_SEQ_NUM             (0x0)      
#define PS_MAX_KEY_SEQ_NUM             (0x6)      
#define PS_KEY_SEQ_INVALID             (0x7)      
#define PS_MIN_ARFCN_VALUE             (0x0)      
#define PS_MAX_ARFCN_VALUE             (0x3ff)    
#define PS_MIN_ARFCN_GSM900E_LOW       (0x0)      
#define PS_MAX_ARFCN_GSM900E_LOW       (0x7c)     
#define PS_MIN_ARFCN_GSM900E_HIGH      (0x3cf)    
#define PS_MAX_ARFCN_GSM900E_HIGH      (0x3ff)    
#define PS_MIN_ARFCN_GSM900P           (0x1)      
#define PS_MAX_ARFCN_GSM900P           (0x7c)     
#define PS_MIN_ARFCN_GSM850            (0x80)     
#define PS_MAX_ARFCN_GSM850            (0xfb)     
#define PS_MIN_ARFCN_GSM450            (0x103)    
#define PS_MAX_ARFCN_GSM450            (0x125)    
#define PS_MIN_ARFCN_GSM480            (0x132)    
#define PS_MAX_ARFCN_GSM480            (0x154)    
#define PS_MIN_ARFCN_GSM1800           (0x200)    
#define PS_MAX_ARFCN_GSM1800           (0x375)    
#define PS_MIN_ARFCN_GSM1900           (0x200)    
#define PS_MAX_ARFCN_GSM1900           (0x32a)    
#define PS_MIN_RSSI_GSM                (0xffffff92)
#define PS_MAX_RSSI_GSM                (0xffffffec)
#define PS_MIN_RSSI_UMTS               (0xffffffd0)
#define PS_MAX_RSSI_UMTS               (0x0)      
#define PS_MIN_UARFCN                  (0x0)      
#define PS_MAX_UARFCN                  (0x3fff)   

#include "CDG_LEAVE.h"


#endif