view gpf/CCD/util/freq_list_codec/P_OMRR.val @ 121:282e78e6e772

l1_pwmgr.c: initial import of LoCosto source
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Wed, 11 May 2016 23:46:39 +0000
parents 509db1a7b7b8
children
line wrap: on
line source

/*
+--------------------------------------------------------------------+
| PROJEKT : PROTOCOL STACK                                           |
| FILE    : P_OMRRBTSM.val                                           |
| SOURCE  : OMRRBTSM.pdf                                             |
| Generated by CCDGEN on Thu Sep 20 13:53:09 2001                    |
|           !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!!          |
+--------------------------------------------------------------------+
*/


#ifndef P_OMRRBTSM_VAL
#define P_OMRRBTSM_VAL

/*
 * Value constants for format
 */
#define NCELL_FMT_BITMAP               0x0         /* in non-auto encoding mode use bit map format */
#define NCELL_FMT_1024                 0x80        /* in non-auto encoding mode use range 1024 format */
#define NCELL_FMT_512                  0x88        /* in non-auto encoding mode use range 512 format */
#define NCELL_FMT_256                  0x8a        /* in non-auto encoding mode use range 256 format */
#define NCELL_FMT_128                  0x8c        /* in non-auto encoding mode use range 128 format */
#define NCELL_FMT_VAR                  0x8e        /* in non-auto encoding mode use variable bit map format */
#define NCELL_FMT_AUTO                 0xffff      
/*
 * Value constants for cnt_att_imm_ass_cell_cause
 */
#define RR_IA_CAUSE_EMERGE             0x0         /* emergency call                 */
#define RR_IA_CAUSE_REESTAB            0x1         /* call re-establishment          */
#define RR_IA_CAUSE_MTC                0x2         /* answer to paging               */
#define RR_IA_CAUSE_MOC                0x3         /* originating call               */
#define RR_IA_CAUSE_LUP                0x4         /* location area updating         */
#define RR_IA_CAUSE_OTHER              0x5         /* other procedures               */
/*
 * Value constants for mask
 */
#define PM_CNT_TRANS_PAG_MSG_CELL      0x1         /* Number of paging messages transmitted in a cell. */
#define PM_CNT_UNSUC_PAG_MSG_CELL      0x2         /* Number of unsuccessful paging messages transmitted in a cell. */
#define PM_CNT_ATT_IMM_ASS_CELL_CAUSE  0x4         /* Number of attempted immediate assignment procedures in a cell, per cause. */
#define PM_CNT_SUC_IMM_ASS_CELL_CAUSE  0x8         /* Number of successful immediate assignment procedures in a cell, per cause. */
#define PM_CNT_ATT_TCH_SEIZ            0x10        /* Number of attempted TCH seizures in a cell. */
#define PM_CNT_SUC_TCH_SEIZ            0x20        /* Number of successful TCH seizures in a cell. */
#define PM_CNT_RF_FAILURE              0x40        /* Number of calls terminated in a cell due to RF failure on the radio path. */
#define PM_CNT_RF_FAILURE_SDCCH        0x80        /* Number of RF failures in the cell when using an SDCCH. */
/*
 * Value constants for tch_type_pref
 */
#define PREF_ANY                       0x0         /* no preference, Resource Manager will decide */
#define PREF_HALF                      0x1         /* prefer half rate over full rate */
#define PREF_FULL                      0x2         /* prefer half rate over full rate */
/*
 * Value constants for direct_tch_assign
 */
#define DIRECT_ANY                     0x0         /* no preference, Resource Manager will decide */
#define DIRECT_SDCCH                   0x1         /* choose SDCCH, don't use TCH    */
#define DIRECT_TCH                     0x2         /* choose TCH (very early assignment), do not use SDCCH */
/*
 * Value constants for freq_band
 */
#define FREQ_BAND_PGSM                 0x1         /* primary GSM, 124 channel in the 900 MHz band */
#define FREQ_BAND_EGSM                 0x2         /* extended GSM, 174 channel in the 900 MHz band */
#define FREQ_BAND_DCS                  0x4         /* GSM in the 1800 MHz band (DCS1800) */
#define FREQ_BAND_PCS                  0x8         /* GSM in the 1900 MHz band (PCS1900) */
/*
 * Value constants for si_type
 */
