summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-10-16 14:58:00 +0200
committerMax <msuraev@sysmocom.de>2017-12-11 10:36:47 +0000
commit32e5641dbbfd91b650a9ec8cf62d28fd22109e9e (patch)
tree401803f3b61944c3264c341a54878c8456c61110 /utils
parent9dd3bf0cb4e780b54772f4abe1e2966b09f99301 (diff)
Add functions for extended RACH coding
Add support for extended RACH (11 bit) according 3GPP TS 45.003 §5.3.2: * convolutional code with puncturing * encoding/decoding routines * corresponding tests Change-Id: I85a34a82d5cd39a594ee89d91a2338226066ab5d Related: OS#1548
Diffstat (limited to 'utils')
-rw-r--r--utils/conv_codes_gsm.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/utils/conv_codes_gsm.py b/utils/conv_codes_gsm.py
index 279bd3a8..eeed4fd0 100644
--- a/utils/conv_codes_gsm.py
+++ b/utils/conv_codes_gsm.py
@@ -1,5 +1,5 @@
#!/usr/bin/python2
-
+# -*- coding: utf-8 -*-
from conv_gen import ConvolutionalCode
from conv_gen import poly
@@ -49,6 +49,15 @@ conv_codes = [
description = ["RACH convolutional code"]
),
+ # Extended RACH definition from 3GPP TS 45.003 §5.3.2
+ ConvolutionalCode(
+ 17,
+ shared_polys["xcch"],
+ puncture = [ 0, 2, 5, 37, 39, 41, -1 ],
+ name = "rach_ext",
+ description = ["Extended RACH (11 bit) convolutional code"]
+ ),
+
# SCH definition
ConvolutionalCode(
35,