📄 p_rrgrr.val
字号:
#define LA_FORBIDDEN (0x1) /* Loaction Area is forbidden */
#define LA_ALLOWED (0x0) /* Location Area is allowed */
/*
* Value constants for cause
*/
#define GPRS_NOT_SUPPORTED (0x0) /* Serving cell does not support GPRS */
#define GPRS_SUPPORTED (0x1) /* Serving cell supports GPRS */
#define GPRS_CELL_NOT_SUITABLE (0x2) /* for GRR-controlled cell reselection */
/*
* Value constants for pg_type
*/
#define RRGRR_IMSI (0x0) /* MS is paged by IMSI */
#define RRGRR_PTMSI (0x1) /* MS is paged by PTMSI (GPRS TMSI) */
/*
* Value constants for r_bit
*/
#define CHAN_REQ_SENT_ONCE (0x0) /* MS has sent channel request only once */
#define CHAN_REQ_SENT_MORE (0x1) /* MS has sent channel request twice or more */
/*
* Value constants for pag_mode
*/
#define PAG_MODE_LAST_ONE (0x0) /* RR shall use the last page (before pag_Reorg) */
#define PAG_MODE_REORG (0x1) /* RR shall use Paging reorg mode */
#define PAG_MODE_PTM_NP (0x2) /* RR shall use the NORMAL paging in packet transfer mode, start only CCCH */
#define PAG_MODE_PIM_NP (0x3) /* RR shall start only CCCH with REORG and change to NORMAL paging */
#define PAG_MODE_DEFAULT (0xff) /* RR shall use the default paging mode and goes to idle mode */
/*
* Value constants for split_pg
*/
#define RRGRR_NO_DRX (0x2c0) /* Non DRX mode */
/*
* Value constants for cr_type
*/
#define CR_NEW (0x0) /* RR has to reselect the given cell */
#define CR_COMPLETE (0x1) /* RR has to camp on this cell */
#define CR_CONT (0x2) /* Continue cell reselection. */
#define CR_CS (0x3) /* start cell selection process again */
#define CR_NEW_NOT_SYNCED (0x4) /* start cr for not syncd cell (ie. PCCO) */
#define CR_SUSPENDED_IDLE (0x7c) /* start idle procedures */
#define CR_REQ_CANDIDATE (0x7d) /* inform GRR that is has to start a CR */
#define CR_NORMAL (0x7e) /* Do not abort TBF */
#define CR_ABNORMAL (0x7f) /* Abort TBF */
/*
* Value constants for si_to_read
*/
#define UNSPECIFIED_SI (0x0) /* Update of unspecified SI message or SI messages */
#define UPDATE_SI1 (0x1) /* Update of SI1 message */
#define UPDATE_SI2_SI2BIS_OR_SI2TER (0x2) /* Update of SI2, SI2 bis or SI2 ter message */
#define UPDATE_SI3_SI4_SI7_OR_SI8 (0x3) /* Update of SI3, SI4, SI7 or SI8 message */
#define UPDATE_SI9 (0x4) /* Update of SI9 message */
#define COMPLETE_SI (0x5) /* Read complete SI */
#define UPDATE_SI13 (0xff) /* Update or read of SI13 */
/*
* Value constants for ident_type
*/
#define ID_IMSI (0x1) /* Paged by IMSI */
#define ID_TMSI (0x4) /* Paged by TMSI */
#define ID_PTMSI (0x8) /* Paged by PTMSI */
/*
* Value constants for susp_req
*/
#define SUSPENSION_REQ_NOT_NEEDED (0x0) /* RR need not send GPRS suspension request */
#define SUSPENSION_REQ_NEEDED (0x1) /* RR has to send GPRS suspension request */
/*
* Value constants for rr_est
*/
#define RR_EST_NOT_ALLOWED (0x0) /* RR establishment not allowed */
#define RR_EST_ALLOWED (0x1) /* RR establishment allowed */
/*
* Value constants for old_ptmsi
*/
#define RRGRR_PTMSI_INVALID (0xffffffff)/* P-TMSI or TMSI invalid (see GSM 3.03) */
/*
* Value constants for reconn_cause
*/
#define RECONN_NORM_EVENT (0x0) /* Normal event */
#define RECONN_UNSPECIFIED (0x1) /* Abnormal release, unspecified */
#define RECONN_CHN_UNACCEPTABLE (0x2) /* Abnormal release, channel unacceptable */
#define RECONN_TIMER_EXPIRED (0x3) /* Abnormal release, timer expired */
#define RECONN_NO_ACTIVITY (0x4) /* Abnormal release, no activity on the radio path */
#define RECONN_PREEMPTIVE (0x5) /* Preemptive release */
#define RECONN_TA_OUT_OF_RANGE (0x8) /* Handover impossible, timing advance out of range */
#define RECONN_CHANNEL_MODE (0x9) /* Channel mode unacceptable */
#define RECONN_FREQ_NOT_IMPL (0xa) /* Frequency not implemented */
#define RECONN_CALL_CLEARED (0x41) /* Call already cleared */
#define RECONN_INCORRECT_SEMANTIC (0x5f) /* Semantically incorrect message */
#define RECONN_INVALID_INFO (0x60) /* Invalid mandatory information */
#define RECONN_UNKNWN_MSG_TYPE (0x61) /* Message type non-existent or not implemented */
#define RECONN_INCMPTBLE_MSG_TYPE (0x62) /* Message type not compatible with protocol state */
#define RECONN_COND_IE_ERROR (0x64) /* Conditional IE error */
#define RECONN_NO_CELL_ALLOC (0x65) /* No cell allocation available */
#define RECONN_PROT_UNSPECIFIED (0x6f) /* Protocol error unspecified */
/*
* Value constants for reconn_state
*/
#define RECONN_OK (0x0) /* The reconnection to the 'old' channel was cuessful */
#define RECONN_LOW_FAIL (0x1) /* A Lower Layer Failure occured during the reconnection. */
/*
* Value constants for stop_cause
*/
#define CONTENTION_RESOLUTION_FAIL (0x3) /* Establishment fails due to contention resolution */
#define DL_ESTABLISHMENT_FAIL (0x4) /* Layer 2 establishment failure */
/*
* Value constants for sync_res
*/
#define SYNC_OK (0x0) /* Synchronisation OK */
#define SYNC_FAILED (0x1) /* Synchronisation failed */
/*
* Value constants for cell_type
*/
#define SYNC_SCELL (0x0) /* Synchronisation to serving cell */
#define SYNC_NCELL (0x1) /* Synchronisation to neighbour cell */
/*
* Value constants for report_type
*/
#define REP_TYPE_1 (0x0) /* synchronize to the 6 strongest carriers and provide their BSICs */
#define REP_TYPE_2 (0x1) /* synchronize to carriers in decreasing field strength until the BSICs for 6 carriers with allowed NCC are fully decoded */
#define REP_TYPE_3 (0x2) /* no synchronization, no BSICs are provided */
#define REP_TYPE_RES (0x3) /* reserved, ignore request for measurement data in this version */
/*
* Value constants for xmeas_cause
*/
#define EXT_MEAS_OK (0x0) /* The results of the Extended Measurment procedure are valid. */
#define EXT_MEAS_RESET (0x1) /* GRR has stopped the Extended Measurement procedure */
#define EXT_MEAS_LEAVE_IDLE (0x2) /* RR has entered a non-idle state and stopped the Extended Measurement procedure */
/*
* enum to UnionController task
*/
#ifndef __T_ctrl_task__
#define __T_ctrl_task__
typedef enum
{
RR_TASK_1 = 0x0,
LEAVE_PIM_PBCCH = 0x1,
LEAVE_PAM_PBCCH = 0x2,
LEAVE_PTM_PBCCH = 0x3
}T_ctrl_task;
#endif
/*
* Value constants for state
*/
#define TASK_STATE_PIM (0x0) /* Packet Idle Mode */
#define TASK_STATE_PAM (0x1) /* Packet Access Mode */
#define TASK_STATE_PTM (0x2) /* Packet Transfer Mode */
/*
* user defined constants
*/
#define RRGRR_MAX_ARFCN_NCELL_SYNC_REQ (0xc)
#define RRGRR_MAX_RSLT_NCELL_SYNC_IND (0x6)
#define RRGRR_MAX_ARFCN_EXT_MEAS (0x40)
#define RRGRR_BA_LIST_SIZE (0x20)
#define RRGRR_MEAS_REP_LIST_SIZE (0x6)
#define SIZE_MCC (0x3)
#define SIZE_MNC (0x3)
#include "CDG_LEAVE.h"
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -