libosmogsm  0.11.0-dirty
Osmocom GSM library
src/gsm/conv_tch_afs_7_4_gen.c File Reference
#include <stdint.h>
#include <osmocom/core/conv.h>

Variables

static const uint8_t tch_afs_7_4_state [][2]
static const uint8_t tch_afs_7_4_output [][2]
static const uint8_t tch_afs_7_4_term_state []
static const uint8_t tch_afs_7_4_term_output []
static const int tch_afs_7_4_puncture []
struct osmo_conv_code gsm0503_tch_afs_7_4
 TCH/AFS 7.4 kbits convolutional code: G1/G3 = 1 + D + D3 + D4 / 1 + D + D2 + D3 + D4 G2/G3 = 1 + D2 + D4 / 1 + D + D2 + D3 + D4 G3/G3 = 1.

Variable Documentation

Initial value:
 {
        .N = 3,
        .K = 5,
        .len = 154,
        .next_output = tch_afs_7_4_output,
        .next_state = tch_afs_7_4_state,
        .next_term_output = tch_afs_7_4_term_output,
        .next_term_state = tch_afs_7_4_term_state,
        .puncture = tch_afs_7_4_puncture,
}

TCH/AFS 7.4 kbits convolutional code: G1/G3 = 1 + D + D3 + D4 / 1 + D + D2 + D3 + D4 G2/G3 = 1 + D2 + D4 / 1 + D + D2 + D3 + D4 G3/G3 = 1.

structure describing TCH/AFS 7.4 kbits convolutional code:.

const uint8_t tch_afs_7_4_output[][2] [static]
Initial value:
 {
        {  0,  7 },
        {  2,  5 },
        {  4,  3 },
        {  6,  1 },
        {  2,  5 },
        {  0,  7 },
        {  6,  1 },
        {  4,  3 },
        {  0,  7 },
        {  2,  5 },
        {  4,  3 },
        {  6,  1 },
        {  2,  5 },
        {  0,  7 },
        {  6,  1 },
        {  4,  3 },
}
const int tch_afs_7_4_puncture[] [static]
Initial value:
 {
        0,
        355,
        361,
        367,
        373,
        379,
        385,
        391,
        397,
        403,
        409,
        415,
        421,
        427,
        433,
        439,
        445,
        451,
        457,
        460,
        463,
        466,
        468,
        469,
        471,
        472,
        -1,
}
const uint8_t tch_afs_7_4_state[][2] [static]
Initial value:
 {
        {  0,  1 },
        {  3,  2 },
        {  5,  4 },
        {  6,  7 },
        {  9,  8 },
        { 10, 11 },
        { 12, 13 },
        { 15, 14 },
        {  1,  0 },
        {  2,  3 },
        {  4,  5 },
        {  7,  6 },
        {  8,  9 },
        { 11, 10 },
        { 13, 12 },
        { 14, 15 },
}
const uint8_t tch_afs_7_4_term_output[] [static]
Initial value:
 {
        0, 5, 3, 6, 5, 0, 6, 3, 7, 2, 4, 1, 2, 7, 1, 4, 
}
const uint8_t tch_afs_7_4_term_state[] [static]
Initial value:
 {
        0, 2, 4, 6, 8, 10, 12, 14, 0, 2, 4, 6, 8, 10, 12, 14, 
}
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines