diff options
author | Thomas Tsou <tom@tsou.cc> | 2014-04-16 23:10:12 -0400 |
---|---|---|
committer | Thomas Tsou <tom@tsou.cc> | 2014-10-06 10:35:29 -0700 |
commit | 14bb9c923d8c967e8ce114a868923e9566be51e5 (patch) | |
tree | 4e2b1724ff032d870468f968f395bee767cefdf0 /Transceiver52M/radioInterface.cpp | |
parent | c7f36c282a917a4718f9b116ba59d2daffa16eb2 (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.cpp | 4 |
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() { |