osmo-gmr 0.2.104-2b98
Osmocom GMR-1
|
Files | |
file | bcch.h |
Osmocom GMR-1 BCCH channel coding header. | |
file | bcch.c |
Osmocom GMR-1 BCCH channel coding implementation. | |
Functions | |
void | gmr1_bcch_encode (ubit_t *bits_e, const uint8_t *l2) |
Stateless GMR-1 BCCH channel coder. More... | |
int | gmr1_bcch_decode (uint8_t *l2, const sbit_t *bits_e, int *conv_rv) |
Stateless GMR-1 BCCH channel decoder. More... | |
int gmr1_bcch_decode | ( | uint8_t * | l2, |
const sbit_t * | bits_e, | ||
int * | conv_rv | ||
) |
Stateless GMR-1 BCCH channel decoder.
[out] | l2 | L2 packet data |
[in] | bits_e | Data bits of a burst |
[out] | conv_rv | Return of the convolutional decode (can be NULL) |
L2 data is 24 byte long, and bits_e is a 424 soft bit array unmapped from a burst.
References gmr1_deinterleave_intra(), and gmr1_scramble_sbit().
void gmr1_bcch_encode | ( | ubit_t * | bits_e, |
const uint8_t * | l2 | ||
) |
Stateless GMR-1 BCCH channel coder.
[out] | bits_e | Data bits of a burst |
[in] | l2 | L2 packet data |
L2 data is 24 byte long, and bits_e is a 424 hard bit array to be mapped on a burst.
References gmr1_crc16.