Fork of SRS repository `srsRAN_4G`. Branch fix_cqi to fix srsUE issues.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
ismagom ee8ff24c43 Merge branch 'master' of https://github.com/libLTE/libLTE
Conflicts:
	lte/examples/cell_search.c
	lte/phy/examples/cell_search_utils.c
	lte/phy/examples/iodev.c
	lte/phy/examples/iodev.h
	lte/phy/examples/pdsch_ue.c
	lte/phy/include/liblte/phy/ch_estimation/chest.h
	lte/phy/include/liblte/phy/ch_estimation/refsignal.h
	lte/phy/include/liblte/phy/common/phy_common.h
	lte/phy/include/liblte/phy/sync/sync.h
	lte/phy/include/liblte/phy/ue/ue_celldetect.h
	lte/phy/include/liblte/phy/ue/ue_mib.h
	lte/phy/include/liblte/phy/utils/vector.h
	lte/phy/lib/ch_estimation/src/chest.c
	lte/phy/lib/ch_estimation/src/refsignal.c
	lte/phy/lib/ch_estimation/test/CMakeLists.txt
	lte/phy/lib/ch_estimation/test/chest_test.c
	lte/phy/lib/ch_estimation/test/chest_test_dl.c
	lte/phy/lib/ch_estimation/test/chest_test_ul.c
	lte/phy/lib/phch/src/pdsch.c
	lte/phy/lib/sync/src/pss.c
	lte/phy/lib/sync/src/sync.c
	lte/phy/lib/sync/test/pss_usrp.c
	lte/phy/lib/ue/src/ue_celldetect.c
	lte/phy/lib/ue/src/ue_dl.c
	lte/phy/lib/ue/src/ue_mib.c
	lte/phy/lib/ue/src/ue_sync.c
	lte/phy/lib/ue/test/ue_celldetect_mib_test.c
	lte/rrc/include/liblte/rrc/rrc.h
	lte/rrc/lib/messages/test/CMakeLists.txt
10 years ago
cmake/modules Fix for building without VOLK 10 years ago
common General cleanup - moving prach code to phch folder, moving common ret vals to config.h, renamed phy_common files 11 years ago
cuhd PDSCH Video demo working 10 years ago
graphics Added waterfall plot to pdsch_ue 10 years ago
lte Fixed merge conflicts with ismagom fork 10 years ago
matlab PDSCH CB segmentation computation used erroneous CB length 10 years ago
mex PDSCH Video demo working 10 years ago
scripts Replacing tabs with spaces 11 years ago
CMakeLists.txt Adding explicit paths to rrc asn headers 10 years ago
COPYRIGHT All tests completed 11 years ago
CTestConfig.cmake Using CTest for testing 11 years ago
CTestCustom.cmake.in Added scrambling, ratematching and layer mapping tests 11 years ago
LICENSE Initial commit 11 years ago
README.md Update README.md 10 years ago
cmake_uninstall.cmake.in Reorganized the directory structure. Added Graphics support. Added precoding/layer mapper. MIB detection now working with 1 or 2 tx antennas. Initial eNodeB implementation with PSS/SSS and PBCH generation 11 years ago
pbch_capture.png PBCH example capture 11 years ago

README.md

libLTE

libLTE is a free and open-source LTE library for SDR UE and eNodeB. The library does not rely on any external dependencies or frameworks.

The license is LGPLv3.

The project contains a set of Python tools for the automatic code generation of modules for popular SDR frameworks, including GNURadio, ALOE++, IRIS, and OSSIE. These tools are easy to use and adapt for generating targets for specific platforms or frameworks.

Current Status

The following parts are available:

  • Physical Channels: PBCH, PCFICH, PDCCH, PHICH, PDSCH eNodeB and UE side
  • Synchronization and CFO estimation/correction
  • Equalization
  • UE receiver (MIB + SIB1 decoding) verified with live LTE signals

Hardware

The library currently uses Ettus Universal Hardware Driver (UHD). Thus, any hardware supported by UHD 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. We are using the B210 USRP.

Download & Install Instructions

  • Requirements: Currently, the library requires libfftw, although we plan make this dependency optional in the future. Also, QT4 and Qwt6 are needed for graphics visualization. Compilation is possible without QT4, although graphics will be disabled.

To install QT4, Qwt6 and libfftw use your distribution packet management system, for instance in ubuntu you can run: sudo apt-get install libfftw3-dev libqwt-dev libqt4-dev to install all requirements.

Finally, to download and build libLTE, just run:

git clone https://github.com/ismagom/libLTE.git
cd libLTE
mkdir build
cd build
cmake ../
make 

The library can also be installed using the command sudo make install.

PHY Examples

  • eNodeB and UE PBCH example

Setup one or two computers connected to two USRP or UHD-compatible hardware. From the eNodeB, type

lte/phy/examples/pdsch_enodeb -f [frequency_in_Hz] -c [cell_id] [-a [UHD args]] [-h for more commands]

From the UE, type

lte/phy/examples/pdsch_ue -f [frequency_in_Hz] [-a [UHD args]] [-h for more commands]

And the output should look something like the following video. In this example, we removed the transmitter and receiver antennas in the middle of the demonstration, showing how reception is still possible (despite with some erros).

https://www.dropbox.com/s/txh1nuzdb0igq5n/demo_pbch.ogv

Screenshopt of the PBCH example output

The SIB1 message is decoded and shown on the console, for example:

Decoded SIB1 Message: [40 48 50 03 02 0b 14 4a 30 18 28 20 90 81 84 79 a0 00 ];

Support

Mailing list: https://lists.sourceforge.net/lists/listinfo/liblte-users