view cdg211/msg/rr_com.mdf @ 326:919b44c991fc

FCHG: reading of battery table from FFS implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 05 Dec 2017 05:04:09 +0000
parents 56abf6cf8a0b
children
line wrap: on
line source

;********************************************************************************
;*** File           : rr_com.mdf
;*** Creation       : Fri Jun 08 13:58:44 CST 2007
;*** XSLT Processor : Apache Software Foundation / http://xml.apache.org/xalan-j / supports XSLT-Ver: 1
;*** Copyright      : (c) Texas Instruments AG, Berlin Germany 2002
;********************************************************************************
;*** Document Type  : Air Interface Message Specification
;*** Document Name  : rr_com
;*** Document No.   : 8443.250.02.008
;*** Document Date  : 2002-11-18
;*** Document Status: BEING_PROCESSED
;*** Document Author: MSB
;********************************************************************************



PRAGMA 	SRC_FILE_TIME 	"Mon Nov 24 15:49:38 2003"
PRAGMA 	LAST_MODIFIED 	"2002-11-18"
PRAGMA 	ID_AND_VERSION 	"8443.250.02.008"



CONST 	RR_COM_DUMMY_CONSTANT 	0 	; Dummy to fulfil tool requirements to have section 2 of  an MSG



VALTAB 	VAL_bool
VAL 	0 	NO 	"value is not set"
VAL 	1 	YES 	"value is set"
VAL 	0 	NOT_SUPPORTED 	"feature not supported"
VAL 	1 	SUPPORTED 	"feature supported"

VALTAB 	VAL_rev_lev
VAL 	DEF 	 	"Reserved by future use"
VAL 	0 	PHASE_1 	"Reserved for GSM phase 1"
VAL 	1 	PHASE_2 	"Used by GSM phase 2 mobile stations"
VAL 	2 	R99_SUPPORT 	"Used by mobile stations supporting R99 or later versions"

VALTAB 	VAL_ss_screen
VAL 	DEF 	 	"for future use (The network shall interpret these values the same as ?1?)"
VAL 	0 	SS_SCREEN_DEFAULT 	"default value of phase 1"
VAL 	1 	SS_SCREEN_PHASE_2 	"capability of handling of ellipsis notation and phase 2 error handling"

VALTAB 	VAL_egsm
VAL 	0 	EGSM_NOT_SUPPORTED 	"The mobile station does not support the extension band."
VAL 	1 	EGSM_SUPPORTED 	"The mobile station does support the extension band (E-GSM or R-GSM)."

VALTAB 	VAL_ucs2_treat
VAL 	0 	DEFAULT_PREF 	"the ME has a preference for the default alphabet (defined in GSM 03.38) over UCS2."
VAL 	1 	NO_PREF 	"the ME has no preference between the use of the default alphabet and the use of UCS2."

VALTAB 	VAL_single_band
VAL 	DEF 	 	"Reserved"
VAL 	0 	SINGLE_EGSM 	"Extended GSM is supported"
VAL 	1 	SINGLE_GSM900 	"GSM 900 is supported"
VAL 	2 	SINGLE_DCS1800 	"DCS 1800 is supported"
VAL 	3 	SINGLE_GSM450 	"GSM 450 is supported"
VAL 	4 	SINGLE_GSM480 	"GSM 480 is supported"
VAL 	5 	SINGLE_GSM850 	"GSM 850 is supported"
VAL 	6 	SINGLE_PCS1900 	"PCS 1900 is supported"

VALTAB 	VAL_mod_cap
VAL 	0 	DL_ONLY_8PSK 	"8-PSK supported for downlink reception only"
VAL 	1 	FULL_8PSK 	"8-PSK supported for uplink transmission and downlink reception"

VALTAB 	VAL_mb_value
VAL 	DEF 	 	"Reserved"
VAL 	0 	MB_NO_EUROPEAN_BAND 	"0b000: neither GSM 900, E-GSM or DCS 1800 supported"
VAL 	1 	MB_GSM900 	"0b001: GSM 900 is supported"
VAL 	2 	MB_EGSM 	"0b010: E-GSM is supported"
VAL 	4 	MB_DCS1800 	"0b100: DCS 1800 is supported"
VAL 	5 	MB_DUAL 	"0b101: GSM 900 and DCS 1800 is supported"
VAL 	6 	MB_DUAL_EXT 	"0b110: E-GSM and DCS 1800 is supported"

VALTAB 	VAL_gsm400_supp
VAL 	0 	 	"reserved (if neither GSM 480 nor GSM 450 is supported the whole gsm400_struct is omitted)"
VAL 	1 	GSM480 	"GSM 480 supported but GSM 450 not supported"
VAL 	2 	GSM450 	"GSM 450 supported but GSM 480 not supported"
VAL 	3 	GSM450_480 	"GSM 450 supported and GSM 480 supported"

