summaryrefslogtreecommitdiffstats
path: root/openbsc/src/libtrau
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-07-24 02:18:13 +0200
committerHarald Welte <laforge@gnumonks.org>2011-07-24 02:18:13 +0200
commit07b7bd79d68c56212b3e248e6f9273a6c556c69d (patch)
tree04d661baf77787d84fefdc6ae2a7a25d4b782aff /openbsc/src/libtrau
parent7017fa7c9dbcaf0d50d805dfeb5a5c5bed711fe1 (diff)
TRAU mux: add some comment to the source of the gsm_fr_map
Diffstat (limited to 'openbsc/src/libtrau')
-rw-r--r--openbsc/src/libtrau/trau_mux.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsc/src/libtrau/trau_mux.c b/openbsc/src/libtrau/trau_mux.c
index b8b90bd02..b2c630cc9 100644
--- a/openbsc/src/libtrau/trau_mux.c
+++ b/openbsc/src/libtrau/trau_mux.c
@@ -30,7 +30,9 @@
#include <openbsc/debug.h>
#include <osmocom/core/talloc.h>
-uint8_t gsm_fr_map[] = {
+/* this corresponds to teh bit-lengths of the individual codec
+ * parameters as indicated in Table 1.1 of TS 06.10 */
+static const uint8_t gsm_fr_map[] = {
6, 6, 5, 5, 4, 4, 3, 3,
7, 2, 2, 6, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3,