view cdg211/prim/smreg.pdf @ 8:82ae0ab1ff42

added str2ind.exe and wine wrapper for it
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 26 Sep 2016 03:34:51 +0000
parents 56abf6cf8a0b
children
line wrap: on
line source

;********************************************************************************
;*** File           : smreg.pdf
;*** Creation       : Fri Jun 08 13:58:33 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  : Service Access Point Specification
;*** Document Name  : smreg
;*** Document No.   : 8441.108.99.007
;*** Document Date  : 2002-04-26
;*** Document Status: BEING_PROCESSED
;*** Document Author: Harald
;********************************************************************************



PRAGMA 	SRC_FILE_TIME 	"Mon Jul 26 13:29:38 2004"
PRAGMA 	LAST_MODIFIED 	"2002-04-26"
PRAGMA 	ID_AND_VERSION 	"8441.108.99.007"



CONST 	COMP_USED 	0 	; Compression requested/used for Requested Compression
CONST 	COMP_NOT_USED 	1 	; Compression not requested/used for Requested Compression



VALTAB 	VAL_smreg_nsapi
VAL 	0 	SMREG_NSAPI_0 	"escape mechanism for future extensions"
VAL 	1 	SMREG_NSAPI_1 	"Point-To-Multipoint Multicast information"
VAL 	2 	SMREG_NSAPI_2 	"reserved for future use"
VAL 	3 	SMREG_NSAPI_3 	"reserved for future use"
VAL 	4 	SMREG_NSAPI_4 	"reserved for future use"
VAL 	5 	SMREG_NSAPI_5 	"dynamically allocated SMREG_NSAPI value"
VAL 	6 	SMREG_NSAPI_6 	"dynamically allocated SMREG_NSAPI value"
VAL 	7 	SMREG_NSAPI_7 	"dynamically allocated SMREG_NSAPI value"
VAL 	8 	SMREG_NSAPI_8 	"dynamically allocated SMREG_NSAPI value"
VAL 	9 	SMREG_NSAPI_9 	"dynamically allocated SMREG_NSAPI value"
VAL 	10 	SMREG_NSAPI_10 	"dynamically allocated SMREG_NSAPI value"
VAL 	11 	SMREG_NSAPI_11 	"dynamically allocated SMREG_NSAPI value"
VAL 	12 	SMREG_NSAPI_12 	"dynamically allocated SMREG_NSAPI value"
VAL 	13 	SMREG_NSAPI_13 	"dynamically allocated SMREG_NSAPI value"
VAL 	14 	SMREG_NSAPI_14 	"dynamically allocated SMREG_NSAPI value"
VAL 	15 	SMREG_NSAPI_15 	"dynamically allocated NSAPI value"

VALTAB 	VAL_pdp_type
VAL 	0 	X_121 	"X.121 address"
VAL 	33 	IP_V_4 	"IP version 4"
VAL 	87 	IP_V_6 	"IP version 6"

VALTAB 	VAL_peak
VAL 	0 	SMREG_PEAK_SUB 	"Subscribed peak throughput"
VAL 	1 	SMREG_PEAK_1K 	"Up to 1 000 octet/s"
VAL 	2 	SMREG_PEAK_2K 	"Up to 2 000 octet/s"
VAL 	3 	SMREG_PEAK_4K 	"Up to 4 000 octet/s"
VAL 	4 	SMREG_PEAK_8K 	"Up to 8 000 octet/s"
VAL 	5 	SMREG_PEAK_16K 	"Up to 16 000 octet/s"
VAL 	6 	SMREG_PEAK_32K 	"Up to 32 000 octet/s"
VAL 	7 	SMREG_PEAK_64K 	"Up to 64 000 octet/s"
VAL 	8 	SMREG_PEAK_128K 	"Up to 128 000 octet/s"
VAL 	9 	SMREG_PEAK_256K 	"Up to 256 000 octet/s"

