From 07b7bd79d68c56212b3e248e6f9273a6c556c69d Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 24 Jul 2011 02:18:13 +0200 Subject: TRAU mux: add some comment to the source of the gsm_fr_map --- openbsc/src/libtrau/trau_mux.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 #include -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, -- cgit v1.2.3