aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/mncc.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@netfilter.org>2009-12-19 22:23:05 +0100
committerHarald Welte <laforge@netfilter.org>2009-12-19 22:23:05 +0100
commitda7ab74298b9fdb5eb27d6575e8a15683b69889f (patch)
tree88569305679abbd891724aa3004af5ea529034d0 /openbsc/include/openbsc/mncc.h
parentbc814501e8a28f72e16a4662250af01aaa2a1489 (diff)
RTP-enable MNCC API for LCR + ip.access
Instead of passing TRAU frames down the MNCC API to the call control application like MNCC, we now decode the TRAU frame into the actual codec frame. We do the same with the RTP packets in case of ip.access and thus have a unified format of passing codec data from the BTS to an application, independent of the BTS type. This is only implemented for V1 full-rate at the moment, and needs to be fixed.
Diffstat (limited to 'openbsc/include/openbsc/mncc.h')
-rw-r--r--openbsc/include/openbsc/mncc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/mncc.h b/openbsc/include/openbsc/mncc.h
index 766c09f1d..16fa05365 100644
--- a/openbsc/include/openbsc/mncc.h
+++ b/openbsc/include/openbsc/mncc.h
@@ -87,7 +87,7 @@ struct gsm_call {
#define MNCC_FRAME_DROP 0x0202
#define MNCC_LCHAN_MODIFY 0x0203
-#define GSM_TRAU_FRAME 0x0300
+#define GSM_TCHF_FRAME 0x0300
#define GSM_MAX_FACILITY 128
#define GSM_MAX_SSVERSION 128
@@ -207,7 +207,7 @@ struct gsm_mncc {
unsigned char lchan_mode;
};
-struct gsm_trau_frame {
+struct gsm_data_frame {
u_int32_t msg_type;
u_int32_t callref;
unsigned char data[0];