aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/radioInterface.h
diff options
context:
space:
mode:
authorThomas Tsou <tom@tsou.cc>2014-10-06 19:05:52 -0700
committerThomas Tsou <tom@tsou.cc>2014-10-07 19:35:25 -0700
commit1303376ad1af451a0487a9015372e2fd068194e2 (patch)
treeb5058d9a9b2a64cff8ce12e6c14ed3f2abe9e08b /Transceiver52M/radioInterface.h
parent25021dfe5a2fdd1a0f1e73c74638dab8ad411944 (diff)
ms: Enable synchronized uplink bursts
Extend the measured SCH timing offset from the downlink to the uplink path. In order to absorb the frame timing adjustment and remove the potential of thread contention during the change, combine the lower FIFO threads into single drive loop. Force timing changes through to the UHD interface with stream flags triggered through the updateAlignment() call. Signed-off-by: Thomas Tsou <tom@tsou.cc>
Diffstat (limited to 'Transceiver52M/radioInterface.h')
-rw-r--r--Transceiver52M/radioInterface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Transceiver52M/radioInterface.h b/Transceiver52M/radioInterface.h
index ebf8f38..f1ff5ea 100644
--- a/Transceiver52M/radioInterface.h
+++ b/Transceiver52M/radioInterface.h
@@ -57,6 +57,7 @@ protected:
int receiveOffset; ///< offset b/w transmit and receive GSM timestamps, in timeslots
int shiftOffset;
+ bool shiftUpdate;
bool mOn; ///< indicates radio is on
private:
@@ -94,7 +95,7 @@ public:
/** check for underrun, resets underrun value */
bool isUnderrun();
- void applyOffset(int offset) { shiftOffset += offset; }
+ void applyOffset(int offset);
/** return the receive FIFO */
VectorFIFO* receiveFIFO(size_t chan = 0);