view cdg211/cdginc/m_rr_com.val @ 446:bed6d393f3e0

C1xx targets: sensible handling of Compal's power key wiring
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 28 Jan 2018 19:26:10 +0000
parents 56abf6cf8a0b
children
line wrap: on
line source

/*
+--------------------------------------------------------------------------+
| PROJECT : PROTOCOL STACK                                                 |
| FILE    : m_rr_com.val                                                   |
| SOURCE  : "__out__\g23m_dfile\msg\rr_com.mdf"                            |
| LastModified : "2002-11-18"                                              |
| IdAndVersion : "8443.250.02.008"                                         |
| SrcFileTime  : "Mon Nov 24 15:49:38 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_RR_COM_VAL
#define M_RR_COM_VAL


#define CDG_ENTER__M_RR_COM_VAL

#define CDG_ENTER__FILENAME _M_RR_COM_VAL
#define CDG_ENTER__M_RR_COM_VAL__FILE_TYPE CDGINC
#define CDG_ENTER__M_RR_COM_VAL__LAST_MODIFIED _2002_11_18
#define CDG_ENTER__M_RR_COM_VAL__ID_AND_VERSION _8443_250_02_008

#define CDG_ENTER__M_RR_COM_VAL__SRC_FILE_TIME _Mon_Nov_24_15_49_38_2003

#include "CDG_ENTER.h"

#undef CDG_ENTER__M_RR_COM_VAL

#undef CDG_ENTER__FILENAME


/*
 * Value constants for VAL_bool
 */
#define NO                             (0x0)      /* value is not set               */
#define YES                            (0x1)      /* value is set                   */
#define NOT_SUPPORTED                  (0x0)      /* feature not supported          */
#define SUPPORTED                      (0x1)      /* feature supported              */

/*
 * Value constants for VAL_rev_lev
 */
#define VAL_REV_LEV___DEF              (0x0)      /* Reserved by future use         */
#define PHASE_1                        (0x0)      /* Reserved for GSM phase 1       */
#define PHASE_2                        (0x1)      /* Used by GSM phase 2 mobile stations */
#define R99_SUPPORT                    (0x2)      /* Used by mobile stations supporting R99 or later versions */

/*
 * Value constants for VAL_ss_screen
 */
#define VAL_SS_SCREEN___DEF            (0x0)      /* for future use (The network shall interpret these values the same as ?1?) */
#define SS_SCREEN_DEFAULT              (0x0)      /* default value of phase 1       */
#define SS_SCREEN_PHASE_2              (0x1)      /* capability of handling of ellipsis notation and phase 2 error handling */

/*
 * Value constants for VAL_egsm
 */
#define EGSM_NOT_SUPPORTED             (0x0)      /* The mobile station does not support the extension band. */
#define EGSM_SUPPORTED                 (0x1)      /* The mobile station does support the extension band (E-GSM or R-GSM). */

/*
 * Value constants for VAL_ucs2_treat
 */
#define DEFAULT_PREF                   (0x0)      /* the ME has a preference for the default alphabet (defined in GSM 03.38) over UCS2. */
#define NO_PREF                        (0x1)      /* the ME has no preference between the use of the default alphabet and the use of UCS2. */

/*
 * Value constants for VAL_single_band
 */
#define VAL_SINGLE_BAND___DEF          (0x0)      /* Reserved                       */
#define SINGLE_EGSM                    (0x0)      /* Extended GSM is supported      */
#define SINGLE_GSM900                  (0x1)      /* GSM 900 is supported           */
#define SINGLE_DCS1800                 (0x2)      /* DCS 1800 is supported          */
#define SINGLE_GSM450                  (0x3)      /* GSM 450 is supported           */
#define SINGLE_GSM480                  (0x4)      /* GSM 480 is supported           */
#define SINGLE_GSM850                  (0x5)      /* GSM 850 is supported           */
#define SINGLE_PCS1900                 (0x6)      /* PCS 1900 is supported          */

/*
 * Value constants for VAL_mod_cap
 */
