view gsm-fw/L1/cfile/tch_feature.c @ 1003:9b147d0b2cab

gsm-fw feature tch-reroute: started laying the foundation
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Fri, 18 Mar 2016 16:37:28 +0000
parents
children 908566db1538
line wrap: on
line source

/*
 * This module is a FreeCalypso addition; it contains code implementing
 * our custom voice TCH rerouting feature.
 */

#include "config.h"
#include "l1_confg.h"
#include "l1_types.h"
#include "sys_types.h"
#include "l1_trace.h"
#include "tch_feature.h"

T_RVT_USER_ID tch_reroute_rvt_id;
BOOL tch_reroute_downlink;

/*
 * The following function is the callback registered with RVT; it gets
 * called in RVT HISR context.
 */
static void tch_rvt_input_callback(T_RVT_BUFFER pkt, UINT16 pktlen)
{
	/* guts to be filled */
}

void feature_tch_reroute_init()
{
	rvt_register_id("TCH", &tch_reroute_rvt_id, tch_rvt_input_callback);
	tch_reroute_downlink = FALSE;
}