summaryrefslogtreecommitdiffstats
path: root/data/mnet/GP10/Dsp/bbdataproc/burst/burst.h
diff options
context:
space:
mode:
Diffstat (limited to 'data/mnet/GP10/Dsp/bbdataproc/burst/burst.h')
-rw-r--r--data/mnet/GP10/Dsp/bbdataproc/burst/burst.h63
1 files changed, 63 insertions, 0 deletions
diff --git a/data/mnet/GP10/Dsp/bbdataproc/burst/burst.h b/data/mnet/GP10/Dsp/bbdataproc/burst/burst.h
new file mode 100644
index 0000000..e5db04b
--- /dev/null
+++ b/data/mnet/GP10/Dsp/bbdataproc/burst/burst.h
@@ -0,0 +1,63 @@
+/****************************************************************************
+* (c) Copyright Cisco 2000
+* All Rights Reserved
+*****************************************************************************/
+/****************************************************************************
+**
+** Filename: burst.h
+**
+** Description:
+** This is a test driver include file for routines internal to the
+** Channel CODEC.
+**
+*****************************************************************************/
+#ifndef BURST_H
+#define BURST_H
+
+/*
+* Tail bits
+*/
+const UChar taila[AB_NUM_TAIL_BITS] = {0,0,1,1,1,0,1,0};
+
+/*
+* SB training seq
+*/
+const UChar trainsb[SB_TRAIN_SIZE] =
+ {1,0,1,1,1,0,0,1,0,1,1,0,0,0,1,0,0,0,0,0,0,1,0,
+ 0,0,0,0,0,1,1,1,1,0,0,1,0,1,1,0,1,0,1,0,0,0,
+ 1,0,1,0,1,1,1,0,1,1,0,0,0,0,1,1,0,1,1};
+
+/*
+* Dummy burst mixed bits
+*/
+const UChar mixed[DB_NUM_MIXED_BITS] =
+ {1,1,1,1,1,0,1,1,0,1,1,1,0,1,1,0,0,0,0,0,1,0,1,
+ 0,0,1,0,0,1,1,1,0,0,0,0,0,1,0,0,1,0,0,0,1,0,
+ 0,0,0,0,0,0,1,1,1,1,1,0,0,0,1,1,1,0,0,0,1,0,1,1,1,0,
+ 0,0,1,0,1,1,1,0,0,0,1,0,1,
+ 0,1,1,1,0,1,0,0,1,0,1,0,0,0,1,1,0,0,1,1,0,0,1,1,1,0,0,
+ 1,1,1,1,0,1,0,0,1,1,1,1,1,0,0,0,1,0,0,1,0,1,1,1,1,1,0,
+ 1,0,1,0};
+
+/*
+* AB sync sequence
+*/
+const UChar syncseq[AB_TRAIN_SIZE] =
+ {0,1,0,0,1,0,1,1,0,1,1,1,1,1,1,1,1,0,0,1,1,
+ 0,0,1,1,0,1,0,1,0,1,0,0,0,1,1,1,1,0,0,0};
+
+/*
+* Normal burst training sequenses
+*/
+const UChar trainnb[NB_NUM_TRAIN_SEQ][NB_TRAIN_SIZE] =
+ { {0,0,1,0,0,1,0,1,1,1,0,0,0,0,1,0,0,0,1,0,0,1,0,1,1,1},
+ {0,0,1,0,1,1,0,1,1,1,0,1,1,1,1,0,0,0,1,0,1,1,0,1,1,1},
+ {0,1,0,0,0,0,1,1,1,0,1,1,1,0,1,0,0,1,0,0,0,0,1,1,1,0},
+ {0,1,0,0,0,1,1,1,1,0,1,1,0,1,0,0,0,1,0,0,0,1,1,1,1,0},
+ {0,0,0,1,1,0,1,0,1,1,1,0,0,1,0,0,0,0,0,1,1,0,1,0,1,1},
+ {0,1,0,0,1,1,1,0,1,0,1,1,0,0,0,0,0,1,0,0,1,1,1,0,1,0},
+ {1,0,1,0,0,1,1,1,1,1,0,1,1,0,0,0,1,0,1,0,0,1,1,1,1,1},
+ {1,1,1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,1,1,0,1,1,1,1,0,0} };
+
+
+#endif /* end of include once only */