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

 CVOPS Internal definitions for MobSim MSC-BSSAP protocol

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

/*
*
$ pdus
*
*/

#define BSSAP_Msg 		0
#define BSSAP_Ass_Req		1
#define BSSAP_Ass_Compl		2
#define BSSAP_Paging		3
#define BSSAP_Clr_Cmd		4
#define BSSAP_Clr_Complete	5
#define BSSAP_Compl_L3_Info	6



/*
*
$ states
*
*/

#define idle			0
#define active			1
#define assigning		2
#define clearing		3


/*
*
$ variable structure
*
*/

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

} VARIABLE_STR;


/*
*
$ end
*
*/




/*
$ asn
*/

#define asn_discrimination 0
#define asn_l3_message 1
#define asn_channel_type 2
#define asn_bssap_Assignment_Complete_pdu 3
#define asn_imsi 4
#define asn_cell_list 5
#define asn_bssap_cause 6
#define asn_bssap_Clear_Complete_pdu 7
#define asn_cell_identifier 8
#define asn_l3_information 9
#define asn_user_data 10
#define asn_bssas_Ass_Com_prim 11
#define asn_bssas_Clr_Com_prim 12
#define asn_calledAddress 13
#define asn_callingAddress 14
#define asn_userData 15
#define asn_reason 16
#define asn_originator 17
#define ASN_VAR_COUNT 18

/*
$ end asn
*/




