osmo-trx/Transceiver52M
Pau Espin 58c89fb8d6 lms: Allow values diff than 34dB to be set by setRxGain()
Until now, setRxGain in LMSDevice did not take into account the setter
parameter and was always using hardcoded 34dB, which was experimentally
found to be a good default value.

Let's force that value during initialization, but still allow the upper
layers (controlled by BTS) to set different values. osmo-bts only sends
a SETRXGAIN command (which calls setRxGain in osmo-trx) if a value is
explicitly set in its VTY config, so we are on the safe side if the user
doesn't explicitly configure a desired dB.

Change-Id: I5684e675281a3f581855dbb56d199a6fe238a712
2018-06-20 07:41:16 +00:00
..
arch build: Fix make distcheck 2018-04-27 11:34:11 +02:00
device lms: Allow values diff than 34dB to be set by setRxGain() 2018-06-20 07:41:16 +00:00
Channelizer.cpp Move arch specific fiels to arch subdir 2018-04-24 15:22:59 +02:00
Channelizer.h mcbts: Add multi-ARFCN channelizing filters 2016-07-01 03:07:27 -07:00
ChannelizerBase.cpp Move arch specific fiels to arch subdir 2018-04-24 15:22:59 +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 lms: Makefile.am: Reorder params to fix link issue 2018-06-13 21:45:32 +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
Resampler.cpp sigProcLib: Replace dynamically allocated resampling buffers 2017-06-22 17:39:44 +00:00
Resampler.h sigProcLib: Replace dynamically allocated resampling buffers 2017-06-22 17:39:44 +00:00
Synthesis.cpp Move arch specific fiels to arch subdir 2018-04-24 15:22:59 +02:00
Synthesis.h mcbts: Add multi-ARFCN channelizing filters 2016-07-01 03:07:27 -07:00
Transceiver.cpp Transceiver: log timing info of stale bursts 2018-04-25 20:14:55 +02:00
Transceiver.h Move enums required by VTY to a separate header 2018-03-05 17:16:05 +01: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 -V param to print version 2018-06-20 07:38:36 +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
radioInterface.cpp Move device specific code out of radioInterface 2018-04-24 18:46:48 +02:00
radioInterface.h Transceiver: Move device specific code to radioDevice class 2018-04-24 18:46:48 +02: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: Specify standard namespace for isnan() 2017-06-22 18:03:29 +00:00
sigProcLib.h sigProcLib: Remove unused functions from public interface 2017-06-14 16:30:28 +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.