From 32e5641dbbfd91b650a9ec8cf62d28fd22109e9e Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 16 Oct 2017 14:58:00 +0200 Subject: Add functions for extended RACH coding MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- utils/conv_codes_gsm.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'utils') 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, -- cgit v1.2.3