osmo-trx/Transceiver52M
Philipp Maier fe9769833f cosmetic: remove code duplication
The ARM and the X86 implementation of the conversion functions share
the same, non cpu specific implementation in separate files.

This commit removes the code duplication by putting the generic
implementation into a convert_base.c, similar to to convolve_base.c

Change-Id: Ic8d8534a343e27cde79ddc85be4998ebd0cb6e5c
2017-05-19 17:16:37 +00:00
..
arm cosmetic: remove code duplication 2017-05-19 17:16:37 +00:00
common cosmetic: remove code duplication 2017-05-19 17:16:37 +00:00
x86 cosmetic: remove code duplication 2017-05-19 17:16:37 +00:00
Channelizer.cpp mcbts: Add multi-ARFCN channelizing filters 2016-07-01 03:07:27 -07:00
Channelizer.h mcbts: Add multi-ARFCN channelizing filters 2016-07-01 03:07:27 -07:00
ChannelizerBase.cpp transceiver: Fix mismatched allocations and deallocations 2016-10-26 08:54:13 +02:00
ChannelizerBase.h mcbts: Add multi-ARFCN channelizing filters 2016-07-01 03:07:27 -07:00
Complex.h Alexander's patches: 2012-11-23 08:37:32 +00:00
Makefile.am Fix building against sqlite3 2017-01-26 17:06:06 +01: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
Resampler.cpp Resampler: Fix non-array delete for filter taps 2017-04-03 18:06:48 +00:00
Resampler.h iface: Add inner ring-buffer implementation 2016-07-01 03:03:11 -07:00
Synthesis.cpp mcbts: Add multi-ARFCN channelizing filters 2016-07-01 03:07:27 -07:00
Synthesis.h mcbts: Add multi-ARFCN channelizing filters 2016-07-01 03:07:27 -07:00
Transceiver.cpp Transceiver: Remove unsigned negative compares 2017-04-03 18:06:48 +00:00
Transceiver.h Move Transceiver::demodulate() to sigProcLib to make it reusable. 2017-03-28 14:23:56 +00:00
UHDDevice.cpp uhd: Increase MC-BTS FPGA clock rate to 51.2 MHz 2017-03-07 17:54:06 -08:00
USRPDevice.cpp uhd: Add command line option for GPS reference 2016-07-17 19:34:22 -07:00
USRPDevice.h uhd: Add command line option for GPS reference 2016-07-17 19:34:22 -07:00
inband-signaling-usb Adding in the missing Transceiver52M directory 2011-10-12 07:44:40 +00:00
laurent.m Transceiver52M: Add 4 samples-per-symbol Laurent pulse shape 2013-10-18 13:10:17 -04:00
osmo-trx.cpp ssedetect: Add runtime CPU detection 2017-05-19 17:12:45 +00:00
pulseApproximate.m Adding in the missing Transceiver52M directory 2011-10-12 07:44:40 +00:00
radioBuffer.cpp transceiver: Fix mismatched allocations and deallocations 2016-10-26 08:54:13 +02:00
radioBuffer.h radioBuffer: Remove extra ; at the end of inline function definitions. 2017-03-20 18:41:02 +00:00
radioClock.cpp Transceiver52M: Implement POWEROFF command 2014-12-15 16:20:15 -07:00
radioClock.h transceiver: separate radio clock and vector interfaces 2011-11-26 03:18:30 +00:00
radioDevice.h uhd: Add command line option for GPS reference 2016-07-17 19:34:22 -07:00
radioInterface.cpp radioInterface: Fix multi-channel buffer index bug 2016-07-12 16:11:13 -07:00
radioInterface.h uhd: Update USRP2/N200/N210 for 4 SPS Rx 2016-07-20 16:36:27 -07:00
radioInterfaceDiversity.cpp uhd: Update USRP2/N200/N210 for 4 SPS Rx 2016-07-20 16:36:27 -07:00
radioInterfaceMulti.cpp mcbts: Allow out of order channel setup 2016-07-08 14:46:25 -07:00
radioInterfaceResamp.cpp uhd: Update USRP2/N200/N210 for 4 SPS Rx 2016-07-20 16:36:27 -07:00
radioVector.cpp Transceiver52M: Enable all warnings and resolve 2013-11-15 23:35:07 -05:00
radioVector.h Transceiver52M: Set const qualifier on appropriate radio vector methods 2013-11-15 23:35:07 -05:00
sigProcLib.cpp sigProcLib: Fix negative value check on unsigned value 2017-03-31 21:43:31 +00:00
sigProcLib.h sigProcLib: Constify demodulation functions burst argument. 2017-03-28 14:24:22 +00:00
signalVector.cpp signalVector: Implement segment(). 2017-03-24 01:22:40 +00:00
signalVector.h signalVector: Implement segment(). 2017-03-24 01:22: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.