From fd405f799425b6832a0c9cc7a56b07f43288b8b1 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 1 Dec 2008 01:19:19 +0530 Subject: gsmstack: add new unfinished GSM burst/channel demultiplex This is some unfinished work on a new codebase for 'proper' demultiplex of all the various physical and logical channel types. Basically this includes everything needed to get from the differential-decoded bursts up to the MAC blocks that can be passed up to layer 2. --- gsmstack/gsmstack_chan.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 gsmstack/gsmstack_chan.h (limited to 'gsmstack/gsmstack_chan.h') diff --git a/gsmstack/gsmstack_chan.h b/gsmstack/gsmstack_chan.h new file mode 100644 index 0000000..a54fae0 --- /dev/null +++ b/gsmstack/gsmstack_chan.h @@ -0,0 +1,12 @@ +#ifndef _GSMSTACK_CHAN_H +#define _GSMSTACK_CHAN_H + +/* 51 multiframe for CCCH TS0 of a FCCH+SCH+BCCH+PACH */ +const char ccch[] = + "FSBBBBPPPPFSPPPPPPPPFSPPPPPPPPFSPPPPPPPPFSPPPPPPPP_"; + +/* SDCCH/8 + SACCH/C8; A...D are alternating 0..3/4..7 */ +const char sdcch8[] = + "00001111222233334444555566667777AAAABBBBCCCCDDDD___"; + +#endif /* _GSMSTACK_CHAN_H */ -- cgit v1.2.3