/***************************************************************************
 *
 $ pdus
 *
 ***************************************************************************/

#define Btsmp_Data_Request			0
#define Btsmp_Data_Indication			1
#define Btsmp_Establish_Indication		2
#define Btsmp_Release_Indication		3
#define Btsmp_Channel_Activation		4
#define Btsmp_Channel_Activation_Ack		5
#define Btsmp_Channel_Activation_Nack		6
#define Btsmp_Deactive_Sacch			7
#define Btsmp_Handover_Detection		8
#define Btsmp_Physical_Context_Request		9
#define Btsmp_Physical_Context_Confirm		10
#define Btsmp_Rf_Channel_Release		11
#define Btsmp_Rf_Channel_Release_Ack		12
#define Btsmp_Bcch_Information			13
#define Btsmp_Channel_Required			14
#define Btsmp_Paging_Command			15
#define Btsmp_Immediate_Assignment_Command	16
#define Btsmp_Sacch_Filling			17
#define Btsmp_PDU_NOK				18

/***************************************************************************
 *
 $ states
 *
 ***************************************************************************/

#define	idle			0
#define	bts_conn_pending	1
#define	bts_connected		2
#define	active			3
#define	release_pending		4

/***************************************************************************
 *
 $ variable structure
 *
 ***************************************************************************
 */


typedef struct {
	sint32	   some_variable,
		   bts_index,
		   visited;
	FRAME_PTR  rec_frame,
	           snd_frame;
	VTASK      *self;
	Channel_number channel_number;
} VARIABLE_STR;

/***************************************************************************
 *
 $ timers
 *
 ***************************************************************************/

#define	DIALOGUE_ID_TIMER	0

/***************************************************************************
 *
 $ timer tick counts in seconds
 *
 ***************************************************************************

	DIALOGUE_ID_TIMER	60

$ end
*/
/*
$ asn
*/

#define asn_channel_number 0
#define asn_l3_info 1
#define asn_elements 2
#define asn_channel_mode 3
#define asn_handover_reference 4
#define asn_system_info_type 5
#define asn_request_reference 6
#define asn_bts_index 7
#define asn_mobile_identity 8
#define asn_userData 9
#define asn_message 10
#define asn_pdu_number 11
#define ASN_VAR_COUNT 12

/*
$ end asn
*/

