osmo-trx/Transceiver52M
Thomas Tsou 8181b0104a Transceiver52M: Disable energy detector
The adaptive energy threshold gating suffers a near-far problem
at certain gain levels. This is due to exponential threshold
raising, but linear decreases. A large signal level followed by
a period low signal level causes (comparatively) weak signals to
go undetected. Additionally, the algorithm performs differently
at multiple RF gain levels.

This patch switches solely to correlation based gating for burst
detection. The main computational load with this approach is
sub-sample width peak interpolation, which we disable for intial
detection and run after threshold passing.

Signed-off-by: Thomas Tsou <tom@tsou.cc>
2013-10-18 13:10:17 -04:00
..
Complex.h Alexander's patches: 2012-11-23 08:37:32 +00:00
DummyLoad.cpp Correction of trivial warnings. 2012-12-22 04:30:56 +00:00
DummyLoad.h Adding in the missing Transceiver52M directory 2011-10-12 07:44:40 +00:00
Makefile.am Transceiver52M: Add SSE floating point / integer conversion 2013-10-18 13:10:17 -04: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
Resampler.cpp Transceiver52M: Replace resampler with SSE enabled implementation 2013-10-18 13:10:17 -04:00
Resampler.h Transceiver52M: Replace resampler with SSE enabled implementation 2013-10-18 13:10:17 -04:00
Transceiver.cpp Transceiver52M: Disable energy detector 2013-10-18 13:10:17 -04:00
Transceiver.h Transceiver52M: Make GSM pulse filter internal to implementation 2013-10-18 13:10:04 -04:00
UHDDevice.cpp Transceiver52M: Replace resampler with SSE enabled implementation 2013-10-18 13:10:17 -04:00
USRPDevice.cpp Transceiver52M: Set resampling option automatically based on device 2013-10-18 13:03:41 -04:00
USRPDevice.h Transceiver52M: Set resampling option automatically based on device 2013-10-18 13:03:41 -04:00
USRPping.cpp Transceiver52M: Add device offset correction table 2013-10-18 13:03:41 -04:00
convert.c Transceiver52M: Add SSE floating point / integer conversion 2013-10-18 13:10:17 -04:00
convert.h Transceiver52M: Add SSE floating point / integer conversion 2013-10-18 13:10:17 -04:00
convolve.c Transceiver52M: Replace convolve and related calls with SSE implementation 2013-10-18 13:10:17 -04:00
convolve.h Transceiver52M: Replace convolve and related calls with SSE implementation 2013-10-18 13:10:17 -04: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
radioClock.cpp transceiver: separate radio clock and vector interfaces 2011-11-26 03:18:30 +00:00
radioClock.h transceiver: separate radio clock and vector interfaces 2011-11-26 03:18:30 +00:00
radioDevice.h Transceiver52M: Set resampling option automatically based on device 2013-10-18 13:03:41 -04:00
radioInterface.cpp Transceiver52M: Add SSE floating point / integer conversion 2013-10-18 13:10:17 -04:00
radioInterface.h Transceiver52M: Add SSE floating point / integer conversion 2013-10-18 13:10:17 -04:00
radioInterfaceResamp.cpp Transceiver52M: Add SSE floating point / integer conversion 2013-10-18 13:10:17 -04:00
radioVector.cpp transceiver: rename getting radio vector time to getTime() 2011-11-26 03:18:43 +00:00
radioVector.h Fix build of the Transceiver. 2013-06-16 14:30:58 +04:00
rcvLPF_651.h transceiver, resamp: insert missing filter values 2011-11-26 03:19:28 +00:00
runTransceiver.cpp Transceiver52M: Replace resampler with SSE enabled implementation 2013-10-18 13:10:17 -04:00
sendLPF_961.h transceiver, resamp: insert missing filter values 2011-11-26 03:19:28 +00:00
sigProcLib.cpp Transceiver52M: Disable energy detector 2013-10-18 13:10:17 -04:00
sigProcLib.h Transceiver52M: Replace resampler with SSE enabled implementation 2013-10-18 13:10:17 -04:00
sigProcLibTest.cpp Transceiver52M: Replace convolve and related calls with SSE implementation 2013-10-18 13:10:17 -04: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.