VALTAB 	VAL_relclass
VAL 	0 	SMREG_RELCLASS_SUB 	"Subscribed reliability class"
VAL 	1 	SMREG_GTP_LLC_RLC_PROT 	"Acknowledged GTP, LLC, and RLC; Protected data"
VAL 	2 	SMREG_LLC_RLC_PROT 	"Unacknowledged GTP; Acknowledged LLC and RLC, Protected data"
VAL 	3 	SMREG_RLC_PROT 	"Unacknowledged GTP and LLC; Acknowledged RLC, Protected data"
VAL 	4 	SMREG_PROT 	"Unacknowledged GTP, LLC, and RLC, Protected data"
VAL 	5 	SMREG_NO_REL 	"Unacknowledged GTP, LLC, and RLC, Unprotected data"

VALTAB 	VAL_delay
VAL 	0 	SMREG_DELAY_SUB 	"Subscribed delay class"
VAL 	1 	SMREG_DELAY_1 	"Delay class 1"
VAL 	2 	SMREG_DELAY_2 	"Delay class 2"
VAL 	3 	SMREG_DELAY_3 	"Delay class 3"
VAL 	4 	SMREG_DELAY_4 	"Delay class 4 (best effort)"

VALTAB 	VAL_mean
VAL 	0 	SMREG_MEAN_SUB 	"Subscribed mean throughput"
VAL 	1 	SMREG_MEAN_100 	"100 octet/h"
VAL 	2 	SMREG_MEAN_200 	"200 octet/h"
VAL 	3 	SMREG_MEAN_500 	"500 octet/h"
VAL 	4 	SMREG_MEAN_1K 	"1 000 octet/h"
VAL 	5 	SMREG_MEAN_2K 	"2 000 octet/h"
VAL 	6 	SMREG_MEAN_5K 	"5 000 octet/h"
VAL 	7 	SMREG_MEAN_10K 	"10 000 octet/h"
VAL 	8 	SMREG_MEAN_20K 	"20 000 octet/h"
VAL 	9 	SMREG_MEAN_50K 	"50 000 octet/h"
VAL 	10 	SMREG_MEAN_100K 	"100 000 octet/h"
VAL 	11 	SMREG_MEAN_200K 	"200 000 octet/h"
VAL 	12 	SMREG_MEAN_500K 	"500 000 octet/h"
VAL 	13 	SMREG_MEAN_1M 	"1 000 000 octet/h"
VAL 	14 	SMREG_MEAN_2M 	"2 000 000 octet/h"
VAL 	15 	SMREG_MEAN_5M 	"5 000 000 octet/h"
VAL 	16 	SMREG_MEAN_10M 	"10 000 000 octet/h"
VAL 	17 	SMREG_MEAN_20M 	"20 000 000 octet/h"
VAL 	18 	SMREG_MEAN_50M 	"50 000 000 octet/h"
VAL 	31 	SMREG_MEAN_BEST 	"Best effort"

VALTAB 	VAL_preced
VAL 	0 	SMREG_PRECED_SUB 	"Subscribed precedence"
VAL 	1 	SMREG_PRIO_HIGH 	"High priority"
VAL 	2 	SMREG_PRIO_NORM 	"Normal priority"
VAL 	3 	SMREG_PRIO_LOW 	"Low priority"

