path: root/Transceiver52M/Transceiver.h
diff options
authorThomas Tsou <tom@tsou.cc>2014-04-16 19:36:30 -0400
committerThomas Tsou <tom@tsou.cc>2014-10-06 10:35:29 -0700
commit1189019c30c1208c95868cb6998f6b7af25d2c45 (patch)
treeeef1039c2843cce3b570e2ef8f5dff20ea6ffab8 /Transceiver52M/Transceiver.h
parent187225cf337244ad7061745b7834a027e44855be (diff)
Transceiver52M: Add SCH detection capability
Use similar approach for detecting normal and RACH bursts, but apply a sample shift after detection in order to gradually zero the measured timing offset. SCH synchronization sequence and setup are added similar to RACH detection with the main difference, aside being the SCH runs full length of the burst. History is also added to accommodate full length burst correlation. Signed-off-by: Thomas Tsou <tom@tsou.cc>
Diffstat (limited to 'Transceiver52M/Transceiver.h')
1 files changed, 5 insertions, 0 deletions
diff --git a/Transceiver52M/Transceiver.h b/Transceiver52M/Transceiver.h
index df029a6..8433406 100644
--- a/Transceiver52M/Transceiver.h
+++ b/Transceiver52M/Transceiver.h
@@ -116,6 +116,7 @@ private:
OFF, ///< timeslot is off
TSC, ///< timeslot should contain a normal burst
RACH, ///< timeslot should contain an access burst
+ SCH, ///< timeslot should contain a SCH burst
IDLE ///< timeslot is an idle (or dummy) burst
} CorrType;
@@ -147,6 +148,10 @@ private:
signalVector &burst,
complex &amp, float &toa);
+ bool detectSCH(TransceiverState *state,
+ signalVector &burst,
+ complex &amp, float &toa);
/** Detect normal bursts */
bool detectTSC(TransceiverState *state,
signalVector &burst,