#define DL_ONLY_8PSK                   (0x0)      /* 8-PSK supported for downlink reception only */
#define FULL_8PSK                      (0x1)      /* 8-PSK supported for uplink transmission and downlink reception */

/*
 * Value constants for VAL_mb_value
 */
#define VAL_MB_VALUE___DEF             (0x0)      /* Reserved                       */
#define MB_NO_EUROPEAN_BAND            (0x0)      /* 0b000: neither GSM 900, E-GSM or DCS 1800 supported */
#define MB_GSM900                      (0x1)      /* 0b001: GSM 900 is supported    */
#define MB_EGSM                        (0x2)      /* 0b010: E-GSM is supported      */
#define MB_DCS1800                     (0x4)      /* 0b100: DCS 1800 is supported   */
#define MB_DUAL                        (0x5)      /* 0b101: GSM 900 and DCS 1800 is supported */
#define MB_DUAL_EXT                    (0x6)      /* 0b110: E-GSM and DCS 1800 is supported */

/*
 * Value constants for VAL_gsm400_supp
 */
#define VAL_GSM400_SUPP___0            (0x0)      /* reserved (if neither GSM 480 nor GSM 450 is supported the whole gsm400_struct is omitted) */
#define GSM480                         (0x1)      /* GSM 480 supported but GSM 450 not supported */
#define GSM450                         (0x2)      /* GSM 450 supported but GSM 480 not supported */
#define GSM450_480                     (0x3)      /* GSM 450 supported and GSM 480 supported */

/*
 * Value constants for VAL_acc_tech_typ
 */
#define VAL_ACC_TECH_TYP___DEF         (0x0)      /* unknown                        */
#define ACC_GSM_P                      (0x0)      /* GSM P                          */
#define ACC_GSM_E                      (0x1)      /* GSM E -note that GSM E covers GSM P */
#define ACC_GSM_R                      (0x2)      /* GSM R - note that GSM R covers GSM E and GSM P */
#define ACC_GSM_1800                   (0x3)      /* GSM 1800 (DCS)                 */
#define ACC_GSM_1900                   (0x4)      /* GSM 1900 (PCS)                 */
#define ACC_GSM_450                    (0x5)      /* GSM 450                        */
#define ACC_GSM_480                    (0x6)      /* GSM 480                        */
#define ACC_GSM_850                    (0x7)      /* GSM 850                        */
#define ACC_INVALID                    (0xf)      /* no valid access technology type present (this value isn?t defined in the specification) */

/*
 * Value constants for VAL_sms_val
 */
#define SM_1                           (0x0)      /* 1/4  timeslot (~144 micro sec) */
#define SM_2                           (0x1)      /* 2/4 timeslot (~288 micro sec)  */
#define SM_3                           (0x2)      /* 3/4 timeslot (~433 micro sec)  */
#define SM_4                           (0x3)      /* 4/4 timeslot                   */
#define SM_5                           (0x4)      /* 5/4 timeslot                   */
#define SM_6                           (0x5)      /* 6/4 timeslot                   */
#define SM_7                           (0x6)      /* 7/4 timeslot                   */
#define SM_8                           (0x7)      /* 8/4 timeslot                   */
#define SM_9                           (0x8)      /* 9/4 timeslot                   */
#define SM_10                          (0x9)      /* 10/4 timeslot                  */
#define SM_11                          (0xa)      /* 11/4 timeslot                  */
#define SM_12                          (0xb)      /* 12/4 timeslot                  */
#define SM_13                          (0xc)      /* 13/4 timeslot                  */
#define SM_14                          (0xd)      /* 14/4 timeslot                  */
#define SM_15                          (0xe)      /* 15/4 timeslot                  */
#define SM_16                          (0xf)      /* 16/4 timeslot (~2307 micro sec) */

/*
 * Value constants for VAL_rf_pow_cap
 */
