Harald Welte | eea18a6 | 2016-04-29 15:18:35 +0200 | [diff] [blame] | 1 | /* |
| 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 | */ |
| 37 | extern const struct osmo_conv_code gsm0503_xcch; |
| 38 | |
| 39 | /*! \brief structures describing convolutional codes CS2/3 |
| 40 | */ |
| 41 | extern const struct osmo_conv_code gsm0503_cs2; |
| 42 | extern const struct osmo_conv_code gsm0503_cs3; |
| 43 | |
| 44 | /*! \brief structure describing convolutional code TCH/AFS 12.2 |
| 45 | */ |
| 46 | extern const struct osmo_conv_code gsm0503_tch_afs_12_2; |
| 47 | |
| 48 | /*! \brief structure describing convolutional code TCH/AFS 10.2 |
| 49 | */ |
| 50 | extern const struct osmo_conv_code gsm0503_tch_afs_10_2; |
| 51 | |
| 52 | /*! \brief structure describing convolutional code TCH/AFS 7.95 |
| 53 | */ |
| 54 | extern const struct osmo_conv_code gsm0503_tch_afs_7_95; |
| 55 | |
| 56 | /*! \brief structure describing convolutional code TCH/AFS 7.4 |
| 57 | */ |
| 58 | extern const struct osmo_conv_code gsm0503_tch_afs_7_4; |
| 59 | |
| 60 | /*! \brief structure describing convolutional code TCH/AFS 6.7 |
| 61 | */ |
| 62 | extern const struct osmo_conv_code gsm0503_tch_afs_6_7; |
| 63 | |
| 64 | /*! \brief structure describing convolutional code TCH/AFS 5.9 |
| 65 | */ |
| 66 | extern const struct osmo_conv_code gsm0503_tch_afs_5_9; |
| 67 | |
| 68 | /*! \brief structure describing convolutional code TCH/AFS 5.15 |
| 69 | */ |
| 70 | extern const struct osmo_conv_code gsm0503_tch_afs_5_15; |
| 71 | |
| 72 | /*! \brief structure describing convolutional code TCH/AFS 4.75 |
| 73 | */ |
| 74 | extern const struct osmo_conv_code gsm0503_tch_afs_4_75; |