summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorleo <leo@brix.(none)>2008-02-20 02:51:05 +0000
committerleo <leo@brix.(none)>2008-02-20 02:51:05 +0000
commit89c210c82da509cbdfaf9a4b71a2e451ecf4d08b (patch)
treeac71e0c1cfd4fa50c7913b9fca0ac87b7f52952e
parenta03a24ac0b74af3596fe8ea67c70addcbd515e2d (diff)
initail
-rwxr-xr-xgsm-tvoid/src/lib/gsm_burst.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gsm-tvoid/src/lib/gsm_burst.h b/gsm-tvoid/src/lib/gsm_burst.h
index ce727fe..951cef2 100755
--- a/gsm-tvoid/src/lib/gsm_burst.h
+++ b/gsm-tvoid/src/lib/gsm_burst.h
@@ -8,6 +8,7 @@
#include <gsm_constants.h>
#include <gr_math.h>
+#include "gsmstack.h"
//Console printing options
#define PRINT_NOTHING 0x00000000
@@ -90,6 +91,9 @@ protected:
int d_corr_maxpos;
int d_corr_center;
+ ///// GSM Stack
+ GS_CTX d_gs_ctx;
+
///// Burst information
SYNC_STATE d_sync_state;
BURST_TYPE d_burst_type;
@@ -111,6 +115,7 @@ protected:
float correlate_pattern(const float *,const int,const int,const int);
void print_bits(const float *data,int length);
+ void soft2hardbit(char *dst, const float *data, int len);
void print_burst(void);
void diff_encode(const float *in,float *out,int length,float lastbit = 1.0);
personal git repositories of Harald Welte. Your mileage may vary