#define RF_CLASS_1                     (0x0)      /* class 1 for GSM 850, 900P+E, DCS 1800 and PCS 1900 */
#define RF_CLASS_2                     (0x1)      /* class 2 for GSM 850, 900P+E, DCS 1800 and PCS 1900 */
#define RF_CLASS_3                     (0x2)      /* class 3 for GSM 850, 900P+E, DCS 1800 and PCS 1900 */
#define RF_CLASS_4                     (0x3)      /* class 4 for GSM 850, 900P+E (reserved for DCS 1800 and PCS 1900) */
#define RF_CLASS_5                     (0x4)      /* class 5 for GSM 850, 900P+E (reserved for DCS 1800 and PCS 1900) */
#define VAL_RF_POW_CAP___5             (0x5)      /* reserved                       */
#define VAL_RF_POW_CAP___6             (0x6)      /* reserved                       */
#define RF_CLASS_IRRELEVANT            (0x7)      /* irrelevent for this IE (multiband GSM MS) */

/*
 * Value constants for VAL_pow_class
 */
#define POWER_CLASS_1                  (0x1)      /* Power Class 1                  */
#define POWER_CLASS_2                  (0x2)      /* Power Class 2                  */
#define POWER_CLASS_3                  (0x3)      /* Power Class 3                  */
#define POWER_CLASS_4                  (0x4)      /* Power Class 4                  */
#define POWER_CLASS_5                  (0x5)      /* Power Class 5                  */
#define VAL_POW_CLASS___6              (0x6)      /* Reserved                       */
#define VAL_POW_CLASS___7              (0x7)      /* Reserved                       */
#define MIN_CLASS_GSM                  (0x2)      /* minimal GSM power class        */
#define MAX_CLASS_GSM                  (0x5)      /* maximal GSM power class        */
#define MIN_CLASS_DCS                  (0x1)      /* minimal DCS power class        */
#define MAX_CLASS_DCS                  (0x3)      /* maximal DCS power class        */
#define MIN_CLASS_PCS                  (0x1)      /* minimal PCS power class        */
#define MAX_CLASS_PCS                  (0x3)      /* maximal PCS power class        */
#define CLASS_MIN_POW_GSM              (0x5)      /* GSM power class with the lowest output power */
#define CLASS_MIN_POW_DCS              (0x2)      /* DCS power class with the lowest output power */
#define CLASS_MIN_POW_PCS              (0x2)      /* PCS power class with the lowest output power */
#define IDX_PWRCLASS_900               (0x0)      /* Index for use with rf_cap.rf_power.pow_class4[] array */
#define IDX_PWRCLASS_1800              (0x1)      /* Index for use with rf_cap.rf_power.pow_class4[] array */
#define IDX_PWRCLASS_1900              (0x2)      /* Index for use with rf_cap.rf_power.pow_class4[] array */
#define IDX_PWRCLASS_850               (0x3)      /* Index for use with rf_cap.rf_power.pow_class4[] array */
#define IDX_PWRCLASS_400               (0x4)      /* Index for use with rf_cap.rf_power.pow_class4[] array */

/*
 * Value constants for VAL_ms_class
 */
