view cdg211/msg/sm.mdf @ 107:267cefdca4b6

src/g23m-gsm/l1/l1_pei.c: tweaked to match TCS211 binary object
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 05 Oct 2016 22:41:43 +0000
parents 56abf6cf8a0b
children
line wrap: on
line source

;********************************************************************************
;*** File           : sm.mdf
;*** Creation       : Fri Jun 08 13:59:08 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  : sm
;*** Document No.   : 8441.605.99.007
;*** Document Date  : 2002-04-29
;*** Document Status: BEING_PROCESSED
;*** Document Author: Harald
;********************************************************************************



PRAGMA 	SRC_FILE_TIME 	"Mon Nov 24 15:51:04 2003"
PRAGMA 	LAST_MODIFIED 	"2002-04-29"
PRAGMA 	ID_AND_VERSION 	"8441.605.99.007"



CONST 	L3MAX 	251 	; maximum size of a L3 buffer



VALTAB 	VAL_nsapi_val
VAL 	DEF 	 	"reserved"
VAL 	5 	NSAPI_5 	"NSAPI 5"
VAL 	6 	NSAPI_6 	"NSAPI 6"
VAL 	7 	NSAPI_7 	"NSAPI 7"
VAL 	8 	NSAPI_8 	"NSAPI 8"
VAL 	9 	NSAPI_9 	"NSAPI 9"
VAL 	10 	NSAPI_10 	"NSAPI 10"
VAL 	11 	NSAPI_11 	"NSAPI 11"
VAL 	12 	NSAPI_12 	"NSAPI 12"
VAL 	13 	NSAPI_13 	"NSAPI 13"
VAL 	14 	NSAPI_14 	"NSAPI 14"
VAL 	15 	NSAPI_15 	"NSAPI 15"

VALTAB 	VAL_delay
VAL 	DEF 	 	"Delay class 4 (best effort)"
VAL 	0 	DELAY_SUB 	"Subscribed delay class (uplink only)"
VAL 	0 	DELAY_RES_DL 	"Reserved (downlink only)"
VAL 	1 	DELAY_1 	"Delay class 1"
VAL 	2 	DELAY_2 	"Delay class 2"
VAL 	3 	DELAY_3 	"Delay class 3"
VAL 	4 	DELAY_4 	"Delay class 4 (best effort)"
VAL 	7 	DELAY_RES 	"Reserved"

VALTAB 	VAL_reliability
VAL 	DEF 	 	"Unacknowledged GTP and LLC; Acknowledged RLC, Protected data"
VAL 	0 	RELY_SUB 	"Subscribed reliability class (uplink only)"
VAL 	0 	RELY_RES_DL 	"Reserved (dowwnlink only)"
VAL 	1 	RELY_1 	"Acknowledged GTP, LLC, and RLC; Protected data"
VAL 	2 	RELY_2 	"Unacknowledged GTP; Acknowledged LLC and RLC, Protected data"
VAL 	3 	RELY_3 	"Unacknowledged GTP and LLC; Acknowledged RLC, Protected data"
VAL 	4 	RELY_4 	"Unacknowledged GTP, LLC, and RLC, Protected data"
VAL 	5 	RELY_5 	"Unacknowledged GTP, LLC, and RLC, Unprotected data"
VAL 	7 	RELY_RES 	"Reserved"

VALTAB 	VAL_sapi
VAL 	DEF 	 	"reserved"
VAL 	3 	SAPI_3 	"SAPI 3"
VAL 	5 	SAPI_5 	"SAPI 5"
VAL 	9 	SAPI_9 	"SAPI 9"
VAL 	11 	SAPI_11 	"SAPI 11"

