osmo-trx/Transceiver52M
Pau Espin b9d2515704 Transceiver: replace UDPSocket with libosmocore socket API
We have a good socket API in libosmocore, let's drop osmo-trx socket API
and use libosmocore's one instead of maintaining the two of them.

Change-Id: Ib19856a3e0a7607f63436c4a80b1381a3f318764
2019-07-02 15:07:25 +02:00
..
arch convolve: Remove support for step, offset parameters 2019-01-21 10:34:51 +01:00
device lms: Fix stream_stats checks with overrun/underrun 2019-06-09 06:55:13 +00:00
Channelizer.cpp convolve: Remove support for step, offset parameters 2019-01-21 10:34:51 +01:00
Channelizer.h mcbts: Add multi-ARFCN channelizing filters 2016-07-01 03:07:27 -07:00
ChannelizerBase.cpp ChannelizerBase: Fix ASan alloc-dealloc-mismatch 2018-11-01 18:23:32 +01: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 Introduce structs to encode TRXD packets 2019-07-01 16:13:10 +02: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 convolve: Remove support for step, offset parameters 2019-01-21 10:34:51 +01:00
Resampler.h sigProcLib: Replace dynamically allocated resampling buffers 2017-06-22 17:39:44 +00:00
Synthesis.cpp convolve: Remove support for step, offset parameters 2019-01-21 10:34:51 +01:00
Synthesis.h mcbts: Add multi-ARFCN channelizing filters 2016-07-01 03:07:27 -07:00
Transceiver.cpp Transceiver: replace UDPSocket with libosmocore socket API 2019-07-02 15:07:25 +02:00
Transceiver.h Transceiver: replace UDPSocket with libosmocore socket API 2019-07-02 15:07:25 +02: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 Add option to set stack size in config file, default == 0 == OS default 2019-06-17 14:41:34 +02:00
proto_trxd.h Introduce structs to encode TRXD packets 2019-07-01 16:13:10 +02: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
radioInterface.cpp radioInterface: Fix memleak during close() 2018-12-03 12:20:07 +01:00
radioInterface.h radioInterface: forward errors from RadioDevice to Transceiver in recv path 2018-09-03 18:53:52 +02:00
radioInterfaceMulti.cpp radioInterfaceMulti:pullBuffer: Sanely convert float array to complex array 2018-09-10 10:30:06 +02:00
radioInterfaceResamp.cpp radioInterface: forward errors from RadioDevice to Transceiver in recv path 2018-09-03 18:53:52 +02: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 Transceiver: Get rid of SoftVector in struct trx_ul_burst_ind 2019-07-02 15:05:17 +02:00
sigProcLib.h Transceiver: Get rid of SoftVector in struct trx_ul_burst_ind 2019-07-02 15:05:17 +02:00
signalVector.cpp SigProcLib: Improve Vector buffer allocation mess 2018-12-05 19:41:34 +00:00
signalVector.h SigProcLib: Improve Vector buffer allocation mess 2018-12-05 19:41:34 +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.