From 9508fb80a4c8284daf52b1beb154a86df7d5ee07 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 9 Sep 2011 22:32:45 +0200 Subject: Introduce new amr.[ch] for AMR related functions --- include/osmo-bts/Makefile.am | 2 +- include/osmo-bts/amr.h | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 include/osmo-bts/amr.h (limited to 'include') 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 + +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 */ -- cgit v1.2.3