VALTAB 	VAL_peak
VAL 	DEF 	 	"Up to 1000 octet/s"
VAL 	0 	PEAK_SUB 	"Subscribed peak throughput (uplink only)"
VAL 	0 	PEAK_RES_DL 	"reserved (downlink only)"
VAL 	1 	PEAK_1000 	"Up to 1000 octet/s"
VAL 	2 	PEAK_2000 	"Up to 2000 octet/s"
VAL 	3 	PEAK_4000 	"Up to 4000 octet/s"
VAL 	4 	PEAK_8000 	"Up to 8000 octet/s"
VAL 	5 	PEAK_16000 	"Up to 16000 octet/s"
VAL 	6 	PEAK_32000 	"Up to 32000 octet/s"
VAL 	7 	PEAK_64000 	"Up to 64000 octet/s"
VAL 	8 	PEAK_128000 	"Up to 128000 octet/s"
VAL 	9 	PEAK_256000 	"Up to 256000 octet/s"
VAL 	15 	PEAK_RES 	"Reserved"

VALTAB 	VAL_precedence
VAL 	DEF 	 	"Normal Priority"
VAL 	0 	PRECED_SUB 	"Subscribed precedence (uplink only)"
VAL 	0 	PRECED_RES_DL 	"Reserved (downlink only)"
VAL 	1 	PRECED_HIGH 	"High priority"
VAL 	2 	PRECED_NORM 	"Normal Priority"
VAL 	3 	PRECED_LOW 	"Low priority"
VAL 	7 	PRECED_RES 	"Reserved"

VALTAB 	VAL_mean
VAL 	DEF 	 	"Best effort"
VAL 	0 	MEAN_SUB 	"Subscribed mean throughput (uplink only)"
VAL 	0 	MEAN_RES_DL 	"reserved (downlink only)"
VAL 	1 	MEAN_100 	"100 octet/h"
VAL 	2 	MEAN_200 	"200 octet/h"
VAL 	3 	MEAN_500 	"500 octet/h"
VAL 	4 	MEAN_1000 	"1000 octet/h"
VAL 	5 	MEAN_2000 	"2000 octet/h"
VAL 	6 	MEAN_5000 	"5000 octet/h"
VAL 	7 	MEAN_10000 	"10000 octet/h"
VAL 	8 	MEAN_20000 	"20000 octet/h"
VAL 	9 	MEAN_50000 	"50000 octet/h"
VAL 	10 	MEAN_100000 	"100000 octet/h"
VAL 	11 	MEAN_200000 	"200000 octet/h"
VAL 	12 	MEAN_500000 	"500000 octet/h"
VAL 	13 	MEAN_1000000 	"1000000 octet/h"
VAL 	14 	MEAN_2000000 	"2000000 octet/h"
VAL 	15 	MEAN_5000000 	"5000000 octet/h"
VAL 	16 	MEAN_10000000 	"10000000 octet/h"
VAL 	17 	MEAN_20000000 	"20000000 octet/h"
VAL 	18 	MEAN_50000000 	"50000000 octet/h"
VAL 	30 	MEAN_RES 	"Reserved"
VAL 	31 	MEAN_BEST 	"Best effort"

VALTAB 	VAL_pdp_type_org
VAL 	DEF 	 	"ETSI allocated address (e.g. X.121)"
VAL 	0 	ETSI_ORG 	"ETSI allocated address (e.g. X.121)"
VAL 	1 	IETF_ORG 	"IETF allocated address"
VAL 	15 	PDP_MT 	"Dynamic PDP addressing is applied, (uplink only)"

VALTAB 	VAL_pdp_type_no
VAL 	DEF 	 	"IPv4 address"
VAL 	0 	X121_TYPE 	"X.121 address"
VAL 	0b00100001 	IP4_TYPE 	"IPv4 address"
VAL 	0b01010111 	IP6_TYPE 	"IPv6 address"

VALTAB 	VAL_radio_prio_val
VAL 	DEF 	 	"priority level 4 (lowest)"
VAL 	1 	RADIO_PRIO_1 	"priority level 1 (highest)"
VAL 	2 	RADIO_PRIO_2 	"priority level 2"
VAL 	3 	RADIO_PRIO_3 	"priority level 3"
VAL 	4 	RADIO_PRIO_4 	"priority level 4 (lowest)"

