aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/radioInterface.cpp
diff options
context:
space:
mode:
authorThomas Tsou <tom@tsou.cc>2014-04-16 23:10:12 -0400
committerThomas Tsou <tom@tsou.cc>2014-10-06 10:35:29 -0700
commit14bb9c923d8c967e8ce114a868923e9566be51e5 (patch)
tree4e2b1724ff032d870468f968f395bee767cefdf0 /Transceiver52M/radioInterface.cpp
parentc7f36c282a917a4718f9b116ba59d2daffa16eb2 (diff)
Transceiver52M: Add FCCH based frequency correction
Enable frequency detection and correction by buffering the previous frame to allow FCCH measurement and compensation after frame timing is locked using the SCH. When the SCH is detected and symbol timing matched, measure the FCCH burst from one frame prior and compensate by baseband tuning the DDC on the device. Avoid appying frequency corrections to the RF portion due to possible tuning delays, which is not an issue with DDC tuning. Signed-off-by: Thomas Tsou <tom@tsou.cc>
Diffstat (limited to 'Transceiver52M/radioInterface.cpp')
-rw-r--r--Transceiver52M/radioInterface.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Transceiver52M/radioInterface.cpp b/Transceiver52M/radioInterface.cpp
index 317d2b4..75266dd 100644
--- a/Transceiver52M/radioInterface.cpp
+++ b/Transceiver52M/radioInterface.cpp
@@ -172,6 +172,10 @@ bool RadioInterface::tuneRx(double freq, size_t chan)
return mRadio->setRxFreq(freq, chan);
}
+bool RadioInterface::tuneRxOffset(double offset, size_t chan)
+{
+ return mRadio->setRxOffset(offset, chan);
+}
void RadioInterface::start()
{