aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-trx/gsm0503_conv.c
diff options
context:
space:
mode:
authorThomas Tsou <tom@tsou.cc>2014-05-08 13:41:17 -0400
committerHarald Welte <laforge@gnumonks.org>2015-09-22 16:41:31 +0200
commitddc0bf14d5d5c8b3248eab0463399ae0a5bb8e3f (patch)
treedf89cc712328a7ff1167be6269d0add40e97e138 /src/osmo-bts-trx/gsm0503_conv.c
parentdeb01a26528a0f61ae0e20a3b793db560d4c81dc (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>
Diffstat (limited to 'src/osmo-bts-trx/gsm0503_conv.c')
-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,