VALTAB 	VAL_sm_cause_val
VAL 	DEF 	 	"Service option temporarily out of order ( received by MS)"
VAL 	0b00011001 	LLC_OR_SNDCP 	"LLC or SNDCP failure"
VAL 	0b00011010 	INSUF_RES 	"Insufficient resources"
VAL 	0b00011011 	APN_MISS 	"Missing or unknown APN"
VAL 	0b00011100 	UNK_PDP 	"Unknown PDP address or PDP type"
VAL 	0b00011101 	AUTH_FAIL 	"User Aauthentication failed"
VAL 	0b00011110 	GGSN_ACT_REJ 	"Activation rejected by GGSN"
VAL 	0b00011111 	UNSPEC_ACT_REJ 	"Activation rejected, unspecified"
VAL 	0b00100000 	SERV_OPT_NO_SP 	"Service option not supported"
VAL 	0b00100001 	SERV_OPT_NO_SC 	"Requested service option not subscribed"
VAL 	0b00100010 	SERV_OPT_TMP 	"Service option temporarily out of order"
VAL 	0b00100011 	NSAPI_USED 	"NSAPI already used"
VAL 	0b00100100 	REGULAR 	"Regular deactivation"
VAL 	0b00100101 	QOS_NOT_ACC 	"QoS not accepted"
VAL 	0b00100110 	NET_FAIL 	"Network failure"
VAL 	0b00100111 	REACT_REQ 	"Reactivation required"
VAL 	0b01011111 	SEM_INCORRECT 	"Semantically incorrect message"
VAL 	0b01010001 	TI_INVAL 	"Invalid transaction identifier value"
VAL 	0b01100000 	MAND_INF_INVAL 	"Invalid mandatory information"
VAL 	0b01100001 	MSG_T_NON_X 	"Message type non-existent or not implemented"
VAL 	0b01100010 	MSG_T_NOT_COMP 	"Message type not compatible with the protocol state"
VAL 	0b01100011 	IE_NON_X 	"Information element non-existent or not implemented"
VAL 	0b01100100 	COND_IE 	"Conditional IE error"
VAL 	0b01100101 	NO_STATE_COMP 	"Message not compatible with the protocol state"
VAL 	0b01101111 	UNSPEC 	"Protocol error, unspecified"




VAR 	nsapi_val 	"NSAPI value" 	
 	4

VAL 	@m_sm - VAL_nsapi_val@ 	

VAR 	delay 	"Delay class" 	
 	3

VAL 	@m_sm - VAL_delay@ 	

VAR 	reliability 	"Reliability class" 	
 	3

VAL 	@m_sm - VAL_reliability@ 	

VAR 	msg_type 	"Message Type" 	
 	8


VAR 	sapi 	"SAPI" 	
 	4

VAL 	@m_sm - VAL_sapi@ 	

VAR 	peak 	"Peak throughput" 	
 	4

VAL 	@m_sm - VAL_peak@ 	

VAR 	precedence 	"Precedence class" 	
 	3

VAL 	@m_sm - VAL_precedence@ 	

VAR 	mean 	"Mean throughput" 	
 	5

VAL 	@m_sm - VAL_mean@ 	

VAR 	apn_value 	"Access point name value" 	
 	8


VAR 	pdp_type_org 	"PDP type organisation" 	
 	4

VAL 	@m_sm - VAL_pdp_type_org@ 	

VAR 	pdp_type_no 	"PDP type number" 	
 	8

VAL 	@m_sm - VAL_pdp_type_no@ 	

VAR 	radio_prio_val 	"Radio priority value" 	
 	3

VAL 	@m_sm - VAL_radio_prio_val@ 	

VAR 	sm_cause_val 	"SM cause value" 	
 	8

VAL 	@m_sm - VAL_sm_cause_val@ 	

VAR 	add_info 	"Adress information" 	
 	8


VAR 	pco_value 	"Protocol config value" 	
 	8





COMP 	nsapi 	"network service access point identifier"
{
 	.0000  ; spare
 	 	nsapi_val 	 ; NSAPI value
}



COMP 	llc_sapi 	"LLC service access point identifier"
{
 	.0000  ; spare
 	 	sapi 	 ; LLC SAPI value
}



