intel / intel/FlexRAN

Error: Carrier Aggregation Level is (204) and phyInstanceId is (24)

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
161
Forks
46
PR merge metrics
No merged PRs in 30d

Description

Brief: parameter error within `l1app`, a closed source executable. So, I can't debug.

After installation, I ran a test with built-in test cases.
* Run `sudo -E LIBRARY_PATH=$LD_LIBRARY_PATH ./l1.sh -e` under `/opt/o-du/FlexRAN/l1/bin/nr5g/gnb/l1`
* Run `sudo -E LD_LIBRARY_PATH=$LD_LIBRARY_PATH ./l2.sh --testfile=/opt/o-du/FlexRAN/testcase/ul/testmac_ul_mu0_5mhz.cfg` under `/opt/o-du/FlexRAN/l1/bin/nr5g/gnb/testmac`

Error message from `l1.sh`:
```
...
===========================================================================================================
PHY VERSION
===========================================================================================================
Version: oran_f_release_v1.0
IMG-date: Jun 23 2022
IMG-time: 16:32:53
===========================================================================================================
DEPENDENCIES VERSIONS
===========================================================================================================
FlexRAN SDK bblib_layerdemapping_5gnr version oran_f_release_v1.0
FlexRAN SDK bblib_layermapping_5gnr version oran_f_release_v1.0
FlexRAN SDK bblib_cestimate_5gnr_version oran_f_release_v1.0
FlexRAN SDK bblib_pucch_cestimate_5gnr version oran_f_release_v1.0
FlexRAN SDK bblib_llr_demapping version oran_f_release_v1.0
FlexRAN SDK bblib_pdcch_remapping_5gnr_version version oran_f_release_v1.0
FlexRAN SDK bblib_reed_muller version oran_f_release_v1.0
FlexRAN SDK bblib_lte_modulation version oran_f_release_v1.0
FlexRAN SDK bblib_polar_decoder_5gnr version oran_f_release_v1.0
FlexRAN SDK bblib_polar_rate_dematching_5gnr version oran_f_release_v1.0
FlexRAN SDK bblib_PhaseNoise_5G version oran_f_release_v1.0
FlexRAN SDK bblib_mimo_mmse_detection_5gnr version oran_f_release_v1.0
FlexRAN SDK bblib_fd_correlation version oran_f_release_v1.0
FlexRAN SDK bblib_scramble_5gnr version oran_f_release_v1.0
FlexRAN SDK bblib_pucch_equ_5gnr version oran_f_release_v1.0
FlexRAN SDK bblib_ta_compensation_version_5gnr oran_f_release_v1.0
FlexRAN SDK bblib_polar_encoder_5gnr version oran_f_release_v1.0
FlexRAN SDK bblib_prach_5gnr version oran_f_release_v1.0
FlexRAN SDK bblib_fft_ifft version oran_f_release_v1.0
FlexRAN SDK bblib_pucch_5gnr version oran_f_release_v1.0
FlexRAN SDK bblib_lte_crc version oran_f_release_v1.0
FlexRAN SDK bblib_fec_enc_byte_concat_soft version oran_f_release_v1.0
FlexRAN SDK bblib_common version oran_f_release_v1.0
===========================================================================================================

===========================================================================================================
Non BBU threads in application
===========================================================================================================
phy_print_thread: [PID: 1942670] binding on [CPU 0] [PRIO: 0] [POLICY: 1]
wls_rx_handler (non-rt): [PID: 1942679] binding on [CPU 0]
===========================================================================================================

PHY>welcome to application console

Error: Carrier Aggregation Level is (204) and phyInstanceId is (24)
Cleanup after [PID]
```
Meanwhile, `l2.sh` reaches the console:
```
...
MLogRestart
MLogOpen: filename(testmac-mlog.bin) mlogSubframes (128), mlogCores(3), mlogSize(2048) mlog_mask (-1)
mlogSubframes (128), mlogCores(3), mlogSize(2048)
localMLogTimerInit
System clock (rdtsc) resolution 2593859758 [Hz]
Ticks per us 2593
MLog Storage: 0x7fa684000e00 -> 0x7fa6840c1620 [ 788512 bytes ]
localMLogFreqReg: 2593. Storing: 2593
Mlog Open successful

testmac_set_num_cells: Setting Max Cells: 1
testmac_config_parse: test_num[1010] test_type[1] numcarrier[1] nLteCells[0] nNr5gCells[1]
host_config_parse_search_container: Could not find Container with string: TxConfig
Queueing MSG_TYPE_PHY_UL_IQ_SAMPLES(0)

TESTMAC>
```
I tried to find the parameter `Carrier Aggregation Level` and `phyInstanceId` within the project with `grep -rn "Carrier Aggregation Level"` and `grep -rn phyInstanceId` but it only appears within `l1app`:
```
Binary file l1/bin/nr5g/gnb/l1/l1app matches
```
I am guessing that they are related to `nCarrierAggregationLevel` and `nCarrierIdx` in the `.cfg` files. However, I do not see anywhere in the project they are set to `204` or `24`. In all `.cfg` files they are set to `0` and `nCarrierIdx` is set to `5` only once in `l1/source/nr5g/api/nr5g_mac_phy_api.h`. Therefore, I will appreciate any hints that how `204` and `24` are calculated or fed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.