#define NCELL_SI2                      0x1         /* use System Information Type 2  */
#define NCELL_SI2BIS                   0x2         /* use System Information Type 2bis */
#define NCELL_SI2TER                   0x4         /* use System Information Type 2ter */
#define NCELL_SI5                      0x100       /* use System Information Type 5  */
#define NCELL_SI5BIS                   0x200       /* use System Information Type 5bis */
#define NCELL_SI5TER                   0x400       /* use System Information Type 5ter */
/*
 * Value constants for auto_mode
 */
#define NCELL_NONAUTO                  0x0         /* do not use automatic encoding strategy */
#define NCELL_AUTO                     0x1         /* do use automatic encoding strategy */
/*
 * Value constants for solsa
 */
#define SOLSA_NONE                     0x0         /* do not support SoLSA, backward compatibility */
#define SOLSA_MIXED                    0x1         /* treat SoLSA mobiles and non-SoLSA Mobiles equally */
#define SOLSA_ONLY                     0x2         /* allow SoLSA mobiles only       */
/*
 * Value constants for attrib_mask
 */
#define ATT_T3101                      0x1         /* This timer is started when a channel is allocated with an IMMEDIATE ASSIGNMENT message. It is stopped when the MS has correctly seized the channels. Does the BTS implement this timer? */
#define ATT_T3103                      0x2         /* This timer is started by the sending of a HANDOVER message and is normally stopped when the MS has correctly seized the new channel. */
#define ATT_T3105                      0x4         /* This timer is used for the repetition of the PHYSICAL INFORMATION message during the handover procedure. */
#define ATT_T3107                      0x8         /* This timer is started by the sending of an ASSIGNMENT COMMAND message and is normally stopped when the MS has correctly seized the new channels. */
#define ATT_T3109                      0x10        /* This timer is started when a lower layer failure is detected by the network, when it is not engaged in a RF procedure. It is also used in the channel release procedure. */
#define ATT_T3111                      0x20        /* This timer is used to delay the channel deactivation after disconnection of the main signaling link. Its purpose is to let some time for possible repetition of the disconnection. */
#define ATT_T3113                      0x40        /* This timer is started when the network has sent a PAGING REQUEST message and is stopped when the network has received the PAGING RESPONSE message. */
#define ATT_TIM_RF_CH_REL              0x100       /* This timer guards the channel release process. */
#define ATT_TIM_FHO                    0x200       /* This timer is started when a LAPD FORCED_HO_REQ is sent to the BTS */
#define ATT_TIM_ABIS                   0x400       /* This timer is started when a message is sent to the BTS and a response is awaited */
#define ATT_TIM_CLZEARLY               0x800       /* This timer is used to supervise the reception of a classmark change. The timer is started when the initial L3 message is received and early classmark sending is configured. */
#define ATT_TIM_CLZMRK                 0x1000      /* This timer is used to supervise the reception of a classmark change. The timer is started when the classmark enquiry procedure is initiated. */
#define ATT_TIM_CIPH_CMD               0x2000      /* This timer is used to guard the D_CIPH_CMD message. The timer is started when the D_CIPH_CMD message is send to the MS and stopped on receipt of the U_CIPH_COMP message from the MS. */
#define ATT_N3113                      0x10000     /* This counter contains the threshold for the number of paging attempts. Once the number of paging attempts has been reached RR will send a negative confirm (PSCS_ABNORM_RELEASE_TIM_EXP) to MM within the RR_ESTABLISH_CNF primitive. */
#define ATT_TCH_TYPE_PREF              0x100000    /* During the channel required procedure RR may choose between half and full rate. The PREFER attribute sets the selected channel type. */
#define ATT_TCH_MODE_SPEECH            0x1000000   
#define ATT_TCH_MODE_DATA              0x2000000   
#define ATT_NON_TRANSPARENT            0x4000000   
#define ATT_DTX_UPLINK                 0x10000000  
#define ATT_DTX_DOWNLINK               0x20000000  
#define ATT_DIRECT_TCH_ASSIGN          0x40000000  
#define ATT_FREQ_BAND                  0x80000000  /* Frequency band, default is PGSM if ATT_FREQ_BAND is not specified */
/*
 * Value constants for result
 */
