blob: de28ad23610fdd3e040769df3a2e449ee1f05328 [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
Vadim Yanitskiyc7a01d52016-09-07 23:03:05 +070029/*! \file gsm0503.h
Harald Welteeea18a62016-04-29 15:18:35 +020030 * 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
Vadim Yanitskiyf3d38c42016-09-07 23:09:49 +070039/*! \brief structure describing convolutional code RACH
40 */
41extern const struct osmo_conv_code gsm0503_rach;
42
43/*! \brief structure describing convolutional code SCH
44 */
45extern const struct osmo_conv_code gsm0503_sch;
46
Harald Welteeea18a62016-04-29 15:18:35 +020047/*! \brief structures describing convolutional codes CS2/3
48 */
49extern const struct osmo_conv_code gsm0503_cs2;
50extern const struct osmo_conv_code gsm0503_cs3;
51
Vadim Yanitskiyf3d38c42016-09-07 23:09:49 +070052/*! \brief structure describing convolutional code TCH/FR
53 */
54extern const struct osmo_conv_code gsm0503_tch_fr;
55
56/*! \brief structure describing convolutional code TCH/HR
57 */
58extern const struct osmo_conv_code gsm0503_tch_hr;
59
Harald Welteeea18a62016-04-29 15:18:35 +020060/*! \brief structure describing convolutional code TCH/AFS 12.2
61 */
62extern const struct osmo_conv_code gsm0503_tch_afs_12_2;
63
64/*! \brief structure describing convolutional code TCH/AFS 10.2
65 */
66extern const struct osmo_conv_code gsm0503_tch_afs_10_2;
67
68/*! \brief structure describing convolutional code TCH/AFS 7.95
69 */
70extern const struct osmo_conv_code gsm0503_tch_afs_7_95;
71
72/*! \brief structure describing convolutional code TCH/AFS 7.4
73 */
74extern const struct osmo_conv_code gsm0503_tch_afs_7_4;
75
76/*! \brief structure describing convolutional code TCH/AFS 6.7
77 */
78extern const struct osmo_conv_code gsm0503_tch_afs_6_7;
79
80/*! \brief structure describing convolutional code TCH/AFS 5.9
81 */
82extern const struct osmo_conv_code gsm0503_tch_afs_5_9;
83
84/*! \brief structure describing convolutional code TCH/AFS 5.15
85 */
86extern const struct osmo_conv_code gsm0503_tch_afs_5_15;
87
88/*! \brief structure describing convolutional code TCH/AFS 4.75
89 */
90extern const struct osmo_conv_code gsm0503_tch_afs_4_75;
Vadim Yanitskiyf3d38c42016-09-07 23:09:49 +070091
92/*! \brief structure describing convolutional code TCH/AHS 7.95
93 */
94extern const struct osmo_conv_code gsm0503_tch_ahs_7_95;
95
96/*! \brief structure describing convolutional code TCH/AHS 7.4
97 */
98extern const struct osmo_conv_code gsm0503_tch_ahs_7_4;
99
100/*! \brief structure describing convolutional code TCH/AHS 6.7
101 */
102extern const struct osmo_conv_code gsm0503_tch_ahs_6_7;
103
104/*! \brief structure describing convolutional code TCH/AHS 5.9
105 */
106extern const struct osmo_conv_code gsm0503_tch_ahs_5_9;
107
108/*! \brief structure describing convolutional code TCH/AHS 5.15
109 */
110extern const struct osmo_conv_code gsm0503_tch_ahs_5_15;
111
112/*! \brief structure describing convolutional code TCH/AHS 4.75
113 */
114extern const struct osmo_conv_code gsm0503_tch_ahs_4_75;
Vadim Yanitskiya6b52162016-09-08 22:06:07 +0700115
116/*! \brief structure describing convolutional code EDGE MCS-1 DL HDR
117 */
118extern const struct osmo_conv_code gsm0503_mcs1_dl_hdr;
119
120/*! \brief structure describing convolutional code EDGE MCS-1 UL HDR
121 */
122extern const struct osmo_conv_code gsm0503_mcs1_ul_hdr;
123
124/*! \brief structure describing convolutional code EDGE MCS-1
125 */
126extern const struct osmo_conv_code gsm0503_mcs1;
127
128/*! \brief structure describing convolutional code EDGE MCS-2
129 */
130extern const struct osmo_conv_code gsm0503_mcs2;
131
132/*! \brief structure describing convolutional code EDGE MCS-3
133 */
134extern const struct osmo_conv_code gsm0503_mcs3;
135
136/*! \brief structure describing convolutional code EDGE MCS-4
137 */
138extern const struct osmo_conv_code gsm0503_mcs4;
139
140/*! \brief structure describing convolutional code EDGE MCS-5 DL HDR
141 */
142extern const struct osmo_conv_code gsm0503_mcs5_dl_hdr;
143
144/*! \brief structure describing convolutional code EDGE MCS-5 UL HDR
145 */
146extern const struct osmo_conv_code gsm0503_mcs5_ul_hdr;
147
148/*! \brief structure describing convolutional code EDGE MCS-5
149 */
150extern const struct osmo_conv_code gsm0503_mcs5;
151
152/*! \brief structure describing convolutional code EDGE MCS-6
153 */
154extern const struct osmo_conv_code gsm0503_mcs6;
155
156/*! \brief structure describing convolutional code EDGE MCS-7 DL HDR
157 */
158extern const struct osmo_conv_code gsm0503_mcs7_dl_hdr;
159
160/*! \brief structure describing convolutional code EDGE MCS-7 UL HDR
161 */
162extern const struct osmo_conv_code gsm0503_mcs7_ul_hdr;
163
164/*! \brief structure describing convolutional code EDGE MCS-7
165 */
166extern const struct osmo_conv_code gsm0503_mcs7;
167
168/*! \brief structure describing convolutional code EDGE MCS-8
169 */
170extern const struct osmo_conv_code gsm0503_mcs8;
171
172/*! \brief structure describing convolutional code EDGE MCS-9
173 */
174extern const struct osmo_conv_code gsm0503_mcs9;