COMP 	qos 	"Quality of service"
{
 	.00  ; spare
 	 	delay 	 ; Delay class
 	 	reliability 	 ; Reliability class
 	 	peak 	 ; Peak throughput
 	.0  ; spare
 	 	precedence 	 ; precedence class
 	.000  ; spare
 	 	mean 	 ; mean throughput
}



COMP 	address 	"Packet data protocol address"
{
 	.0000  ; spare
 	 	pdp_type_org 	 ; PDP type organisation
 	 	pdp_type_no 	 ; PDP type number
 	 	add_info 	[0..20] 	 ; address information
}



COMP 	apn 	"Access point name"
{
 	 	apn_value 	[3..102] 	 ; access point name value
}



COMP 	pco 	"Protocol information options"
{
 	 	pco_value 	[2..253] 	 ; options
}



COMP 	radio_prio 	"Radio priority"
{
 	.0  ; spare
 	 	radio_prio_val 	 ; Radio priority value
}



COMP 	sm_cause 	"SM cause"
{
 	 	sm_cause_val 	 ; SM cause value
}






MSG 	activate_pdp_req 	uplink 	65 ; activate PDP context request
{
 	GSM3_V  	msg_type 	 ; Message type
 	GSM3_V  	nsapi 	 ; requested NSAPI
 	GSM3_V  	llc_sapi 	 ; Requested LLC sapi
 	GSM4_LV  	qos 	 ; Requested QoS
 	GSM4_LV  	address 	 ; Requested PDP address
 	GSM4_TLV  	apn 	0x28 	 ; Access point name
 	GSM4_TLV  	pco 	0x27 	 ; Protocol configuration options
}



MSG 	activate_pdp_acc 	downlink 	66 ; activate PDP context accept
{
 	GSM3_V  	msg_type 	 ; Message type
 	GSM3_V  	llc_sapi 	 ; Negotiated LLC SAPI
 	GSM4_LV  	qos 	 ; Negotiated QoS
 	GSM1_V  	radio_prio 	 ; Radio Priority
 	.0000  ; Spare half octet
 	GSM4_TLV  	address 	0x2B 	 ; Packet data protocol address
 	GSM4_TLV  	pco 	0x27 	 ; Protocol configuration options
}



MSG 	activate_pdp_rej 	downlink 	67 ; activate PDP context reject
{
 	GSM3_V  	msg_type 	 ; Message type
 	GSM3_V  	sm_cause 	 ; SM cause
 	GSM4_TLV  	pco 	0x27 	 ; Protocol configuration options
}



MSG 	req_pdp_act 	downlink 	68 ; request PDP context activation
{
 	GSM3_V  	msg_type 	 ; Message type
 	GSM4_LV  	address 	 ; Offered PDP address
 	GSM4_TLV  	apn 	0x28 	 ; Access point name
}



MSG 	req_pdp_act_rej 	uplink 	69 ; request PDP context activation reject
{
 	GSM3_V  	msg_type 	 ; Message type
 	GSM3_V  	sm_cause 	 ; SM cause
}



MSG 	mod_pdp_req 	downlink 	72 ; Modify PDP context request
{
 	GSM3_V  	msg_type 	 ; Message type
 	GSM1_V  	radio_prio 	 ; Radio Priority
 	.0000  ; Spare half octet
 	GSM3_V  	llc_sapi 	 ; Requested LLC sapi
 	GSM4_LV  	qos 	 ; New QoS
}



MSG 	mod_pdp_acc 	uplink 	73 ; Modify PDP context accept
{
 	GSM3_V  	msg_type 	 ; Message type
}



MSG 	deact_pdp_req 	both 	70 ; Deactivate PDP context request
{
 	GSM3_V  	msg_type 	 ; Message type
 	GSM3_V  	sm_cause 	 ; SM cause
}



MSG 	deact_pdp_acc 	both 	71 ; deactivate PDP context accept
{
 	GSM3_V  	msg_type 	 ; Message type
}



MSG 	sm_status 	both 	85 ; SM Status
{
 	GSM3_V  	msg_type 	 ; Message type
 	GSM3_V  	sm_cause 	 ; SM cause
}