#define RESULT_SUCCESS                 0x1         /* Success                        */
#define RESULT_FAIL                    0x0         /* Failure                        */
/*
 * Value constants for rr_warp_perf_meas_mask
 */
#define PM_CNT_TRANS_PAG_CHAN          0x1         /* Number of paging messages transmitted. */
#define PM_CNT_UNSUC_PAG_CHAN          0x2         /* Number of unsuccessful paging requests. */
#define PM_CNT_SUC_IMM_ASS             0x4         /* Number of attempted immediate assignment procedures. */
#define PM_CNT_ATT_IMM_ASS             0x8         /* Number of successful immediate assignment procedures. */
#define PM_MEAN_MOC                    0x10        /* Mean inter-arrival time between consecutive mobile originating call attempts */
#define PM_CNT_CLASSM_UPD              0x20        /* Number of Classmark updates    */
/*
 * Value constants for act_type
 */
#define ACT_CONTINUE                   0x0         /* The performance measurements shall not be reset */
#define ACT_RESET                      0x1         /* The performance measurements shall be reset */
/*
 * Value constants for sys_info_attrib_mask
 */
#define SI_NEIGH_CELL_DESC             0x1         /* Neighbor Cell Description      */
#define SI_NCC_PERMIT                  0x2         /* NCC Permitted                  */
#define SI_MAX_RETRANS                 0x4         /* Maximum number of retransmissions */
#define SI_TX_INTEGER                  0x8         /* Tx-Integer, number of slots to spread transmission */
#define SI_CELL_BAR_ACCESS             0x10        /* Cell barred for access         */
#define SI_CALL_REESTAB                0x20        /* Call re-establishment allowed  */
#define SI_ACC_CTRL_CLASS              0x80        /* Access control class           */
#define SI_CELL_IDENT                  0x100       /* Cell Identity                  */
#define SI_MCC                         0x200       /* Mobile Country Code            */
#define SI_MNC                         0x400       /* Mobile Network Code            */
#define SI_LAC                         0x800       /* Location Area Code             */
#define SI_ATT                         0x1000      /* Attach-detach allowed          */
#define SI_BS_AG_BLKS_RES              0x2000      /* Number of blocks reserved for access grant */
#define SI_CCCH_CONF                   0x4000      /* CCCH Conf                      */
#define SI_BS_PA_MFRMS                 0x8000      /* Number of multiframes period for transmission of PAGING REQUEST messages to the same paging subgroup */
#define SI_T3212                       0x10000     /* Timeout value for periodic updating */
#define SI_POW_CTRL                    0x20000     /* Power control indicator        */
#define SI_DTX_B                       0x40000     /* DTX indicator (BCCH), up-link  */
#define SI_DTX_S                       0x80000     /* DTX indicator (SACCH), up-link */
#define SI_RLT                         0x100000    /* Radio link timeout             */
#define SI_CELL_RESEL_HYST             0x200000    /* Cell reselect hysteresis       */
#define SI_MS_TXPWR_MAX_CCH            0x400000    /* Maximum TX pwer level an MS may use when accessing on a control channel CCH */
#define SI_ACS                         0x800000    /* Location of Additional reselect parameters (acs bit in SI4 message) */
#define SI_RXLEV_ACCESS_MIN            0x1000000   /* Minimum received signal level at the MS for  which it is permitted to access the system */
#define SI_CELL_BAR_QUAL               0x2000000   /* Cell bar qualify, controls the MS cell selection and reselection */
#define SI_CELL_RESEL_OFFSET           0x4000000   /* Cell reselect offset i         */
#define SI_TEMP_OFFSET                 0x8000000   /* Temporary offset               */
#define SI_PENALTY_TIME                0x10000000  /* Penalty time                   */
#define SI_OPT_POWER_OFF               0x20000000  /* Optional power offset          */
#define SI_SI2TER_IND                  0x40000000  /* System information 2TER indicator */
#define SI_EARLY_CLASS_MARK            0x80000000  /* Early classmark sending control */
#define SI_BSIC                        0x40        /* Base Station Identification Code */
#define SI2_SOLSA                      0x1         /* Support of Localized Service Area */
#define SI2_LSA                        0x2         /* Localized Service Area (+ acs bit in SI3 message) */
#define SI2_CELL_ALLOC                 0x4         /* Cell Allocation                */
/*
 * Value constants for sys_info_attrib_mask2
 */
