aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Tsou <tom@tsou.cc>2014-05-08 13:41:17 -0400
committerIvan Kluchnikov <kluchnikovi@gmail.com>2014-09-23 13:32:52 +0400
commitd913322b474d4a7d3f359d55214c896505606917 (patch)
tree72afe64c22c40c9fff3b37b8263779531268a4a7
parenteac3b8c2a6394ebc3b6b4f7782b0ce0f086730f3 (diff)
TRX: Remove extra TCH/HS puncturing value
3GPP TS 05.03 "Channel coding" specifies the puncturing matrix (1,0,1) for class 1 information bits and tail bits valued u(0) to u(103) for a maximum puncturing index of 311. The puncturing index 313 exceeds the maximum index and causes osmo_conv_get_output_length() to output the improper length of 210 instead of 211. Signed-off-by: Thomas Tsou <tom@tsou.cc>
-rw-r--r--src/osmo-bts-trx/gsm0503_conv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-trx/gsm0503_conv.c b/src/osmo-bts-trx/gsm0503_conv.c
index 2a814ca3..dc50e6c2 100644
--- a/src/osmo-bts-trx/gsm0503_conv.c
+++ b/src/osmo-bts-trx/gsm0503_conv.c
@@ -139,7 +139,7 @@ static const int conv_tch_hr_puncture[] = {
253, 256, 259, 262, 265, 268, 271, 274, 277, 280, 283,
/* Tail bits */
- 295, 298, 301, 304, 307, 310, 313,
+ 295, 298, 301, 304, 307, 310,
/* End */
-1,