VALTAB 	VAL_acc_tech_typ
VAL 	DEF 	 	"unknown"
VAL 	0 	ACC_GSM_P 	"GSM P"
VAL 	1 	ACC_GSM_E 	"GSM E -note that GSM E covers GSM P"
VAL 	2 	ACC_GSM_R 	"GSM R - note that GSM R covers GSM E and GSM P"
VAL 	3 	ACC_GSM_1800 	"GSM 1800 (DCS)"
VAL 	4 	ACC_GSM_1900 	"GSM 1900 (PCS)"
VAL 	5 	ACC_GSM_450 	"GSM 450"
VAL 	6 	ACC_GSM_480 	"GSM 480"
VAL 	7 	ACC_GSM_850 	"GSM 850"
VAL 	15 	ACC_INVALID 	"no valid access technology type present (this value isn?t defined in the specification)"

VALTAB 	VAL_sms_val
VAL 	0 	SM_1 	"1/4  timeslot (~144 micro sec)"
VAL 	1 	SM_2 	"2/4 timeslot (~288 micro sec)"
VAL 	2 	SM_3 	"3/4 timeslot (~433 micro sec)"
VAL 	3 	SM_4 	"4/4 timeslot"
VAL 	4 	SM_5 	"5/4 timeslot"
VAL 	5 	SM_6 	"6/4 timeslot"
VAL 	6 	SM_7 	"7/4 timeslot"
VAL 	7 	SM_8 	"8/4 timeslot"
VAL 	8 	SM_9 	"9/4 timeslot"
VAL 	9 	SM_10 	"10/4 timeslot"
VAL 	10 	SM_11 	"11/4 timeslot"
VAL 	11 	SM_12 	"12/4 timeslot"
VAL 	12 	SM_13 	"13/4 timeslot"
VAL 	13 	SM_14 	"14/4 timeslot"
VAL 	14 	SM_15 	"15/4 timeslot"
VAL 	15 	SM_16 	"16/4 timeslot (~2307 micro sec)"

VALTAB 	VAL_rf_pow_cap
VAL 	0 	RF_CLASS_1 	"class 1 for GSM 850, 900P+E, DCS 1800 and PCS 1900"
VAL 	1 	RF_CLASS_2 	"class 2 for GSM 850, 900P+E, DCS 1800 and PCS 1900"
VAL 	2 	RF_CLASS_3 	"class 3 for GSM 850, 900P+E, DCS 1800 and PCS 1900"
VAL 	3 	RF_CLASS_4 	"class 4 for GSM 850, 900P+E (reserved for DCS 1800 and PCS 1900)"
VAL 	4 	RF_CLASS_5 	"class 5 for GSM 850, 900P+E (reserved for DCS 1800 and PCS 1900)"
VAL 	5 	 	"reserved"
VAL 	6 	 	"reserved"
VAL 	7 	RF_CLASS_IRRELEVANT 	"irrelevent for this IE (multiband GSM MS)"

VALTAB 	VAL_pow_class
VAL 	1 	POWER_CLASS_1 	"Power Class 1"
VAL 	2 	POWER_CLASS_2 	"Power Class 2"
VAL 	3 	POWER_CLASS_3 	"Power Class 3"
VAL 	4 	POWER_CLASS_4 	"Power Class 4"
VAL 	5 	POWER_CLASS_5 	"Power Class 5"
VAL 	6 	 	"Reserved"
VAL 	7 	 	"Reserved"
VAL 	POWER_CLASS_2 	MIN_CLASS_GSM 	"minimal GSM power class"
VAL 	POWER_CLASS_5 	MAX_CLASS_GSM 	"maximal GSM power class"
VAL 	POWER_CLASS_1 	MIN_CLASS_DCS 	"minimal DCS power class"
VAL 	POWER_CLASS_3 	MAX_CLASS_DCS 	"maximal DCS power class"
VAL 	POWER_CLASS_1 	MIN_CLASS_PCS 	"minimal PCS power class"
VAL 	POWER_CLASS_3 	MAX_CLASS_PCS 	"maximal PCS power class"
VAL 	POWER_CLASS_5 	CLASS_MIN_POW_GSM 	"GSM power class with the lowest output power"
VAL 	POWER_CLASS_2 	CLASS_MIN_POW_DCS 	"DCS power class with the lowest output power"
VAL 	POWER_CLASS_2 	CLASS_MIN_POW_PCS 	"PCS power class with the lowest output power"
VAL 	0 	IDX_PWRCLASS_900 	"Index for use with rf_cap.rf_power.pow_class4[] array"
VAL 	1 	IDX_PWRCLASS_1800 	"Index for use with rf_cap.rf_power.pow_class4[] array"
VAL 	2 	IDX_PWRCLASS_1900 	"Index for use with rf_cap.rf_power.pow_class4[] array"
VAL 	3 	IDX_PWRCLASS_850 	"Index for use with rf_cap.rf_power.pow_class4[] array"
VAL 	4 	IDX_PWRCLASS_400 	"Index for use with rf_cap.rf_power.pow_class4[] array"

