aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-08-20 19:10:58 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-09-14 10:12:29 +0200
commit53122b09d0e0890aa656e0d23a879bd61999d4fb (patch)
tree3e0a6ea21281b7e51f59431674e70b09ebefe6f2 /openbsc/include
parentc21dcb20e5a7e5f9317ac797d03639c191de4eae (diff)
mncc: Use the default codec from the built-in mncc modezecke/features/rtp-bridge
In case of the RTP bridge mode we need to select the codec ourselves. Rely on the same (incomplete) codec selection that can be done using the mncc-int configuration node. This might gain bearer capabilities support. In case of a SDCCH a TCH/F will be attempted to be assigned. This is an open issue for both modes and there should be a preference for full or half-rate channels somewhere.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/mncc_int.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mncc_int.h b/openbsc/include/openbsc/mncc_int.h
index 4f30f08c0..213ce1414 100644
--- a/openbsc/include/openbsc/mncc_int.h
+++ b/openbsc/include/openbsc/mncc_int.h
@@ -9,4 +9,6 @@ struct mncc_int {
extern struct mncc_int mncc_int;
+uint8_t mncc_codec_for_mode(int lchan_type);
+
#endif