#define MSLOT_CLASS_1                  (0x1)      /* Multi Slot Class 1             */
#define MSLOT_CLASS_2                  (0x2)      /* Multi Slot Class 2             */
#define MSLOT_CLASS_3                  (0x3)      /* Multi Slot Class 3             */
#define MSLOT_CLASS_4                  (0x4)      /* Multi Slot Class 4             */
#define MSLOT_CLASS_5                  (0x5)      /* Multi Slot Class 5             */
#define MSLOT_CLASS_6                  (0x6)      /* Multi Slot Class 6             */
#define MSLOT_CLASS_7                  (0x7)      /* Multi Slot Class 7             */
#define MSLOT_CLASS_8                  (0x8)      /* Multi Slot Class 8             */
#define MSLOT_CLASS_9                  (0x9)      /* Multi Slot Class 9             */
#define MSLOT_CLASS_10                 (0xa)      /* Multi Slot Class 10            */
#define MSLOT_CLASS_11                 (0xb)      /* Multi Slot Class 11            */
#define MSLOT_CLASS_12                 (0xc)      /* Multi Slot Class 12            */
#define MSLOT_CLASS_13                 (0xd)      /* Multi Slot Class 13            */
#define MSLOT_CLASS_14                 (0xe)      /* Multi Slot Class 14            */
#define MSLOT_CLASS_15                 (0xf)      /* Multi Slot Class 15            */
#define MSLOT_CLASS_16                 (0x10)     /* Multi Slot Class 16            */
#define MSLOT_CLASS_17                 (0x11)     /* Multi Slot Class 17            */
#define MSLOT_CLASS_18                 (0x12)     /* Multi Slot Class 18            */
#define MSLOT_CLASS_19                 (0x13)     /* Multi Slot Class 19            */
#define MSLOT_CLASS_20                 (0x14)     /* Multi Slot Class 20 (not for HSCSD) */
#define MSLOT_CLASS_21                 (0x15)     /* Multi Slot Class 21 (not for HSCSD) */
#define MSLOT_CLASS_22                 (0x16)     /* Multi Slot Class 22 (not for HSCSD) */
#define MSLOT_CLASS_23                 (0x17)     /* Multi Slot Class 23 (not for HSCSD) */
#define MSLOT_CLASS_24                 (0x18)     /* Multi Slot Class 24 (not for HSCSD) */
#define MSLOT_CLASS_25                 (0x19)     /* Multi Slot Class 25 (not for HSCSD) */
#define MSLOT_CLASS_26                 (0x1a)     /* Multi Slot Class 26 (not for HSCSD) */
#define MSLOT_CLASS_27                 (0x1b)     /* Multi Slot Class 27 (not for HSCSD) */
#define MSLOT_CLASS_28                 (0x1c)     /* Multi Slot Class 28 (not for HSCSD) */
#define MSLOT_CLASS_29                 (0x1d)     /* Multi Slot Class 29 (not for HSCSD) */

/*
 * Value constants for VAL_dtm_g_ms_class
 */
#define SUB_CLASS_1                    (0x0)      /* Sub-Class 1 supported          */
#define SUB_CLASS_5                    (0x1)      /* Sub-Class 5 supported          */
#define SUP_CLASS_9                    (0x2)      /* Sub-Class 9 supported          */
#define VAL_DTM_G_MS_CLASS___3         (0x3)      /* Reserved                       */

/*
 * Value constants for VAL_pow_8psk_cap
 */
#define VAL_POW_8PSK_CAP___0           (0x0)      /* Reserved                       */
#define POWER_CLASS_E1                 (0x1)      
#define POWER_CLASS_E2                 (0x2)      
#define POWER_CLASS_E3                 (0x3)      

/*
 * Value constants for VAL_bands
 */
#define BAND_AUTO                      (0x0)      /* 0b00000000: All bands shall be scanned */
#define BAND_GSM_900                   (0x1)      /* 0b00000001: GSM 900 is supported, shall be scanned */
#define BAND_DCS_1800                  (0x2)      /* 0b00000010: DCS 1800 is supported, shall be scanned */
#define BAND_PCS_1900                  (0x4)      /* 0b00000100: PCS 1900 is supported, shall be scanned */
#define BAND_E_GSM                     (0x8)      /* 0b00001000: Extended GSM is supported, shall be scanned */
#define BAND_GSM_850                   (0x10)     /* 0b00010000: GSM 850 is supported, shall be scanned */
#define BAND_GSM_450                   (0x20)     /* 0b00100000: GSM 450 is supported, shall be scanned */
#define BAND_GSM_480                   (0x40)     /* 0b01000000: GSM 480 is supported, shall be scanned */
#define BAND_R_GSM                     (0x80)     /* 0b10000000: R-GSM is supported, shall be scanned */
#define BAND_DUAL                      (0x3)      /* 0b00000011: GSM 900 and DCS 1800 is supported, shall be scanned */
#define BAND_DUAL_EXT                  (0xb)      /* 0b00001011: GSM 900, E-GSM and DCS 1800 is supported, shall be scanned */
#define BAND_DUAL_US                   (0x14)     /* 0b00010100: GSM 850 and PCS 1900 is supported, shall be scanned */

/*
 * user defined constants
 */
#define RR_COM_DUMMY_CONSTANT          (0x0)      

#include "CDG_LEAVE.h"


#endif