srsRAN/README.md

134 lines
4.6 KiB
Markdown
Raw Normal View History

2015-03-18 10:52:46 +00:00
srsLTE
2014-01-28 11:41:17 +00:00
========
2016-08-31 13:01:38 +00:00
[![Coverity Scan Build Status](https://scan.coverity.com/projects/10045/badge.svg)](https://scan.coverity.com/projects/10045)
2017-06-08 15:29:04 +00:00
srsLTE is a free and open-source LTE software suite developed by SRS (www.softwareradiosystems.com).
It includes:
* srsUE - a complete SDR LTE UE application featuring all layers from PHY to IP
* srsENB - a complete SDR LTE eNodeB application
* a highly modular set of common libraries for PHY, MAC, RLC, PDCP, RRC, NAS, S1AP and GW layers.
2017-06-08 15:22:56 +00:00
srsLTE is released under the AGPLv3 license and uses software from the OpenLTE project (http://sourceforge.net/projects/openlte) for some security functions and for RRC/NAS message parsing.
2015-01-21 18:17:19 +00:00
2017-06-08 15:22:56 +00:00
Common Features
---------------
2016-01-30 09:37:39 +00:00
2015-01-21 18:17:19 +00:00
* LTE Release 8 compliant
* FDD configuration
2015-12-02 11:54:57 +00:00
* Tested bandwidths: 1.4, 3, 5, 10, 15 and 20 MHz
2015-01-21 18:17:19 +00:00
* Transmission mode 1 (single antenna) and 2 (transmit diversity)
2016-04-19 21:05:02 +00:00
* Frequency-based ZF and MMSE equalizer
2015-11-10 10:55:32 +00:00
* Highly optimized Turbo Decoder available in Intel SSE4.1/AVX (+100 Mbps) and standard C (+25 Mbps)
2017-06-08 15:22:56 +00:00
* MAC, RLC, PDCP, RRC, NAS, S1AP and GW layers
* Detailed log system with per-layer log levels and hex dumps
* MAC layer wireshark packet capture
* Command-line trace metrics
* Detailed input configuration files
srsUE Features
--------------
* Cell search and synchronization procedure for the UE
* Soft USIM supporting Milenage and XOR authentication
* Virtual network interface *tun_srsue* created upon network attach
2017-06-08 15:52:07 +00:00
* 75 Mbps DL in 20 MHz SISO configuration in i7 Quad-Core CPU.
* 36 Mbps DL in 10 MHz SISO configuration in i5 Dual-Core CPU.
2017-06-08 15:22:56 +00:00
srsUE has been fully tested and validated with the following network equipment:
* Amarisoft LTE100 eNodeB and EPC
* Nokia FlexiRadio family FSMF system module with 1800MHz FHED radio module and TravelHawk EPC simulator
* Huawei DBS3900
* Octasic Flexicell LTE-FDD NIB
srsENB Features
---------------
* Round Robin MAC scheduler with FAPI-like C++ API
2017-06-08 15:52:07 +00:00
* SR support
* Periodic and Aperiodic CQI feedback support
2017-06-08 15:22:56 +00:00
* Standard S1AP and GTP-U interfaces to the Core Network
* Tested up to 75 Mbps DL in SISO configuration with commercial UEs
srsENB has been tested and validated with the following handsets:
* LG Nexus 5
2017-06-08 15:52:07 +00:00
* LG Nexus 4
2017-06-08 15:22:56 +00:00
* Motorola Moto G4 plus
2015-07-06 15:12:57 +00:00
2014-03-08 12:26:01 +00:00
Hardware
2017-06-08 15:22:56 +00:00
--------
2014-03-08 12:26:01 +00:00
2016-01-30 09:37:39 +00:00
The library currently supports the Ettus Universal Hardware Driver (UHD) and the bladeRF driver. Thus, any hardware supported by UHD or bladeRF can be used. There is no sampling rate conversion, therefore the hardware should support 30.72 MHz clock in order to work correctly with LTE sampling frequencies and decode signals from live LTE base stations.
2014-03-08 12:26:01 +00:00
2016-01-30 09:37:39 +00:00
We have tested the following hardware:
* USRP B210
* USRP X300
* bladeRF
2017-06-08 15:52:07 +00:00
* limeSDR
2015-12-16 18:48:05 +00:00
2017-06-08 15:22:56 +00:00
Build Instructions
------------------
2014-01-30 15:14:41 +00:00
2017-06-08 15:29:04 +00:00
* Mandatory requirements:
2017-06-08 15:22:56 +00:00
* Common:
* libfftw http://www.fftw.org/
* PolarSSL/mbedTLS https://tls.mbed.org
* srsUE:
* Boost: http://www.boost.org
* srsENB:
* Boost: http://www.boost.org
* lksctp: http://lksctp.sourceforge.net/
2017-06-19 15:38:39 +00:00
* config: http://www.hyperrealm.com/libconfig/
2017-06-08 15:22:56 +00:00
For example, on Ubuntu 17.04, one can install the required libraries with:
```
sudo apt-get install libfftw3-dev libmbedtls-dev libboost-all-dev libconfig++-dev libsctp-dev
```
Note that depending on your flavor and version of Linux, the actual package names may be different.
2015-03-19 16:16:20 +00:00
* Optional requirements:
2017-06-08 15:52:07 +00:00
* srsgui: https://github.com/srslte/srsgui - for real-time plotting.
* VOLK: https://github.com/gnuradio/volk - if the VOLK library and headers are detected, they will be used to accelerate some signal processing functions.
2015-03-19 16:16:20 +00:00
2017-06-08 15:29:04 +00:00
* RF front-end driver:
* UHD: https://github.com/EttusResearch/uhd
* BladeRF: https://github.com/Nuand/bladeRF
2015-03-19 16:16:20 +00:00
Download and build srsLTE:
2014-01-30 15:14:41 +00:00
```
2015-03-18 10:54:07 +00:00
git clone https://github.com/srsLTE/srsLTE.git
cd srsLTE
2014-01-30 15:14:41 +00:00
mkdir build
cd build
cmake ../
make
```
2017-06-08 15:22:56 +00:00
The software suite can also be installed using the command ```sudo make install```.
2015-01-21 18:17:19 +00:00
2017-06-08 15:22:56 +00:00
Execution Instructions
----------------------
2014-01-30 15:14:41 +00:00
2017-06-08 15:22:56 +00:00
The srsUE and srsENB applications include example configuration files. Execute the applications with root privileges to enable real-time thread priorities and to permit creation of virtual network interfaces.
2014-01-30 15:14:41 +00:00
2017-06-08 15:22:56 +00:00
### srsUE
2014-01-30 15:14:41 +00:00
2017-06-08 15:22:56 +00:00
Run the srsUE application as follows:
2014-01-30 15:14:41 +00:00
```
2017-06-08 15:22:56 +00:00
sudo ./srsue ue.conf
2014-01-30 15:14:41 +00:00
```
2017-06-08 15:22:56 +00:00
### srsENB
2015-01-21 18:17:19 +00:00
2017-06-08 15:22:56 +00:00
As the srsLTE software suite does not include EPC functionality, a separate EPC is required to run srsENB. Run the application as follows:
2015-01-21 18:17:19 +00:00
```
2017-06-08 15:22:56 +00:00
sudo ./srsenb enb.conf
2015-01-21 18:17:19 +00:00
```
2014-03-08 12:26:27 +00:00
Support
========
2015-03-18 10:52:46 +00:00
Mailing list: http://www.softwareradiosystems.com/mailman/listinfo/srslte-users