osmo-gmr 0.2.104-2b98 Osmocom GMR-1

facch9.h
Go to the documentation of this file.
1/* GMR-1 FACCH9 channel coding */
2/* See GMR-1 05.003 (ETSI TS 101 376-5-3 V1.2.1) - Section 6.11 */
3
4/* (C) 2011-2019 by Sylvain Munaut <tnt@246tNt.com>
5 * All Rights Reserved
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU Affero General Public License as published by
9 * the Free Software Foundation; either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU Affero General Public License for more details.
16 *
17 * You should have received a copy of the GNU Affero General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21#ifndef __OSMO_GMR1_L1_FACCH9_H__
22#define __OSMO_GMR1_L1_FACCH9_H__
23
33#include <stdint.h>
34#include <osmocom/core/bits.h>
35
36
37 void gmr1_facch9_encode(ubit_t *bits_e, const uint8_t *l2,
38 const ubit_t *bits_sacch, const ubit_t *bits_status,
39 const ubit_t *ciph);
40 int gmr1_facch9_decode(uint8_t *l2, sbit_t *bits_sacch, sbit_t *bits_status,
41 const sbit_t *bits_e, const ubit_t *ciph, int *conv_rv);
42
43
46#endif /* __OSMO_GMR1_L1_FACCH9_H__ */
gmr1_facch9_decode
int gmr1_facch9_decode(uint8_t *l2, sbit_t *bits_sacch, sbit_t *bits_status, const sbit_t *bits_e, const ubit_t *ciph, int *conv_rv)
Stateless GMR-1 FACCH9 channel decoder.
Definition: facch9.c:107
gmr1_facch9_encode
void gmr1_facch9_encode(ubit_t *bits_e, const uint8_t *l2, const ubit_t *bits_sacch, const ubit_t *bits_status, const ubit_t *ciph)
Stateless GMR-1 FACCH9 channel coder.
Definition: facch9.c:61