Skip to content

software/simpleran: add PDSCH test mode to enb cells and add view software type

Lu Xu requested to merge lu.xu/slapos:simpleran-view into master

This merge request adds a PDSCH test mode to the LTE and NR cells, and the view software type to measure the test signal with Amarisoft lteview.

Commits:

  • add PDSCH test mode to LTE and NR cells
  • add view software type
  • enb: publish the view parameters of cells in test mode

Test mode: if the cell parameter test_mode.enabled is true, the cell sends a PDSCH test signal to one test UE. The generic enb software type and the ORS eNB and gNB support it.

  • NR: PDSCH on all RBs with MCS 28 of the 256QAM table, as gnb-tm-pdsch.cfg of lteenb. The PDSCH starts at the DMRS type A position (symbol 2, or symbol 3 for 3 MHz).
  • LTE: pdsch_mcs 25 with 64QAM, as E-TM3.1 and enb-tm-pdsch.cfg of lteenb.

View parameters: if a cell is in test mode, the enb software type publishes TEST-MODE.view-parameters. The value gives the request parameters of the view software type for each cell reference. The ORS eNB and gNB use the reference CELL0. For a TDD cell, prb_range has one entry per slot (NR) or per subframe (LTE), with no RB in the S and U slots.

View software type: lteview demodulates the test signal of an LTE or NR cell. The instance publishes the websocket of the lteview remote API through a frontend, as the enb and ue software types. script/view-measure.py runs every measure_period seconds. If lteview is locked, it measures SNR, MER, EVM and an ACLR indication. It writes var/log/view-measure.json.log and an HTML report. report-url gives the report with the monitor user and password in the URL, as monitor-setup-url. If lteview is not locked, it records "locked": false and keeps the last report. logrotate keeps the logs of the last 7 days.

lteview installation: the view runs /view/lteview, as the enb, ue and mme software types run enb/, ue/ and mme/. The Amarisoft installer must unpack lteview-linux-.tar.gz, link view to it, and copy trx_sdr/.so into it, as for enb and ue.

testmode.py holds the logic in Python: the test mode values, the view parameters and the view defaults. instance.cfg loads it as xbuildout.py. The templates only fill values.

Tests: TestENB_TestMode, TestENB_TestModeLTE, TestGNBTestMode, TestView, TestViewLTE, and TestTestMode for testmode.py (FDD and TDD cells).

Tested on simbox006 (2 SDR100 boards, cable from sdr0 to sdr2):

  • NR n28, 5 MHz: MER 30 dB, SNR 42 dB, EVM 3 %.
  • LTE b1, 5 MHz: MER 37 dB, SNR 39 dB, EVM 1.4 %.
  • ACLR indication (NR): -2BW 48 dB, -1BW 35 dB, +1BW 38 dB, +2BW 49 dB.

Test Suite: https://erp5js.nexedi.net/#/test_suite_module/2448

Limits:

  • The ACLR value is an indication only. The SDR receiver is not calibrated.
Edited by Lu Xu

Merge request reports