VALTAB 	VAL_smreg_cause
VAL 	0b0100101100011010 	SMREG_RC_INSUF_RES 	"Insufficicent resources"
VAL 	0b0000101100011010 	SMREG_RC_INSUF_RES_NO 	"Insufficicent resources network originated"
VAL 	0b0000101100011011 	SMREG_RC_MISS_UNKWN_APN 	"Missing or unknown APN network originated"
VAL 	0b0000101100011100 	SMREG_RC_ADD_OR_TYPE_UNKNWN 	"Unknown PDP address or PDP type network originated"
VAL 	0b0000101100011101 	SMREG_RC_USE_AUTHED_FAILED 	"User authentication failed network originated"
VAL 	0b0000101100011110 	SMREG_RC_GGSN_ACT_REJ 	"Activation rejected by GGSN network originated"
VAL 	0b0000101100011111 	SMREG_RC_ACT_REJ_UNSPEC 	"Activation rejected, unspecified network originated"
VAL 	0b0000101100100000 	SMREG_RC_SERV_OPT_NOT_SUPP 	"Service option not supported network originated"
VAL 	0b0000101100100001 	SMREG_RC_SERV_OPT_NOT_SUBS 	"Requested service option not subscribed network originated"
VAL 	0b0000101100100010 	SMREG_RC_SERV_OPT_TEMP_OOO 	"Service option temporarily out of order network originated"
VAL 	0b0100101100100011 	SMREG_RC_NSAPI_ALREADY_USED 	"NSAPI already used"
VAL 	0b0000101100100011 	SMREG_RC_NSAPI_ALREADY_USED_NO 	"NSAPI already used network originated"
VAL 	0b0100101100100100 	SMREG_RC_REGULAR_DEACTIVATION 	"Regular deactivation"
VAL 	0b0000101100100100 	SMREG_RC_REGULAR_DEACTIVATION_NO 	"Regular deactivation network originated"
VAL 	0b0100101100100101 	SMREG_RC_QOS_NOT_ACCEPTED 	"QoS not accepted mobile originated"
VAL 	0b0000101100100110 	SMREG_RC_NETWORK_FAILURE_NO 	"Network failure network originated"
VAL 	0b0100101100100110 	SMREG_RC_NETWORK_FAILURE 	"Network failure"
VAL 	0b0000101100100111 	SMREG_RC_REACTIVATION_REQD 	"Reactivation required network originated"
VAL 	0b0000101101010001 	SMREG_RC_TI_INVALID_NO 	"Invalid transaction identifier value"
VAL 	0b0100101101010001 	SMREG_RC_TI_INVALID 	"Invalid transaction identifier value"
VAL 	0b0000101101011111 	SMREG_RC_SEMANTIC_INCORRECT_NO 	"Semantically incorrect message network originated"
VAL 	0b0100101101011111 	SMREG_RC_SEMANTIC_INCORRECT 	"Semantically incorrect message"
VAL 	0b0000101101100000 	SMREG_RC_INVALID_MANDAT_NO 	"Invalid mandatory information network originated"
VAL 	0b0100101101100000 	SMREG_RC_INVALID_MANDAT 	"Invalid mandatory information"
VAL 	0b0000101101100001 	SMREG_RC_TYPE_NONEXIST_NOTIMP_NO 	"Message type non-existant or not implemented network originated"
VAL 	0b0100101101100001 	SMREG_RC_TYPE_NONEXIST_NOTIMP 	"Message type non-existant or not implemented"
VAL 	0b0000101101100010 	SMREG_RC_TYPE_NOT_STATE_COMP_NO 	"Message type not compatible with the protocol state network originated"
VAL 	0b0100101101100010 	SMREG_RC_TYPE_NOT_STATE_COMP 	"Message type not compatible with the protocol state"
VAL 	0b0000101101100011 	SMREG_RC_IE_NONEXIST_NOTIMP_NO 	"Information element non-existatnt or not implemented network originated"
VAL 	0b0100101101100011 	SMREG_RC_IE_NONEXIST_NOTIMP 	"Information element non-existatnt or not implemented"
VAL 	0b0000101101100100 	SMREG_RC_COND_IE_ERROR_NO 	"Conditional IE error network originated"
VAL 	0b0100101101100100 	SMREG_RC_COND_IE_ERROR 	"Conditional IE error"
VAL 	0b0000101101100101 	SMREG_RC_MSG_NOT_STATE_COMP_NO 	"Message not compatible with protocol state network originated"
VAL 	0b0100101101100101 	SMREG_RC_MSG_NOT_STATE_COMP 	"Message not compatible with protocol state"
VAL 	0b0000101101101111 	SMREG_RC_PROT_ERROR_UNSPEC_NO 	"Protocol error, unspecified network originated"
VAL 	0b0100101101101111 	SMREG_RC_PROT_ERROR_UNSPEC 	"Protocol error, unspecified"

VALTAB 	VAL_ppp_hc
VAL 	0 	SMREG_VAN_NOT_USED 	"Van Jacobson is not supported"
VAL 	1 	SMREG_VAN_USED 	"Van Jacobson is supported"

VALTAB 	VAL_hcomp
VAL 	0b00 	SMREG_COMP_NEITHER_DIRECT 	"compress neither direction"
VAL 	0b01 	SMREG_COMP_MS_SGSN_DIRECT 	"compress MS to SGSN direction only"
VAL 	0b10 	SMREG_COMP_SGSN_MS_DIRECT 	"compress SGSN to MS direction only"
VAL 	0b11 	SMREG_COMP_BOTH_DIRECT 	"compress both directions"

VALTAB 	VAL_direc
VAL 	0 	DIREC_MO 	"Mobile initiates"
VAL 	1 	DIREC_MT 	"Network initiates"

VALTAB 	VAL_smreg_local
VAL 	0 	SMREG_NONLOCAL 	"not local, air msg will be sent"
VAL 	1 	SMREG_LOCAL 	"local, no air msg will be sent"

VALTAB 	VAL_dti_direction
VAL 	0 	SMREG_HOME 	"mapped to HOME from dti.h"
VAL 	1 	SMREG_NEIGHBOR 	"mapped to NEIGHBOR from dti.h"




VAR 	smreg_nsapi 	"network layer service access point identifier" 	B

VAL 	@p_smreg - VAL_smreg_nsapi@ 	

VAR 	l_buf 	"length of content in bit" 	S


VAR 	o_buf 	"offset of content in bit" 	S


VAR 	buf 	"buffer content" 	B


VAR 	pdp_type 	"PDP type" 	B

VAL 	@p_smreg - VAL_pdp_type@ 	

VAR 	delay 	"delay class" 	B

VAL 	@p_smreg - VAL_delay@ 	

VAR 	relclass 	"reliablility class" 	B

VAL 	@p_smreg - VAL_relclass@ 	

VAR 	peak 	"peak throughput" 	B

VAL 	@p_smreg - VAL_peak@ 	

VAR 	preced 	"precedence class" 	B

VAL 	@p_smreg - VAL_preced@ 	

VAR 	mean 	"main throughput" 	B

VAL 	@p_smreg - VAL_mean@ 	

VAR 	smreg_cause 	"cause" 	S

VAL 	@p_smreg - VAL_smreg_cause@ 	

VAR 	nsapi_set 	"set of network layer service access point identifiers" 	S


VAR 	buff 	"buff" 	B


VAR 	buffer 	"Access point name value" 	B


VAR 	ppp_hc 	"header compression of PPP connection" 	B

VAL 	@p_smreg - VAL_ppp_hc@ 	

VAR 	msid 	"max slot identifier" 	B


VAR 	hcomp 	"Header compression used/requested" 	B

VAL 	@p_smreg - VAL_hcomp@ 	

VAR 	dcomp 	"Data compression used/requested" 	B

VAL 	@p_smreg - VAL_hcomp@ 	

VAR 	direc 	"Initiator of the activation" 	B

VAL 	@p_smreg - VAL_direc@ 	

VAR 	smreg_ti 	"transaction identifier" 	B


VAR 	smreg_local 	"is (de)activation local" 	B

VAL 	@p_smreg - VAL_smreg_local@ 	

VAR 	dti_linkid 	"DTI link identifier" 	L


VAR 	dti_neighbor 	"DTI neighbor entity name" 	L


VAR 	dti_direction 	"direction of DTI connection" 	B

VAL 	@p_smreg - VAL_dti_direction@ 	




COMP 	sdu 	 "Service Data Unit"
{
 	l_buf 	 ; length of content in bit
 	o_buf 	 ; offset of content in bit
 	buf 	[1] 	 ; buffer content
}



