All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

README 2.03 KB
Newer Older
1 2 3 4 5
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:
6 7 8 9 10 11
octave                Octave test code
cmn_hdr               Common header files
liblte                C++ library of commonly used LTE functions
config                Contains various configuration files
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
12 13 14 15 16 17 18 19 20 21 22 23 24 25

To build the C++ and python code use the following:

  $ ./bootstrap
  $ ./configure
  $ make

To install the C++ and python code use the following:

  $ ./bootstrap
  $ ./configure
  $ make
  $ make install

26 27 28
To use the installed C++ and python code for the file scanner,
set the PYTHONPATH env variable to
<python_install_dir>/dist-packages/gnuradio/
29
for instance /usr/local/lib/python2.7/dist-packages/gnuradio/.
30
Then run LTE_fdd_dl_file_scan/python/LTE_fdd_dl_file_scan.py and
31 32
specify a recorded LTE file as the input. For example:

33
  $ ./LTE_fdd_dl_file_scan/python/LTE_fdd_dl_file_scan.py lte_file.bin
34 35 36 37

The recorded LTE file currently must be interleaved 8-bit I and
Q samples recorded at 30.72MHz.

38 39 40 41 42 43 44 45 46 47 48 49 50
To use the installed C++ and python code for the file generator,
set the PYTHONPATH env variable to
<python_install_dir>/dist-packages/gnuradio/
for instance /usr/local/lib/python2.7/dist-packages/gnuradio/.
Then run LTE_fdd_dl_file_gen/python/LTE_fdd_dl_file_gen.py and
specify an output file for the LTE fdd downlink signal.  For example:

  $ ./LTE_fdd_dl_file_gen/python/LTE_fdd_dl_file_gen.py lte_file.bin

The generated LTE file contains interleaved 8-bit I and Q samples
at a sample rate of 30.72MHz.  The output file can be used as the
input for the LTE_fdd_dl_file_scan application.

51 52 53 54
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.