#define SI_NEIGH_CELL_DESC             0x1         /* Neighbor Cell Description      */
#define SI_NCC_PERMIT                  0x2         /* NCC Permitted                  */
#define SI_MAX_RETRANS                 0x4         /* Maximum number of retransmissions */
#define SI_TX_INTEGER                  0x8         /* Tx-Integer, number of slots to spread transmission */
#define SI_CELL_BAR_ACCESS             0x10        /* Cell barred for access         */
#define SI_CALL_REESTAB                0x20        /* Call re-establishment allowed  */
#define SI_ACC_CTRL_CLASS              0x80        /* Access control class           */
#define SI_CELL_IDENT                  0x100       /* Cell Identity                  */
#define SI_MCC                         0x200       /* Mobile Country Code            */
#define SI_MNC                         0x400       /* Mobile Network Code            */
#define SI_LAC                         0x800       /* Location Area Code             */
#define SI_ATT                         0x1000      /* Attach-detach allowed          */
#define SI_BS_AG_BLKS_RES              0x2000      /* Number of blocks reserved for access grant */
#define SI_CCCH_CONF                   0x4000      /* CCCH Conf                      */
#define SI_BS_PA_MFRMS                 0x8000      /* Number of multiframes period for transmission of PAGING REQUEST messages to the same paging subgroup */
#define SI_T3212                       0x10000     /* Timeout value for periodic updating */
#define SI_POW_CTRL                    0x20000     /* Power control indicator        */
#define SI_DTX_B                       0x40000     /* DTX indicator (BCCH), up-link  */
#define SI_DTX_S                       0x80000     /* DTX indicator (SACCH), up-link */
#define SI_RLT                         0x100000    /* Radio link timeout             */
#define SI_CELL_RESEL_HYST             0x200000    /* Cell reselect hysteresis       */
#define SI_MS_TXPWR_MAX_CCH            0x400000    /* Maximum TX pwer level an MS may use when accessing on a control channel CCH */
#define SI_ACS                         0x800000    /* Location of Additional reselect parameters (acs bit in SI4 message) */
#define SI_RXLEV_ACCESS_MIN            0x1000000   /* Minimum received signal level at the MS for  which it is permitted to access the system */
#define SI_CELL_BAR_QUAL               0x2000000   /* Cell bar qualify, controls the MS cell selection and reselection */
#define SI_CELL_RESEL_OFFSET           0x4000000   /* Cell reselect offset i         */
#define SI_TEMP_OFFSET                 0x8000000   /* Temporary offset               */
#define SI_PENALTY_TIME                0x10000000  /* Penalty time                   */
#define SI_OPT_POWER_OFF               0x20000000  /* Optional power offset          */
#define SI_SI2TER_IND                  0x40000000  /* System information 2TER indicator */
#define SI_EARLY_CLASS_MARK            0x80000000  /* Early classmark sending control */
#define SI_BSIC                        0x40        /* Base Station Identification Code */
#define SI2_SOLSA                      0x1         /* Support of Localized Service Area */
#define SI2_LSA                        0x2         /* Localized Service Area (+ acs bit in SI3 message) */
#define SI2_CELL_ALLOC                 0x4         /* Cell Allocation                */

/*
 * user defined constants
 */
#define MAX_IMM_ASS_CAUSE              0x6         
#define MAX_CELLS                      0x18        
#define ATT_MIN_TIMERVALUE             0x1         
#define NARFCN                         0x40        
#define NHOP                           0x40        
#define NENCODE                        0x3         
#define MAX_LSA                        0x8         
#define MAX_LSA_NAME                   0xa         
#define ARFCN_FMT_BITMAP               0x0         
#define ARFCN_FMT_1024                 0x80        
#define ARFCN_FMT_512                  0x88        
#define ARFCN_FMT_256                  0x8a        
#define ARFCN_FMT_128                  0x8c        
#define ARFCN_FMT_VAR                  0x8e        
#define ARFCN_FMT_AUTO                 0xffff      

#endif