blob: cf1c97650501ff0f22231faa03ae52ebbdd4e6ae [file] [log] [blame]
Harald Welteeea18a62016-04-29 15:18:35 +02001/*
2 * gsm0503.h
3 *
4 * Copyright (C) 2016 sysmocom s.f.m.c. GmbH
5 *
6 * All Rights Reserved
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License along
19 * with this program; if not, write to the Free Software Foundation, Inc.,
20 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 */
22
23#pragma once
24
25#include <stdint.h>
26
27#include <osmocom/core/conv.h>
28
29/*! \file conv_gen.h
30 * Osmocom convolutional encoder/decoder for xCCH channels, see 3GPP TS 05.03
31 */
32
33/*! \brief structure describing convolutional code xCCH
34 *
35 * Non-recursive code, flushed, not punctured code.
36 */
37extern const struct osmo_conv_code gsm0503_xcch;
38
39/*! \brief structures describing convolutional codes CS2/3
40 */
41extern const struct osmo_conv_code gsm0503_cs2;
42extern const struct osmo_conv_code gsm0503_cs3;
43
44/*! \brief structure describing convolutional code TCH/AFS 12.2
45 */
46extern const struct osmo_conv_code gsm0503_tch_afs_12_2;
47
48/*! \brief structure describing convolutional code TCH/AFS 10.2
49 */
50extern const struct osmo_conv_code gsm0503_tch_afs_10_2;
51
52/*! \brief structure describing convolutional code TCH/AFS 7.95
53 */
54extern const struct osmo_conv_code gsm0503_tch_afs_7_95;
55
56/*! \brief structure describing convolutional code TCH/AFS 7.4
57 */
58extern const struct osmo_conv_code gsm0503_tch_afs_7_4;
59
60/*! \brief structure describing convolutional code TCH/AFS 6.7
61 */
62extern const struct osmo_conv_code gsm0503_tch_afs_6_7;
63
64/*! \brief structure describing convolutional code TCH/AFS 5.9
65 */
66extern const struct osmo_conv_code gsm0503_tch_afs_5_9;
67
68/*! \brief structure describing convolutional code TCH/AFS 5.15
69 */
70extern const struct osmo_conv_code gsm0503_tch_afs_5_15;
71
72/*! \brief structure describing convolutional code TCH/AFS 4.75
73 */
74extern const struct osmo_conv_code gsm0503_tch_afs_4_75;