aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/mncc_int.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-09-01 18:18:43 +0200
committerHarald Welte <laforge@gnumonks.org>2011-09-03 18:23:20 +0200
commitab386e6120559ef2deb6a27f4455539cba920c9d (patch)
tree425cb2f19eac173c8d59c719143735865f94740b /openbsc/include/openbsc/mncc_int.h
parent6b353778c4329deb27f69301c050e0b6e55d4df6 (diff)
Add VTY command to specify default speech codec
In order to have the MNCC application reliably decide on the codec type, it needs to know if we are running on a TCH/F or TCH/H. Thus, we pass lchan_mode as a new parameter to the 'struct gsm_mncc'
Diffstat (limited to 'openbsc/include/openbsc/mncc_int.h')
-rw-r--r--openbsc/include/openbsc/mncc_int.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mncc_int.h b/openbsc/include/openbsc/mncc_int.h
new file mode 100644
index 000000000..4f30f08c0
--- /dev/null
+++ b/openbsc/include/openbsc/mncc_int.h
@@ -0,0 +1,12 @@
+#ifndef _MNCC_INT_H
+#define _MNCC_INT_H
+
+#include <stdint.h>
+
+struct mncc_int {
+ uint8_t def_codec[2];
+};
+
+extern struct mncc_int mncc_int;
+
+#endif