From 1189019c30c1208c95868cb6998f6b7af25d2c45 Mon Sep 17 00:00:00 2001 From: Thomas Tsou Date: Wed, 16 Apr 2014 19:36:30 -0400 Subject: 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 --- Transceiver52M/radioInterfaceResamp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Transceiver52M/radioInterfaceResamp.cpp') diff --git a/Transceiver52M/radioInterfaceResamp.cpp b/Transceiver52M/radioInterfaceResamp.cpp index f898d65..c6e5ee1 100644 --- a/Transceiver52M/radioInterfaceResamp.cpp +++ b/Transceiver52M/radioInterfaceResamp.cpp @@ -188,7 +188,7 @@ void RadioInterfaceResamp::pullBuffer() num_recv = mRadio->readSamples(convertRecvBuffer, resamp_outchunk, &overrun, - readTimestamp, + readTimestamp + shiftOffset, &local_underrun); if (num_recv != (int) resamp_outchunk) { LOG(ALERT) << "Receive error " << num_recv; -- cgit v1.2.3