VALTAB 	VAL_ms_class
VAL 	1 	MSLOT_CLASS_1 	"Multi Slot Class 1"
VAL 	2 	MSLOT_CLASS_2 	"Multi Slot Class 2"
VAL 	3 	MSLOT_CLASS_3 	"Multi Slot Class 3"
VAL 	4 	MSLOT_CLASS_4 	"Multi Slot Class 4"
VAL 	5 	MSLOT_CLASS_5 	"Multi Slot Class 5"
VAL 	6 	MSLOT_CLASS_6 	"Multi Slot Class 6"
VAL 	7 	MSLOT_CLASS_7 	"Multi Slot Class 7"
VAL 	8 	MSLOT_CLASS_8 	"Multi Slot Class 8"
VAL 	9 	MSLOT_CLASS_9 	"Multi Slot Class 9"
VAL 	10 	MSLOT_CLASS_10 	"Multi Slot Class 10"
VAL 	11 	MSLOT_CLASS_11 	"Multi Slot Class 11"
VAL 	12 	MSLOT_CLASS_12 	"Multi Slot Class 12"
VAL 	13 	MSLOT_CLASS_13 	"Multi Slot Class 13"
VAL 	14 	MSLOT_CLASS_14 	"Multi Slot Class 14"
VAL 	15 	MSLOT_CLASS_15 	"Multi Slot Class 15"
VAL 	16 	MSLOT_CLASS_16 	"Multi Slot Class 16"
VAL 	17 	MSLOT_CLASS_17 	"Multi Slot Class 17"
VAL 	18 	MSLOT_CLASS_18 	"Multi Slot Class 18"
VAL 	19 	MSLOT_CLASS_19 	"Multi Slot Class 19"
VAL 	20 	MSLOT_CLASS_20 	"Multi Slot Class 20 (not for HSCSD)"
VAL 	21 	MSLOT_CLASS_21 	"Multi Slot Class 21 (not for HSCSD)"
VAL 	22 	MSLOT_CLASS_22 	"Multi Slot Class 22 (not for HSCSD)"
VAL 	23 	MSLOT_CLASS_23 	"Multi Slot Class 23 (not for HSCSD)"
VAL 	24 	MSLOT_CLASS_24 	"Multi Slot Class 24 (not for HSCSD)"
VAL 	25 	MSLOT_CLASS_25 	"Multi Slot Class 25 (not for HSCSD)"
VAL 	26 	MSLOT_CLASS_26 	"Multi Slot Class 26 (not for HSCSD)"
VAL 	27 	MSLOT_CLASS_27 	"Multi Slot Class 27 (not for HSCSD)"
VAL 	28 	MSLOT_CLASS_28 	"Multi Slot Class 28 (not for HSCSD)"
VAL 	29 	MSLOT_CLASS_29 	"Multi Slot Class 29 (not for HSCSD)"

VALTAB 	VAL_dtm_g_ms_class
VAL 	0 	SUB_CLASS_1 	"Sub-Class 1 supported"
VAL 	1 	SUB_CLASS_5 	"Sub-Class 5 supported"
VAL 	2 	SUP_CLASS_9 	"Sub-Class 9 supported"
VAL 	3 	 	"Reserved"

VALTAB 	VAL_pow_8psk_cap
VAL 	0 	 	"Reserved"
VAL 	1 	POWER_CLASS_E1 	""
VAL 	2 	POWER_CLASS_E2 	""
VAL 	3 	POWER_CLASS_E3 	""

VALTAB 	VAL_bands
VAL 	0x00 	BAND_AUTO 	"0b00000000: All bands shall be scanned"
VAL 	0x01 	BAND_GSM_900 	"0b00000001: GSM 900 is supported, shall be scanned"
VAL 	0x02 	BAND_DCS_1800 	"0b00000010: DCS 1800 is supported, shall be scanned"
VAL 	0x04 	BAND_PCS_1900 	"0b00000100: PCS 1900 is supported, shall be scanned"
VAL 	0x08 	BAND_E_GSM 	"0b00001000: Extended GSM is supported, shall be scanned"
VAL 	0x10 	BAND_GSM_850 	"0b00010000: GSM 850 is supported, shall be scanned"
VAL 	0x20 	BAND_GSM_450 	"0b00100000: GSM 450 is supported, shall be scanned"
VAL 	0x40 	BAND_GSM_480 	"0b01000000: GSM 480 is supported, shall be scanned"
VAL 	0x80 	BAND_R_GSM 	"0b10000000: R-GSM is supported, shall be scanned"
VAL 	0x03 	BAND_DUAL 	"0b00000011: GSM 900 and DCS 1800 is supported, shall be scanned"
VAL 	0x0B 	BAND_DUAL_EXT 	"0b00001011: GSM 900, E-GSM and DCS 1800 is supported, shall be scanned"
VAL 	0x14 	BAND_DUAL_US 	"0b00010100: GSM 850 and PCS 1900 is supported, shall be scanned"




