osmo-trx/Transceiver52M
kurtis.heimerl c7cb817cb1 uhd: fix timestamp conversion bug on 32-bit architectures
Type size_t was used in the UHD time_spec_t to integer
conversion, which would overflow at roughly 4 and a half
hours causing the sample buffer to error on timestamp
validity. Builds where size_t takes on 64-bits were not
affected by this bug.

Signed-off-by: Thomas Tsou <ttsou@vt.edu>

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@2646 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2011-11-26 03:17:26 +00:00
..
Complex.h Adding in the missing Transceiver52M directory 2011-10-12 07:44:40 +00:00
DummyLoad.cpp Adding in the missing Transceiver52M directory 2011-10-12 07:44:40 +00:00
DummyLoad.h Adding in the missing Transceiver52M directory 2011-10-12 07:44:40 +00:00
Makefile.am Adding in the missing Transceiver52M directory 2011-10-12 07:44:40 +00:00
README Adding in the missing Transceiver52M directory 2011-10-12 07:44:40 +00:00
README.DFEsymbolspaced Adding in the missing Transceiver52M directory 2011-10-12 07:44:40 +00:00
README.Talgorithm Adding in the missing Transceiver52M directory 2011-10-12 07:44:40 +00:00
Transceiver.cpp uhd: inline thread priority setting 2011-11-26 03:17:21 +00:00
Transceiver.h uhd: inline thread priority setting 2011-11-26 03:17:21 +00:00
UHDDevice.cpp uhd: fix timestamp conversion bug on 32-bit architectures 2011-11-26 03:17:26 +00:00
USRPDevice.cpp uhd: add 52 MHz transceiver support 2011-11-26 03:16:54 +00:00
USRPDevice.h uhd: allow the non-uhd to still compile unchanged 2011-11-26 03:17:15 +00:00
USRPping.cpp uhd: add 52 MHz transceiver support 2011-11-26 03:16:54 +00:00
inband-signaling-usb Adding in the missing Transceiver52M directory 2011-10-12 07:44:40 +00:00
pulseApproximate.m Adding in the missing Transceiver52M directory 2011-10-12 07:44:40 +00:00
radioDevice.h uhd: move non-52MHz transceiver to common radio device interface 2011-11-26 03:17:13 +00:00
radioInterface.cpp transceiver: fix initialization segfault in radio interface 2011-11-26 03:16:45 +00:00
radioInterface.h uhd: inline thread priority setting 2011-11-26 03:17:21 +00:00
runTransceiver.cpp Adding in the missing Transceiver52M directory 2011-10-12 07:44:40 +00:00
sigProcLib.cpp Adding in the missing Transceiver52M directory 2011-10-12 07:44:40 +00:00
sigProcLib.h Adding in the missing Transceiver52M directory 2011-10-12 07:44:40 +00:00
sigProcLibTest.cpp Adding in the missing Transceiver52M directory 2011-10-12 07:44:40 +00:00
std_inband.rbf Adding in the missing Transceiver52M directory 2011-10-12 07:44:40 +00:00

README

The Transceiver

The transceiver consists of three modules:
   --- transceiver
   --- radioInterface
   --- USRPDevice

The USRPDevice module is basically a driver that reads/writes
packets to a USRP with two RFX900 daughterboards, board 
A is the Tx chain and board B is the Rx chain.  

The radioInterface module is basically an interface b/w the
transceiver and the USRP.   It operates the basestation clock
based upon the sample count of received USRP samples.  Packets 
from the USRP are queued and segmented into GSM bursts that are
passed up to the transceiver; bursts from the transceiver are
passed down to the USRP. 

The transceiver basically operates "layer 0" of the GSM stack,
performing the modulation, detection, and demodulation of GSM 
bursts.  It communicates with the GSM stack via three UDP sockets,
one socket for data, one for control messages, and one socket to
pass clocking information.  The transceiver contains a priority
queue to sort to-be-transmitted bursts, and a filler table to fill
in timeslots that do not have bursts in the priority queue.  The
transceiver tries to stay ahead of the basestation clock, adapting 
its latency when underruns are reported by the radioInterface/USRP.
Received bursts (from the radioInterface) pass through a simple 
energy detector, a RACH or midamble correlator, and a DFE-based demodulator.

NOTE: There's a SWLOOPBACK #define statement, where the USRP is replaced
with a memory buffer.  In this mode, data written to the USRP is actually stored 
in a buffer, and read commands to the USRP simply pull data from this buffer.
This was very useful in early testing, and still may be useful in testing basic
Transceiver and radioInterface functionality.