diff options
author | Thomas Tsou <tom@tsou.cc> | 2014-04-16 23:34:21 -0400 |
---|---|---|
committer | Thomas Tsou <tom@tsou.cc> | 2014-10-06 10:35:29 -0700 |
commit | 98b1af896c3e16bec418af654dd8fc2212c85fc5 (patch) | |
tree | c6e0a9eb6a34bfd9828956cba41018bcfdccf7c5 /Transceiver52M/sigProcLib.h | |
parent | 14bb9c923d8c967e8ce114a868923e9566be51e5 (diff) |
Transceiver52M: Use multiple SCH correlation ranges
Setup two SCH detection ranges - full search and narrow search. Full
search correlates the full burst length to find for SCH detection.
Narrow uses a reduced search range, which is the same as that used for
RACH detection.
Narrow searching is enabled after the SCH is successfully decoded and
the MS is locked to the frame timing.
Signed-off-by: Thomas Tsou <tom@tsou.cc>
Diffstat (limited to 'Transceiver52M/sigProcLib.h')
-rw-r--r-- | Transceiver52M/sigProcLib.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Transceiver52M/sigProcLib.h b/Transceiver52M/sigProcLib.h index 90b6852..6cdf7b6 100644 --- a/Transceiver52M/sigProcLib.h +++ b/Transceiver52M/sigProcLib.h @@ -188,11 +188,16 @@ int detectRACHBurst(signalVector &rxBurst, complex *amplitude, float* TOA); +enum { + SCH_DETECT_FULL, + SCH_DETECT_NARROW, +}; + int detectSCHBurst(signalVector &rxBurst, float detectThreshold, int sps, complex *amplitude, - float* TOA); + float* TOA, int state); /** Normal burst correlator, detector, channel estimator. |