VAR 	bool 	"Boolean; the value is set (1) or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	support 	"Feature Support; MS does supports a feature (1) or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	flag_ra_cap2 	"Valid flag for MS RA capability value part II; Second part of MS RA capability is available (1) or not (1)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	es_ind 	"Early Classmark Sending; 'controlled early classmark sending' option is implemented (1) or not (0) in the MS" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	ps 	"Pseudo Synchronisation capability; Pseudo synchronisation capabilty is present (1) or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	mt_pp_sms 	"Short Message capability; MS does supports (1) MT point to point SMS or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	vgcs 	"Voice Group Call Service; VGCS capability and notification wanted (1) or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	vbs 	"Voice Broadcast Service; VBS capability and notification wanted (1) or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	class3 	"Classmark 3; The MS supports options that are indicated in classmark 3 (1) or it does not support any classmark 3 options (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	lcsva 	"LCSVA capability; LCS value added location request notification supported (1) or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	solsa 	"SoLSA Supported; MS does supports SoLSA (1) or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	cmsp 	"CMSP Supported; MS does supports (1) CM service Prompt (network initiated MO CM connection request) or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	ext_meas 	"Extended Measurement Capability; MS does supports 'extended measurements`(1) or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	meas 	"Measurement Capability; Indicates whether the IE contains any value about the measurement capabilities or not" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	pos 	"MS Positioning Method Capability; Indicates whether MS does supports positioning method or not" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	edge 	"EDGE Structure; Indicates whether MS does supports the EDGE or not" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	edge_ms 	"Multi Slot Capability; Indicates whether MS does supports the use of multiple timeslots or not" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	ms 	"Multi Slot Capability; indicates whether MS does supports the use of multiple timeslots or not" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	hscsd_ms 	"HSCSD Multi Slot Capability; indicates whether MS supports the use of multiple timeslots or not" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	gprs_ms 	"GPRS Multi Slot Capability; indicates whether MS supports the use of multiple timeslots or not" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	ecsd_ms 	"ECSD Multi Slot Capability; indicates whether MS supports the use of multiple timeslots or not" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	egprs_ms 	"EGPRS Multi Slot Capability; indicates whether MS supports the use of multiple timeslots or not" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	mod 	"Modulation Capability; MS does supports 8-PSK modulation for uplink and downlink (1) or only for downlink (0) in addition to GSMK" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	assist_eotd 	"MS assisted E-OTD; MS does supports assisted E-OTD (1) or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	based_eotd 	"MS based E-OTD; MS does supports based E-OTD (1) or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	assist_gps 	"MS assisted GPS; MS does supports assisted GPS (1) or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	based_gps 	"MS based GPS; MS does supports based GPS (1) or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	conv_gps 	"MS conventional GPS; MS does supports conventional GPS (1) or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	umts_fdd 	"UMTS FDD Radio Access Technology; MS does supports  UMTS FDD (1) or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	umts_tdd 	"UMTS TDD Radio Access Technology; MS does supports UMTS TDD (1) or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	cdma2000 	"CDMA 2000 Radio Access Technology; MS does supports CDMA 2000 (1) or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	mac_support 	"MAC Mode support; MS does supports dynamice and fixed allocation (1) or only exclusive allocation (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	compact 	"COMPACT Interference Measurement Capability; COMPACT Interference Measurement Capability is implemented (1) or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	gprs_eda 	"GPRS Extended Dynamic Allocation Capability; MS does supports dynamice and fixed allocation (1) or only exclusive allocation (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	egprs_eda 	"EGPRS Extended Dynamic Allocation Capability; MS does supports dynamice and fixed allocation (1) or only exclusive allocation (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	a5_1 	"A5/1; Encryption algorithm A5/1.  Note inverse logic for the A5/1 encryption algorithm between classmark 1 and 2 on the one hand  (available=0 or not=1) and radio access capability on the other hand (available=1 or not=0)." 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	a5_2 	"A5/2; Encryption algorithm A5/2 available (1) or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	a5_3 	"A5/3; Encryption algorithm A5/3 available (1) or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	a5_4 	"A5/4; Encryption algorithm A5/4 available (1) or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	a5_5 	"A5/5; Encryption algorithm A5/5 available (1) or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	a5_6 	"A5/6; Encryption algorithm A5/6 available (1) or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	a5_7 	"A5/7; Encryption algorithm A5/7 available (1) or not (0)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	dtm_g 	"DTM GPRS Multi Slot Capability; GPRS MS does supports dual transfer mode (DTM)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	dtm_e 	"DTM EGPRS Multi Slot Capability; EGPRS MS does supports dual transfer mode (DTM)" 	
 	1

VAL 	@m_rr_com - VAL_bool@ 	

VAR 	rev_lev 	"Revision Level" 	
 	2

VAL 	@m_rr_com - VAL_rev_lev@ 	

VAR 	ss_screen 	"SS Screening Indicator" 	
 	2

VAL 	@m_rr_com - VAL_ss_screen@ 	

VAR 	egsm 	"Frequency capability" 	
 	1

VAL 	@m_rr_com - VAL_egsm@ 	

VAR 	ucs2_treat 	"UCS2 treatment" 	
 	1

VAL 	@m_rr_com - VAL_ucs2_treat@ 	

VAR 	single_band 	"Single GSM Band Support" 	
 	4

VAL 	@m_rr_com - VAL_single_band@ 	

VAR 	mod_cap 	"Modulation Capability" 	
 	1

VAL 	@m_rr_com - VAL_mod_cap@ 	

VAR 	mb_value 	"Multiband Support" 	
 	3

VAL 	@m_rr_com - VAL_mb_value@ 	

VAR 	gsm400_supp 	"GSM 400 Bands Supported" 	
 	2

VAL 	@m_rr_com - VAL_gsm400_supp@ 	

VAR 	acc_tech_typ 	"Access Technology Type" 	
 	4

VAL 	@m_rr_com - VAL_acc_tech_typ@ 	

VAR 	sms_val 	"Switch-Measure-Switch-Value" 	
 	4

VAL 	@m_rr_com - VAL_sms_val@ 	

VAR 	sm_val 	"Switch-Measure-Value" 	
 	4

VAL 	@m_rr_com - VAL_sms_val@ 	

VAR 	rf_pow_cap 	"RF power capability" 	
 	3

VAL 	@m_rr_com - VAL_rf_pow_cap@ 	

VAR 	pow_class 	"RF Power Capability" 	
 	3

VAL 	@m_rr_com - VAL_pow_class@ 	

VAR 	radio_cap_1 	"Associated Radio Capability 1" 	
 	4

VAL 	@m_rr_com - VAL_pow_class@ 	

VAR 	radio_cap_2 	"Associated Radio Capability 2" 	
 	4

VAL 	@m_rr_com - VAL_pow_class@ 	

VAR 	rgsm_class 	"R Support (R-GSM Class)" 	
 	3

VAL 	@m_rr_com - VAL_pow_class@ 	

VAR 	gsm400_cap 	"GSM 400 Associated Radio Capability" 	
 	4

VAL 	@m_rr_com - VAL_pow_class@ 	

VAR 	gsm850_cap 	"GSM 850 Associated Radio Capability" 	
 	4

VAL 	@m_rr_com - VAL_pow_class@ 	

VAR 	pcs1900_cap 	"PCS 1900 Associated Radio Cap." 	
 	4

VAL 	@m_rr_com - VAL_pow_class@ 	

VAR 	ms_class 	"Multi Slot Class" 	
 	5

VAL 	@m_rr_com - VAL_ms_class@ 	

VAR 	gsm_ms_class 	"GSM Multi Slot Class" 	
 	5

VAL 	@m_rr_com - VAL_ms_class@ 	

VAR 	edge_ms_class 	"EDGE Multi Slot Class" 	
 	5

VAL 	@m_rr_com - VAL_ms_class@ 	

VAR 	hscsd_ms_class 	"HSCSD Multi Slot Class" 	
 	5

VAL 	@m_rr_com - VAL_ms_class@ 	

VAR 	gprs_ms_class 	"GPRS Multi Slot Class" 	
 	5

VAL 	@m_rr_com - VAL_ms_class@ 	

VAR 	ecsd_ms_class 	"ECSD Multi Slot Class" 	
 	5

VAL 	@m_rr_com - VAL_ms_class@ 	

VAR 	egprs_ms_class 	"EGPRS Multi Slot Class" 	
 	5

VAL 	@m_rr_com - VAL_ms_class@ 	

VAR 	dtm_g_ms_class 	"DTM GPRS Multi Slot Sub-Class" 	
 	2

VAL 	@m_rr_com - VAL_dtm_g_ms_class@ 	

VAR 	dtm_e_ms_class 	"DTM EGPRS Multi Slot Sub-Class; only if the MS supports EGPRS DTM" 	
 	2

VAL 	@m_rr_com - VAL_dtm_g_ms_class@ 	

VAR 	pow_8psk_cap 	"8-PSK Power Capability" 	
 	2

VAL 	@m_rr_com - VAL_pow_8psk_cap@ 	

VAR 	egde_pow1 	"EGDE RF Power Capability 1" 	
 	2

VAL 	@m_rr_com - VAL_pow_8psk_cap@ 	

VAR 	egde_pow2 	"EGDE RF Power Capability 2" 	
 	2

VAL 	@m_rr_com - VAL_pow_8psk_cap@ 	

VAR 	bands 	"Supported Frequency Bands; bitmask of all available frequency bands" 	
 	8

VAL 	@m_rr_com - VAL_bands@ 	

VAR 	setbands 	"Set Frequency Bands; bitmask of set frequency bands" 	
 	8

VAL 	@m_rr_com - VAL_bands@ 	

VAR 	msg_type 	"Message Type" 	
 	8





COMP 	mob_class_1 	"Mobile Station Classmark 1"
{
 	.0  ; spare
 	 	rev_lev 	 ; Revision level
 	 	es_ind 	 ; Early Classmark Sending
 	 	a5_1 	 ; A5/1; Encryption algorithm A5/1 available (0) or not (1).  Please note the invers logic!
 	 	rf_pow_cap 	 ; RF power capability
}



COMP 	mob_class_2 	"Mobile Station Classmark 2"
{
 	.0  ; spare
 	 	rev_lev 	 ; Revision level; Indicates the revision level of the MS
 	 	es_ind 	 ; Early Classmark Sending; 'Controlled Early Classmark Sending' option is implementation (1) or not (0)
 	 	a5_1 	 ; A5/1; Encryption algorithm A5/1 available (0) or not (1). Please note the invers logic!
 	 	rf_pow_cap 	 ; RF power capability (CM2); Indication of the RF power capabilities corresponding to the supported band
 	.0  ; spare
 	 	ps 	 ; Pseudo Synchronisation capability; PS capability present (1) or not present (0)
 	 	ss_screen 	 ; SS Screen. Indicator
 	 	mt_pp_sms 	 ; Short Message capability; MS does supports (1) MT point to point SMS or not (0)
 	 	vbs 	 ; VBS Notification Reception; VBS capability and notifications wanted (1) or vice versa (0)
 	 	vgcs 	 ; VGCS Notification Reception; VGCS capability and notifications wanted (1) or vice versa (0)
 	 	egsm 	 ; Frequency capability; When the GSM 850 or DCS 1800 or PCS 1900 band is used, this bit shall be sent with the value '0'. When a GSM 900 band is used, this bit describes the support of the extension band
 	 	class3 	 ; Classmark 3; The MS supports options that are indicated in classmark 3 (1) or it does not support any classmark 3 options (0)
 	.0  ; spare
 	 	lcsva 	 ; LCSVA capability; LCS value added location request notification supported (1) or not (0)
 	 	ucs2_treat 	 ; UCS2 treatment; Indicates the likely treatment by the MS of UCS2 encoded
 	 	solsa 	 ; SoLSA Supported; MS supports SoLSA (1) or not (0)
 	 	cmsp 	 ; CMSP Supported; MS supports (1) CM service Prompt (network initiated MO CM connection request) or not (0)
 	 	a5_3 	 ; A5/3; Encryption algorithm A5/3 available (1) or not (0)
 	 	a5_2 	 ; A5/2; Encryption algorithm A5/2 available (1) or not (0)
}



COMP 	gsm400_struct 	"GSM 400 Bands Supported Structure"
{
 	 	gsm400_supp 	 ; GSM 400 Bands Supported
 	 	gsm400_cap 	 ; GSM 400 Associated Radio Capability
}



COMP 	measurement 	"Measurement Capability"
{
 	 	sms_val 	 ; Switch-Measure-Switch-Value
 	 	sm_val 	 ; Switch-Measure-Value
}



COMP 	pos_method 	"MS Positioning Method"
{
 	 	assist_eotd 	 ; MS assisted E-OTD; bit 5
 	 	based_eotd 	 ; MS based E-OTD; bit 4
 	 	assist_gps 	 ; MS assisted GPS; bit 3
 	 	based_gps 	 ; MS based GPS; bit 2
 	 	conv_gps 	 ; MS conventional GPS; bit 1
}



COMP 	egde_struct 	"EGDE Structure"
{
 	 	mod 	 ; EDGE Modulation Capability
 	CSN1_S1  	egde_pow1 	 ; EGDE RF Power Capability 1
 	CSN1_S1  	egde_pow2 	 ; EGDE RF Power Capability 2
}



COMP 	dtm_ms 	"DTM Multislot Structure"
{
 	 	dtm_g_ms_class 	 ; DTM GPRS Multi Slot Sub-Class
 	 	mac_support 	 ; MAC Mode support
 	CSN1_S1  	dtm_e_ms_class 	 ; DTM EGPRS Multi Slot Sub-Class
}



COMP 	mob_class_3 	"Mobile Station Classmark 3"
{
 	.0  ; Spare
 	 	mb_value 	 ; Multiband Support
 	 	a5_7 	 ; A5/7
 	 	a5_6 	 ; A5/6
 	 	a5_5 	 ; A5/5
 	 	a5_4 	 ; A5/4
 	< (mb_value=5 OR mb_value=6) 	 	radio_cap_2 	> 	 ; Associated Radio Capability 2
 	< (mb_value=1 OR mb_value=2 OR mb_value=4) 	.0000 > 	 ; Spare
 	< (mb_value#0) 	 	radio_cap_1 	> 	 ; Associated Radio Capability 1
 	CSN1_S1  	rgsm_class 	 ; R Support (R-GSM Class)
 	CSN1_S1  	ms_class 	 ; Multi Slot Capability
 	 	ucs2_treat 	 ; UCS2 Treatment
 	 	ext_meas 	 ; Extended Measurement Capability
 	CSN1_S1  	measurement 	 ; Measurement Capability
 	CSN1_S1  	pos_method 	 ; MS Positioning Method Capability
 	CSN1_S1  	edge_ms_class 	 ; EGDE Multi Slot Capability
 	CSN1_S1  	egde_struct 	 ; EGDE Structure
 	CSN1_S1  	gsm400_struct 	 ; GSM 400 Bands Supported Structure
 	CSN1_S1  	gsm850_cap 	 ; GSM 850 Associated Radio Capability
 	CSN1_S1  	pcs1900_cap 	 ; PCS 1900 Associated Radio Cap.
 	 	umts_fdd 	 ; UMTS FDD Radio Access Technology
 	 	umts_tdd 	 ; UMTS TDD Radio Access Technology
 	 	cdma2000 	 ; CDMA 2000 Radio Access Technology
 	CSN1_S1  	dtm_ms 	 ; DTM Multislot Structure
 	CSN1_S1  	single_band 	 ; Single Band Support
 	S_PADDING .00000000 (0) ; N Spare Padding
}



COMP 	a5_bits 	"A5 bits"
{
 	 	a5_1 	 ; A5/1; Encryption algorithm A5/1.  Note inverse logic for the A5/1 encryption algorithm between classmark 1 and 2 on the one hand  (available=0 or not=1) and radio access capability on the other hand (available=1 or not=0).
 	 	a5_2 	 ; A5/2; Encryption algorithm A5/2 available (1) or not (0)
 	 	a5_3 	 ; A5/3; Encryption algorithm A5/3 available (1) or not (0)
 	 	a5_4 	 ; A5/4; Encryption algorithm A5/4 available (1) or not (0)
 	 	a5_5 	 ; A5/5; Encryption algorithm A5/5 available (1) or not (0)
 	 	a5_6 	 ; A5/6; Encryption algorithm A5/6 available (1) or not (0)
 	 	a5_7 	 ; A5/7; Encryption algorithm A5/7 available (1) or not (0)
}



COMP 	sms_sm_value 	"MS Measurement Capability"
{
 	 	sms_val 	 ; Switch-Mesure-Switch Value
 	 	sm_val 	 ; Switch-Measure-Value
}



COMP 	gprs_struct 	"GPRS Multislot Class and Extended Dynamic Allocation Capability"
{
 	 	gprs_ms_class 	 ; GPRS multislot class
 	 	gprs_eda 	 ; GPRS Extended Dynamic Allocation Capability
}



COMP 	ms_struct 	"Multislot Capability Struct"
{
 	CSN1_S1  	hscsd_ms_class 	 ; HSCSD multislot class
 	CSN1_S1  	gprs_struct 	 ; GPRS multislot class and Extended Dynamic Allocation Capability
 	CSN1_S1  	sms_sm_value 	 ; MS Measurement Capability
}



COMP 	acc_cap 	"Access capabilities"
{
 	 	pow_class 	 ; RF Power Capability
 	CSN1_S1  	a5_bits 	 ; A5 bits
 	 	es_ind 	 ; Early Classmark Sending
 	 	ps 	 ; Pseudo Synchronisation capability
 	 	vgcs 	 ; Voice Group Call Service
 	 	vbs 	 ; Voice Broadcast Service
 	CSN1_S1  	ms_struct 	 ; Multi Slot Capability Struct
}



COMP 	ra_cap2 	"MS RA capability value part"
{
 	 	acc_tech_typ 	 ; Access Technology Type
 	GSM7_LV  	acc_cap 	 ; Access Capabilities
 	.0  ; spare
}



COMP 	ra_cap 	"MS RA capability value part"
{
 	 	acc_tech_typ 	 ; Access Technology Type
 	GSM7_LV  	acc_cap 	 ; Access Capabilities
 	 	flag_ra_cap2 	 ; Valid flag for MS RA capability value part II
 	< (flag_ra_cap2=1) 	 	ra_cap2 	> 	 ; MS RA capability value part II
}



COMP 	pow_class4 	"RF Power Capability (4 bits); Power Class of GSM 400, GSM 850, GSM 900, DCS 1800, PCS 1900"
{
 	.0  ; spare
 	 	pow_class 	 ; RF Power Capability
}



COMP 	rf_power 	"MS RF Power Classes"
{
 	 	pow_class4 	[5] 	 ; RF Power Capability (4 bits); Power Class of GSM 400, GSM 850, GSM 900, DCS 1800, PCS 1900
 	 	egde_pow1 	 ; EGDE RF Power Capability 1; 8-PSK Power Class of GSM 400, GSM 850, GSM 900
 	 	egde_pow2 	 ; EGDE RF Power Capability 2; 8-PSK Power Class of DCS 1800, PCS 1900
}



COMP 	rf_ms 	"MS RF Multi Slot Capability"
{
 	 	gsm_ms_class 	 ; GSM Multi Slot Class; Zero indicates that MS doesn?t supports the use of multiple timeslots
 	.000  ; spare
 	 	edge_ms_class 	 ; EDGE Multi Slot Class; Zero indicates that MS doesn?t supports the use of multiple timeslots
 	.000  ; spare
 	 	hscsd_ms_class 	 ; HSCSD Multi Slot Class; Zero indicates that MS doesn?t supports the use of multiple timeslots
 	.000  ; spare
 	 	gprs_ms_class 	 ; GPRS Multi Slot Class; Zero indicates that MS doesn?t supports the use of multiple timeslots
 	 	dtm_g 	 ; DTM GPRS Multi Slot Capability; GPRS MS does supports dual transfer mode (DTM)
 	 	dtm_g_ms_class 	 ; DTM GPRS Multi Slot Sub-Class; DTM GPRS Multi Slot Sub-Class (independent from the Multi Slot Capabilities field.)
 	 	ecsd_ms_class 	 ; ECSD Multi Slot Class; Zero indicates that MS doesn?t supports the use of multiple timeslots
 	.000  ; spare
 	 	egprs_ms_class 	 ; EGPRS Multi Slot Class; Zero indicates that MS doesn?t supports the use of multiple timeslots
 	 	dtm_e 	 ; DTM EGPRS Multi Slot Capability; Enhanced GPRS MS does supports dual transfer mode (DTM)
 	 	dtm_e_ms_class 	 ; DTM EGPRS Multi Slot Sub-Class; DTM EGPRS Multi Slot Sub-Class (independent from the Multi Slot Capabilities field.)
}



COMP 	rf_cap 	"MS RF Capability"
{
 	 	setbands 	 ; Set Frequency Bands; bitmask of set frequency bands
 	 	bands 	 ; Supported Frequency Bands; bitmask of all available frequency bands
 	 	rf_power 	 ; MS RF Power Classes; MS RF Power Classes
 	 	rf_ms 	 ; MS RF Multi Slot Capability
 	 	es_ind 	 ; Early Classmark Sending; 'Controlled Early Classmark Sending' option is implementation (1) or not (0)
 	 	ps 	 ; Pseudo Synchronisation capability; PS capability present (1) or not present (0)
 	 	mt_pp_sms 	 ; Short Message capability; MS does supports (1) MT point to point SMS or not (0)
 	 	lcsva 	 ; LCSVA capability; LCS value added location request notification supported (1) or not (0)
 	 	solsa 	 ; SoLSA Supported; MS does supports SoLSA (1) or not (0)
 	 	cmsp 	 ; CMSP Supported; MS does supports (1) CM service Prompt (network initiated MO CM connection request) or not (0)
 	 	mod 	 ; EDGE Modulation Capability; The Modulation Capability field indicates the supported modulation scheme by MS in addition to GMSK. 8-PSK supported for downlink reception only (0) or for for uplink transmission and downlink reception (1)
 	 	mac_support 	 ; MAC Mode support; MS does supports Dynamic and Fixed Allocation (1) or only supports Exclusive Allocation (0)
 	 	meas 	 ; Measurement Capability; Indicates whether a IE shall contain any value about the measurement capabilities (1) or not (0).
 	 	ext_meas 	 ; Extended Measurement Capability; The MS does supports 'Extended Measurement' (1) or not (0)
 	 	compact 	 ; COMPACT Interference Measurement Capability; The MS does support COMPACT Interference Measurement (1) or not (0)
 	 	vbs 	 ; VBS Notification Reception; VBS capability and notifications wanted (1) or vice versa (0)
 	 	vgcs 	 ; VGCS Notification Reception; VGCS capability and notifications wanted (1) or vice versa (0)
 	 	ucs2_treat 	 ; UCS2 treatment; Indicates the likely treatment by the MS of UCS2 encoded
 	 	ss_screen 	 ; SS Screen. Indicator
 	 	sms_val 	 ; Switch-Measure-Switch-Value
 	 	sm_val 	 ; Switch-Measure-Value
 	 	a5_bits 	 ; A5 bits; Encryption algorithm A5/n available (0) or not (1)
 	.0  ; spare
 	 	assist_eotd 	 ; MS assisted E-OTD; bit 5
 	 	based_eotd 	 ; MS based E-OTD; bit 4
 	 	assist_gps 	 ; MS assisted GPS; bit 3
 	 	based_gps 	 ; MS based GPS; bit 2
 	 	conv_gps 	 ; MS conventional GPS; bit 1
 	 	gprs_eda 	 ; GPRS Extended Dynamic Allocation Capability; Extended Dynamic Allocation Capability
 	 	egprs_eda 	 ; EGPRS Extended Dynamic Allocation Capability; Extended Dynamic Allocation Capability
 	.0  ; spare
}






MSG 	ms_rf_capability 	downlink 	0b00000001 ; Mobile Station RF Capabilities
{
 	GSM3_V  	msg_type 	 ; Message Type
 	GSM3_V  	rf_cap 	 ; MS RF Capability
}