comparison 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
comparison
equal deleted inserted replaced
1002:e6ccc8788b96 1003:9b147d0b2cab
1 /*
2 * This module is a FreeCalypso addition; it contains code implementing
3 * our custom voice TCH rerouting feature.
4 */
5
6 #include "config.h"
7 #include "l1_confg.h"
8 #include "l1_types.h"
9 #include "sys_types.h"
10 #include "l1_trace.h"
11 #include "tch_feature.h"
12
13 T_RVT_USER_ID tch_reroute_rvt_id;
14 BOOL tch_reroute_downlink;
15
16 /*
17 * The following function is the callback registered with RVT; it gets
18 * called in RVT HISR context.
19 */
20 static void tch_rvt_input_callback(T_RVT_BUFFER pkt, UINT16 pktlen)
21 {
22 /* guts to be filled */
23 }
24
25 void feature_tch_reroute_init()
26 {
27 rvt_register_id("TCH", &tch_reroute_rvt_id, tch_rvt_input_callback);
28 tch_reroute_downlink = FALSE;
29 }