lte_matlab_source

所属分类:3G/4G/5G开发
开发工具:matlab
文件大小:591KB
下载次数:77
上传日期:2017-04-10 22:48:34
上 传 者F.S
说明:  3GPP LTE matlab源码 TDD_LTE/FDD_LTE系统开发
(An source 3GPP LTE implementation)

文件列表:
lte_matlab_source\AUTHORS (156, 2016-07-11)
lte_matlab_source\ChangeLog (19626, 2016-12-20)
lte_matlab_source\cmake\cmake_uninstall.cmake.in (1370, 2016-03-13)
lte_matlab_source\cmake\Modules\CMakeParseArgumentsCopy.cmake (5891, 2016-03-13)
lte_matlab_source\cmake\Modules\FindFFTW3F.cmake (1109, 2016-03-13)
lte_matlab_source\cmake\Modules\FindGnuradioOsmosdr.cmake (913, 2016-03-13)
lte_matlab_source\cmake\Modules\FindLibbladeRF.cmake (866, 2016-07-04)
lte_matlab_source\cmake\Modules\FindPolarssl.cmake (906, 2016-03-13)
lte_matlab_source\cmake\Modules\FindUhd.cmake (813, 2016-03-13)
lte_matlab_source\cmake\Modules\GrMiscUtils.cmake (13350, 2016-03-13)
lte_matlab_source\cmake\Modules\GrPlatform.cmake (1829, 2016-03-13)
lte_matlab_source\cmake\Modules\GrPython.cmake (9334, 2016-03-13)
lte_matlab_source\cmake\Modules\GrSwig.cmake (9725, 2016-03-13)
lte_matlab_source\CMakeLists.txt (6181, 2016-12-20)
lte_matlab_source\cmn_hdr\typedefs.h (2458, 2012-08-19)
lte_matlab_source\COPYING (34521, 2016-03-13)
lte_matlab_source\enodeb_nat_script.sh (1384, 2016-10-10)
lte_matlab_source\liblte\CMakeLists.txt (286, 2016-03-13)
lte_matlab_source\liblte\hdr\liblte_common.h (3862, 2016-07-04)
lte_matlab_source\liblte\hdr\liblte_interface.h (11752, 2016-12-20)
lte_matlab_source\liblte\hdr\liblte_mac.h (20324, 2016-07-04)
lte_matlab_source\liblte\hdr\liblte_mcc_mnc_list.h (59208, 2016-03-13)
lte_matlab_source\liblte\hdr\liblte_mme.h (234753, 2016-07-11)
lte_matlab_source\liblte\hdr\liblte_pdcp.h (13463, 2016-03-13)
lte_matlab_source\liblte\hdr\liblte_phy.h (60243, 2016-08-01)
lte_matlab_source\liblte\hdr\liblte_rlc.h (13388, 2016-12-20)
lte_matlab_source\liblte\hdr\liblte_rrc.h (350073, 2016-10-10)
lte_matlab_source\liblte\hdr\liblte_security.h (11962, 2016-03-13)
lte_matlab_source\liblte\src\liblte_common.cc (3339, 2016-03-13)
lte_matlab_source\liblte\src\liblte_interface.cc (9134, 2016-12-20)
lte_matlab_source\liblte\src\liblte_mac.cc (51074, 2016-07-04)
lte_matlab_source\liblte\src\liblte_mme.cc (448618, 2016-12-20)
lte_matlab_source\liblte\src\liblte_pdcp.cc (19856, 2016-03-13)
lte_matlab_source\liblte\src\liblte_phy.cc (558007, 2016-12-20)
lte_matlab_source\liblte\src\liblte_rlc.cc (20974, 2016-12-20)
lte_matlab_source\liblte\src\liblte_rrc.cc (537310, 2016-10-10)
lte_matlab_source\liblte\src\liblte_security.cc (39274, 2016-03-13)
lte_matlab_source\liblte\tests\Makefile (175, 2016-03-13)
lte_matlab_source\liblte\tests\ratematch_test.cc (11686, 2016-03-13)
lte_matlab_source\libtools\CMakeLists.txt (153, 2016-03-13)
... ...

