diff options
author | Harald Welte <laforge@gnumonks.org> | 2008-12-01 12:54:30 +0530 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2008-12-01 12:54:30 +0530 |
commit | 602a3c8aa8a3d9bd4d93deda6ac932404f39584d (patch) | |
tree | a8c44956098cc4a6151fd9d8e0d8afc035182159 /gsmstack/cch.h | |
parent | 10f2fcca8dd1be2719bccefa16fd9dac9a76c749 (diff) |
Add README, various compile fixes
Diffstat (limited to 'gsmstack/cch.h')
-rw-r--r-- | gsmstack/cch.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gsmstack/cch.h b/gsmstack/cch.h new file mode 100644 index 0000000..71308c4 --- /dev/null +++ b/gsmstack/cch.h @@ -0,0 +1,41 @@ + +#ifndef __GSMSTACK_CCH_H__ +#define __GSMSTACK_CCH_H__ 1 + +#ifdef __cplusplus +extern "C" { +#endif + +#include "gsmstack.h" + +/* + * decode_cch + * + * Decode a "common" control channel. Most control channels use + * the same burst, interleave, Viterbi and parity configuration. + * The documentation for the control channels defines SACCH first + * and then just keeps referring to that. + * + * The current (investigated) list is as follows: + * + * BCCH Norm + * BCCH Ext + * PCH + * AGCH + * CBCH (SDCCH/4) + * CBCH (SDCCH/8) + * SDCCH/4 + * SACCH/C4 + * SDCCH/8 + * SACCH/C8 + * + * We provide two functions, one for where all four bursts are + * contiguous, and one where they aren't. + */ +unsigned char *decode_cch(GS_CTX *ctx, unsigned char *burst, unsigned int *len); + +#ifdef __cplusplus +} +#endif + +#endif |