aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/sch.h
AgeCommit message (Collapse)AuthorFilesLines
2014-10-06Transceiver52M: Add FCCH based frequency correctionThomas Tsou1-0/+2
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>
2014-10-06Transceiver52M: Decode SCH and adjust GSM clockThomas Tsou1-0/+24
When in MS acquisition mode, attempt to decode SCH and establish the BTS frame timing. Lock the transceiver GSM clock to the BTS by adjusting the clock value by the measured burst-SCH offset. Add tracking state, TRX_MODE_MS_TRACKING, which continues to detect and decode the SCH with timing tracking, but only on SCH poitions within the 51 multiframe. Signed-off-by: Thomas Tsou <tom@tsou.cc>