This directory contains the openLTE source code. For support, please subscribe to openlte-discuss@lists.sourceforge.net. Details can be found at sourceforge.net/projects/openlte/. The directory structure for the project is: octave Octave test code cmn_hdr Common header files liblte C++ library of commonly used LTE functions cmake Files needed for cmake LTE_fdd_dl_file_scan A gnu-radio LTE FDD DL file scanner application LTE_fdd_dl_file_gen A gnu-radio LTE FDD DL file generator application LTE_fdd_dl_scan A gnu-radio LTE FDD DL scanner application that currently supports rtl-sdr, hackrf, USRP B2X0, and bladeRF hardware LTE_file_recorder A gnu-radio LTE file recording application that currently supports rtl-sdr, hackrf, USRP B2X0, and bladeRF hardware LTE_fdd_enodeb An LTE FDD eNodeB application that currently supports URSP B2X0 hardware openLTE is dependant on the following: 1) GNU Radio 2) GrOsmoSDR 3) rtl-sdr 4) UHD 5) HackRF 6) bladeRF 7) polarssl 8) iptables To build the C++ and python code use the following: $ mkdir build $ cd build $ cmake ../ $ make To install the C++ and python code use the following: $ mkdir build $ cd build $ cmake ../ $ make $ sudo make install All testing was performed against the following configuration: - Intel Core i5-2557M - Ubuntu 12.04 - GNU Radio 3.7.2 - GrOsmoSDR 0.1.1 - rtl-sdr 0.5 - UHD 3.6.0-1 - HackRF 0.2 - bladeRF 0.9.0 ################## # FILE SCANNER # ################## To use the installed C++ and python code for the file scanner, set the PYTHONPATH env variable to /dist-packages/gnuradio/ for instance /usr/local/lib/python2.7/dist-packages/gnuradio/ and make sure that /usr/local/lib is added to /etc/ld.so.conf and that LD_LIBRARY_PATH is set to /usr/local/lib (export LD_LIBRARY_PATH=/usr/local/lib). Then run LTE_fdd_dl_file_scan.py and specify a recorded LTE file as the input. For example: $ LTE_fdd_dl_file_scan.py lte_file.bin To see a list of options, use the -h option: $ LTE_fdd_dl_file_scan.py -h To change the input file data type (int8 or gr_complex), use the -d/--data-type option: $ LTE_fdd_dl_file_scan.py -d int8 lte_file.bin For int8 data type, the recorded LTE file must be interleaved signed 8-bit I and Q samples. For the gr_complex data type, the recorded LTE file must be sequential gr_complex I/Q samples. Files recorded with LTE_file_recorder or generated with LTE_fdd_dl_file_gen can be scanned with this application. #################### # FILE GENERATOR # #################### To use the installed C++ and python code for the file generator, set the PYTHONPATH env variable to /dist-packages/gnuradio/ for instance /usr/local/lib/python2.7/dist-packages/gnuradio/ and that LD_LIBRARY_PATH is set to /usr/local/lib (export LD_LIBRARY_PATH=/usr/local/lib). Then run LTE_fdd_dl_file_gen.py and specify an output file for the LTE fdd downlink signal. For example: $ LTE_fdd_dl_file_gen.py lte_file.bin To see a list of options, use the -h option: $ LTE_fdd_dl_file_gen.py -h To change the output file data type (int8 or gr_complex), use the -d/--data-type option: $ LTE_fdd_dl_file_gen.py -d gr_complex lte_file.bin For int8 data type, the generated LTE file contains interleaved signed 8-bit I and Q samples. For the gr_complex data type, the generated LTE file contains sequential gr_complex I/Q samples. Files generated with this application can be scanned with LTE_fdd_dl_file_scan. ############# # SCANNER # ############# To use the installed C++ live scanner, make sure LD_LIBRARY_PATH is set to /usr/local/lib (export LD_LIBRARY_PATH=/usr/local/lib), plug in rtl-sdr, hackrf, USRP B2X0, or bladeRF hardware, run LTE_fdd_dl_scan, and connect (via telnet, nc, etc) to the control port at port number 20000. Scan parameters can be changed and scan results can be observed on the control port. For a list of parameters simply type help on the control port. ################### # FILE RECORDER # ################### To use the installed C++ file recorder, make sure LD_LIBRARY_PATH is set to /usr/local/lib (export LD_LIBRARY_PATH=/usr/local/lib), plug in rtl-sdr, hackrf, USRP B2X0, or bladeRF hardware, run LTE_file_recorder, and connect (via telnet, nc, etc) to the control port at port number 25000. Recording parameters can be changed on the control port. For a list of parameters simply type help on the control port. Files recorded using hackRF, USRP B2X0, or bladeRF hardware are recorded using a sample rate of 15.36MHz. Files recorded with all other hardware are recorded using a sample rate of 1.92MHz. All files recorded with this application can be scanned with LTE_fdd_dl_file_scan. ############ # ENODEB # ############ To use the installed C++ eNodeB, make sure LD_LIBRARY_PATH is set to /usr/local/lib (export LD_LIBRARY_PATH=/usr/local/lib), plug in USRP B2X0 hardware, run LTE_fdd_enodeb, and connect (via telnet, nc, etc) to the control port at port number 30000. eNodeB parameters can be changed on the control port. For a list of parameters simply type help on the control port. A MAC and above level PCAP trace is output to /tmp/LTE_fdd_enodeb.pcap. Data packets are routed through a tun device named tun_openlte. Wireshark can be used to observe IP packets on tun_openlte to inspect the IP traffic to/from UEs. In order to configure properly, set the ip_addr_start parameter to the begining of a non-conflicting private address range (i.e. 10.0.0.1) and set the dns_addr parameter to the primary DNS address listed by your modem. All UEs will be assigned IP addresses in the range of ip_addr_start to ip_addr_start+254 and all traffic will be tunneled through the tun device to the internet using NAT/iptables. NOTES: This application has been tested exclusively at 5MHz bandwidth. Higher bandwidths are supported and performance may vary based on processing hardware. WARNINGS: By using this application you risk disruption of service in a public network, even if you are not directly interfering with the radio transmissions. This is a criminal act in most countries, and a much more serious offense than a simple violation of radio spectrum regulaions. It is highly recommended to use this application only with antennas and test UEs inside an RF Shielded Enclosure (Faraday Cage). ############ # OCTAVE # ############ To use the octave code, run the top level octave .m files: lte_fdd_dl_transmit.m and lte_fdd_dl_receive.m. If multiple transmit antennas are used, the outputs need to be combined before input to the receiver.

近期下载者

相关文件


收藏者