aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThomas Tsou <tom@tsou.cc>2014-05-08 13:41:17 -0400
committerHarald Welte <laforge@gnumonks.org>2015-09-06 14:48:31 +0200
commit816ad67fe8b0dc4a35d34aafb933194a97bc228d (patch)
treed0b500609066e3d066f45150c41bea224494a62c /src
parent67323c43e677d77ad052ac9643c82a1586fe9e3e (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')
-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,