laforge
/
openbts-osmo
Archived
1
0
Fork 0
This repository has been archived on 2022-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
openbts-osmo/public-trunk/Transceiver
Thomas Tsou b7bf610484 Merge branch 'master' of git://openbts.git.sourceforge.net/gitroot/openbts/openbts
* 'master' of git://openbts.git.sourceforge.net/gitroot/openbts/openbts:
  gsm: Remove obsolete PCAP stuff from gsmtap.h
  gsm: Update and enhance the GSM Tap functionality
  gsm: Add same ARFCN()/typeAndOffset() accessors to L1Decoder than L1Encoder
  gsm: Save time of received frame for later use in XCCHL1Decoder
  gsm: Create more precise TypeAndOffset cste for BCCH/CCCH
  transceiver: Fix misusage of ~ in bitfields
  misc: Add a proper .gitignore file
  build: Fix Transceiver/Makefile.am to use AM_CXXFLAGS instead of CXX_FLAGS
  build: Remove all files autogenerated by autoreconf

Fix trivial conflict:
	public-trunk/Transceiver/Makefile.am
2010-12-08 12:18:39 -05:00
..
Complex.h Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
Device.h uhd: separate USRPDevice and create virtual device interface 2010-11-16 22:11:50 -05:00
Makefile.am Merge branch 'master' of git://openbts.git.sourceforge.net/gitroot/openbts/openbts 2010-12-08 12:18:39 -05:00
README Initial import of OpenBTS 2.6 for a new public trunk. 2010-05-23 19:42:16 -07:00
README.Talgorithm Initial import of OpenBTS 2.6 for a new public trunk. 2010-05-23 19:42:16 -07:00
Transceiver.cpp uhd: increase initial transmit latency and disable adaptive control 2010-11-17 01:44:51 -05:00
Transceiver.h Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
UHDDevice.cpp uhd: update to change in uhd metadata interface 2010-11-27 18:43:18 -05:00
USRPDevice.cpp Merge branch 'master' of git://openbts.git.sourceforge.net/gitroot/openbts/openbts 2010-12-08 12:18:39 -05:00
USRPDevice.h uhd: separate USRPDevice and create virtual device interface 2010-11-16 22:11:50 -05:00
USRPping.cpp uhd: exit on device open failure 2010-11-16 22:11:50 -05:00
radioInterface.cpp uhd: remove I/Q swap from radio interface 2010-11-17 01:44:44 -05:00
radioInterface.h uhd: separate USRPDevice and create virtual device interface 2010-11-16 22:11:50 -05:00
rcvLPF_651.h Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
runTransceiver.cpp uhd: increase initial transmit latency and disable adaptive control 2010-11-17 01:44:51 -05:00
sendLPF_961.h Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
sigProcLib.cpp Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
sigProcLib.h Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
std_inband.rbf Initial import of OpenBTS 2.6 for a new public trunk. 2010-05-23 19:42:16 -07: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.  Our current implementation includes
a polyphase resampler, since there is no 64e6/N sample rate that
nicely matches a multiple of the GSM symbol rate of 1.625e6/6.
A better implementation would involve running the USRP off of a
13Mhz clock; then the resampler can be discarded altogether.

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.