osmo-gmr 0.2.104-2b98
Osmocom GMR-1
|
Files | |
file | scramb.h |
Osmocom GMR-1 scrambling header. | |
file | scramb.c |
Osmocom GMR-1 scrambling implementation. | |
Macros | |
#define | GMR1_SCRAMBLE_REG_INIT 0x4d4b |
Functions | |
void | gmr1_scramble_sbit (sbit_t *out, const sbit_t *in, int len) |
Scrambles/Unscrambles a softbit vector. More... | |
void | gmr1_scramble_ubit (ubit_t *out, const ubit_t *in, int len) |
Scrambles/Unscrambles an unpacked hard bit vector. More... | |
void gmr1_scramble_sbit | ( | sbit_t * | out, |
const sbit_t * | in, | ||
int | len | ||
) |
Scrambles/Unscrambles a softbit vector.
[out] | out | output sbit_t array |
[in] | in | input sbit_t array |
[in] | len | length of the array to convert |
The output array can be equal to the input array for in-place scrambling/unscrambling
Referenced by gmr1_bcch_decode(), gmr1_ccch_decode(), gmr1_facch3_decode(), gmr1_facch9_decode(), gmr1_rach_decode(), gmr1_tch3_decode(), and gmr1_xch_dc12_decode().
void gmr1_scramble_ubit | ( | ubit_t * | out, |
const ubit_t * | in, | ||
int | len | ||
) |
Scrambles/Unscrambles an unpacked hard bit vector.
[out] | out | output ubit_t array |
[in] | in | input ubit_t array |
[in] | len | length of the array to convert |
The output array can be equal to the input array for in-place scrambling/unscrambling