aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-09-09 22:32:45 +0200
committerHarald Welte <laforge@gnumonks.org>2011-09-09 22:32:45 +0200
commit9508fb80a4c8284daf52b1beb154a86df7d5ee07 (patch)
tree9b65c7c2e712d031136705329a36ab4b72b5416d /include
parent4ccca1ce36067d5f52d2feb7c2c6f37510618530 (diff)
Introduce new amr.[ch] for AMR related functions
Diffstat (limited to 'include')
-rw-r--r--include/osmo-bts/Makefile.am2
-rw-r--r--include/osmo-bts/amr.h14
2 files changed, 15 insertions, 1 deletions
diff --git a/include/osmo-bts/Makefile.am b/include/osmo-bts/Makefile.am
index ad9409e3..c734f14d 100644
--- a/include/osmo-bts/Makefile.am
+++ b/include/osmo-bts/Makefile.am
@@ -1,2 +1,2 @@
noinst_HEADERS = abis.h bts.h bts_model.h gsm_data.h logging.h measurement.h \
- oml.h paging.h rsl.h signal.h vty.h
+ oml.h paging.h rsl.h signal.h vty.h amr.h
diff --git a/include/osmo-bts/amr.h b/include/osmo-bts/amr.h
new file mode 100644
index 00000000..059f2e03
--- /dev/null
+++ b/include/osmo-bts/amr.h
@@ -0,0 +1,14 @@
+#ifndef _OSMO_BTS_AMR_H
+#define _OSMO_BTS_AMR_H
+
+#include <osmo-bts/gsm_data.h>
+
+void amr_log_mr_conf(int ss, int logl, const char *pfx,
+ struct amr_multirate_conf *amr_mrc);
+
+int amr_parse_mr_conf(struct amr_multirate_conf *amr_mrc,
+ const uint8_t *mr_conf, unsigned int len);
+
+unsigned int amr_get_initial_mode(struct gsm_lchan *lchan);
+
+#endif /* _OSMO_BTS_AMR_H */