GNU Radio's GSM Package
cch.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DATA_BLOCK_SIZE   184
 
#define PARITY_SIZE   40
 
#define FLUSH_BITS_SIZE   4
 
#define PARITY_OUTPUT_SIZE   (DATA_BLOCK_SIZE + PARITY_SIZE + FLUSH_BITS_SIZE)
 
#define CONV_INPUT_SIZE   PARITY_OUTPUT_SIZE
 
#define CONV_SIZE   (2 * CONV_INPUT_SIZE)
 
#define BLOCKS   4
 
#define iBLOCK_SIZE   (CONV_SIZE / BLOCKS)
 
#define eBLOCK_SIZE   (iBLOCK_SIZE + 2)
 

Functions

int conv_decode (unsigned char *output, unsigned char *data)
 
int parity_check (unsigned char *d)
 

Macro Definition Documentation

#define BLOCKS   4
#define CONV_INPUT_SIZE   PARITY_OUTPUT_SIZE
#define CONV_SIZE   (2 * CONV_INPUT_SIZE)
#define DATA_BLOCK_SIZE   184
#define eBLOCK_SIZE   (iBLOCK_SIZE + 2)
#define FLUSH_BITS_SIZE   4
#define iBLOCK_SIZE   (CONV_SIZE / BLOCKS)
#define PARITY_OUTPUT_SIZE   (DATA_BLOCK_SIZE + PARITY_SIZE + FLUSH_BITS_SIZE)
#define PARITY_SIZE   40

Function Documentation

int conv_decode ( unsigned char *  output,
unsigned char *  data 
)
int parity_check ( unsigned char *  d)