/*
***********************************************************************

 Internal variables for MobSim MSC-MM protocol

***********************************************************************
*/

/*
*
$ pdus
*
*/

#define MM_Message 		0
#define MM_cm_ser_req		1
#define MM_cm_ser_acc		2
#define MM_cm_ser_rej		3
#define MM_loc_upd_acc		4
#define MM_loc_upd_rej		5
#define MM_loc_upd_req		6
#define MM_paging_res		7



/*
*
$ states
*
*/

#define idle			0
#define active			1



/*
*
$ variable structure
*
*/

typedef struct {
	sint32		n_imsi,
			n_cm_service_type,
			n_location_area,
			n_cause,
			n_judgement,
			n_protocol_disc,
			n_l3_message_type,
			n_locupd_type;			
	FRAME_PTR	SendFrame,
			RecFrame;
	VTASK		*self;
	char		*s_errorString;

} VARIABLE_STR;



/*
*
$ end
*
*/




/*
$ asn
*/

#define asn_user_data 0
#define asn_channel_type 1
#define asn_bssas_Ass_Com_prim 2
#define asn_imsi 3
#define asn_bssap_cause 4
#define asn_bssas_Clr_Com_prim 5
#define asn_cell_identifier 6
#define asn_l3_information 7
#define asn_protocol_discriminator 8
#define asn_transaction_identifier 9
#define asn_l3_message 10
#define asn_cm_service_type 11
#define asn_mobile_identity 12
#define asn_mm_cause 13
#define asn_area_code 14
#define asn_updating_type 15
#define asn_mMs_Assignment_Req_prim 16
#define asn_mMs_Assignment_Complete_prim 17
#define ASN_VAR_COUNT 18

/*
$ end asn
*/