COMP 	smreg_min_qos 	 "quality of service"
{
 	delay 	 ; delay class
 	relclass 	 ; reliablility class
 	peak 	 ; peak throughput
 	preced 	 ; precedence class
 	mean 	 ; main throughput
}
TYPEDEF COMP smreg_min_qos 	smreg_qos 	 "quality of service"



COMP 	pdp_address 	 "PDP address"
{
 	buff 	[0..16] 	 ; buff
}



COMP 	smreg_apn 	 "access point name"
{
 	buffer 	[3..102] 	 ; Access point name value
}






; SMREG_PDP_ACTIVATE_REQ 	0x2600
; SMREG_PDP_ACTIVATE_CNF 	0x6600
; SMREG_PDP_ACTIVATE_REJ 	0x6601
; SMREG_PDP_ACTIVATE_IND 	0x6602
; SMREG_PDP_DEACTIVATE_REQ 	0x2601
; SMREG_PDP_DEACTIVATE_CNF 	0x6603
; SMREG_PDP_DEACTIVATE_IND 	0x6604
; SMREG_PDP_MODIFY_IND 	0x6605
; SMREG_PDP_ACTIVATE_RES 	0x2602



PRIM 	SMREG_PDP_ACTIVATE_REQ 	0x2600
{
 	direc 	 ; initiator
 	ppp_hc 	 ; header compression of PPP connection
 	msid 	 ; max slot identifier
 	dcomp 	 ; Data compression used/direction
 	hcomp 	 ; Header compression used/direction
 	pdp_type 	 ; Pdp type
 	smreg_qos 	 ; Requested quality of service
 	smreg_min_qos 	 ; Minimum requested QoS
 	smreg_nsapi 	 ; network layer service access point identifier
 	smreg_ti 	 ; transaction identifier
 	pdp_address 	 ; PDP address
 	smreg_apn 	 ; Access point name
 	dti_linkid 	 ; DTI link-id
 	dti_neighbor 	 ; DTI neighbor entity
 	dti_direction 	 ; DTI direction
 	sdu 	 ; PDP config options
}






PRIM 	SMREG_PDP_ACTIVATE_CNF 	0x6600
{
 	ppp_hc 	 ; header compression of PPP connection
 	msid 	 ; max slot identifier
 	dcomp 	 ; Data compression requested
 	hcomp 	 ; Header compression requested
 	pdp_type 	 ; PDP type
 	smreg_qos 	 ; quality of service
 	smreg_nsapi 	 ; network layer service access point identifier
 	pdp_address 	 ; PDP address
 	sdu 	 ; PDP config options
}






PRIM 	SMREG_PDP_ACTIVATE_REJ 	0x6601
{
 	smreg_cause 	 ; Cause of rejection
 	smreg_nsapi 	 ; network layer service access point identifier
}






PRIM 	SMREG_PDP_ACTIVATE_IND 	0x6602
{
 	smreg_qos 	 ; quality of service
 	smreg_ti 	 ; transaction identifier
 	smreg_apn 	 ; access point name
 	pdp_type 	 ; Pdp type
 	pdp_address 	 ; PDP address
}






PRIM 	SMREG_PDP_DEACTIVATE_REQ 	0x2601
{
 	nsapi_set 	 ; set of network layer service access point identifiers
 	smreg_local 	 ; local deactivation?
}






PRIM 	SMREG_PDP_DEACTIVATE_CNF 	0x6603
{
 	nsapi_set 	 ; set of network layer service access point identifiers
}






PRIM 	SMREG_PDP_DEACTIVATE_IND 	0x6604
{
 	nsapi_set 	 ; set of network layer service access point identifiers
}






PRIM 	SMREG_PDP_MODIFY_IND 	0x6605
{
 	smreg_qos 	 ; quality of service
 	nsapi_set 	 ; set of network layer service access point identifier
}






PRIM 	SMREG_PDP_ACTIVATE_RES 	0x2602
{
 	smreg_ti 	 ; transaction identifier
 	smreg_cause 	 ; Cause of rejection
}