Commit Graph
100 Commits
Author SHA1 Message Date
Robert Schmidt cdea2899bc Remove memory leaks from ldpctest
except for:
- config module
2022-02-21 13:36:41 +01:00
Robert Schmidt fe61216a66 Correctly free memory in nr_pbchsim
Except for:
- polar code
2022-02-21 13:36:41 +01:00
Robert Schmidt 3f4fa05c74 nr_pucchsim: correctly free SR PDU 2022-02-21 13:36:41 +01:00
Robert Schmidt d601209036 Fix nr_ulschsim: correct size for N_RB_UL 2022-02-21 13:36:41 +01:00
Robert Schmidt 2251453cbd Fix nr_dlschsim: correct size for N_RB_DL
Fix warning, drop undefined function
2022-02-21 13:36:41 +01:00
Robert Schmidt 65c6456472 Resolve buffer overflows polartest 2022-02-21 13:36:41 +01:00
Robert Schmidt 51625f3c8f Resolve memory issues in nr_prachsim
Except for config module and dlopen()
2022-02-21 13:36:41 +01:00
Robert Schmidt dcae857463 Fix memory problems in nr_pucchsim
except:
- from dlopen()
- from configuration module
- uninitialized value
2022-02-21 13:36:41 +01:00
Robert Schmidt 81537701b2 Fix: channel chF large enough for 5G 2022-02-21 13:36:39 +01:00
Robert Schmidt b4dbf46dde Provide term_freq_channel() to free memory in abstraction.c 2022-02-21 13:35:36 +01:00
Robert Schmidt 32c7795aad Fixes for 0bdb1b9f402c5315a591b1fbc4310dbc62fc820d 2022-02-21 13:35:36 +01:00
Robert Schmidt 0827b2f5b8 Fix leaks & unitialized memory in nr_ulschsim 2022-02-21 13:35:35 +01:00
Robert Schmidt 399e6d78f7 new_nr_ue_ulsch(): no abstraction_flag, add term_nr_ue_transport() 2022-02-21 13:35:35 +01:00
Robert Schmidt 20a8704c98 unitialized jump dlschsim 2022-02-21 13:35:35 +01:00
Robert Schmidt e66e9eef7d UL Ref Sig Seq: initialize only once, free and reset to NULL 2022-02-21 13:35:35 +01:00
Robert Schmidt 7638e65379 Free memory in nr_dlschsim 2022-02-21 13:35:35 +01:00
Robert Schmidt 338019601c new_nr_ue_dlsch(): remove abstraction_flag 2022-02-21 13:35:35 +01:00
Robert Schmidt 20e13db86b Implement logTerm() to close logging subsystem 2022-02-21 13:35:35 +01:00
Robert Schmidt d2523bfa44 Remove unused SI and RA DLSCH from nr_dlschsim 2022-02-21 13:35:35 +01:00
Robert Schmidt efd62d14a7 Implement term_nr_ue_signal(), remove abstraction_flag from init_nr_ue_signal()
term_nr_ue_signal() frees all memory, except for dfts lib load
2022-02-21 13:35:34 +01:00
Robert Schmidt 5794c07c94 Correctly implement phy_free_nr_gNB()
Frees all allocated memory, except for library loading related, and ul
reference signal sequences, which are allocated in static variables
2022-02-21 13:34:40 +01:00
Robert Schmidt 331575ebab Fix memory leaks in nr_ulschsim 2022-02-21 13:34:40 +01:00
Robert Schmidt 136cc93aa9 Fix memory leaks in nr_dlschsim 2022-02-21 13:34:40 +01:00
Robert Schmidt ac0af5a84e Fix shlib loaded: free memory, handle lib reload
- introduce loader_reset() that frees all memory
- resolve memory leak in loader_format_shlibpath()
- correctly handle library reload: check if a function has been
  retrieved already. Don't leak memory (strdup()), and handle multiple
  reloads of different functions from the same SO
2022-02-21 13:34:40 +01:00
Robert Schmidt 923edebd3c Enable Address Sanitizer on physical simulators
- install libasan in physim containers
- run physim containers with SYS_CAP_PTRACE capability
- remove static-libasan: not available in RHEL8:

  The physims are tested in a container environment on top of RHEL8. To
  my knowledge, no package provides the static ASan library there.
  Therefore, remove it here to be able to run these tests.
2022-02-21 13:34:39 +01:00
Robert Schmidt 86c4882245 Merge remote-tracking branch 'origin/NR_2port_CSIRS' into integration_2022_wk08 2022-02-20 19:48:34 +01:00
Robert Schmidt 72a4ed80da Merge remote-tracking branch 'origin/msc-removal' into integration_2022_wk08 2022-02-19 19:43:11 +01:00
Robert Schmidt 21f862641c Merge remote-tracking branch 'origin/cleanup-20220125' into integration_2022_wk08 2022-02-19 19:34:01 +01:00
Robert Schmidt 454aae1d96 Merge branch 'integration_2022_wk07_c' into 'develop'
integration_2022_wk07_c

See merge request oai/openairinterface5g!1451

This merges the following MRs:
- MR !1436 fairRR LTE scheduler fixes: should make the connection more stable, less UL retransmissions
- MR !1386 phy sync improvements: the 5G NR UE should sync better
- MR !1361 FDD support (no traffic): adds FDD support for the scheduler, but heavy traffic has not been tested
- MR !1447 using uid for PUCCH RRC conf: use the RRC UID to decide on PUCCH resources, should in particular avoid the "PUCCH straddles DC carrier" assert
- fix for 5G F1 RFsim test fail
2022-02-19 16:28:53 +00:00
Robert Schmidt 6569fd7614 Do not prematurely overwrite scheduler information
Overwriting sched_pusch information at that stage would in particular
lose information on the current frame/slot. Overwriting sched_pusch with
the retInfo structure is already done at the end of
allocate_ul_retransmission(), and is therefore not necessary at this
stage.
2022-02-18 12:52:59 +01:00
Robert Schmidt 9b302d0432 Fix DU default config, increase 5G F1 RFsim throughput requirements 2022-02-18 12:20:06 +01:00
Robert Schmidt 63989e8a69 Fix for F1 RFsim fail
We compute the preferred DL TDAs when receiving the cellGroup from the
RRC. However, in F1 and the RFsim, it seems that the scheduler tries to
access the preferred DL TDAs before they have been set after receiving
the cellGroup. In this commit, add a simple check to verify the
preferred TDA has been set up.
2022-02-18 12:16:08 +01:00
Robert Schmidt ff0fb53056 Merge remote-tracking branch 'origin/nr-fdd-scheduling' into integration_2022_wk07_c 2022-02-17 09:32:44 +01:00
Robert Schmidt b97d26cb86 Merge remote-tracking branch 'origin/NR_SA_UID' into integration_2022_wk07_c 2022-02-17 09:02:16 +01:00
Robert Schmidt 9a7154f3d4 Merge remote-tracking branch 'origin/fairRR-sched-debug' into integration_2022_wk07_c 2022-02-16 10:34:36 +01:00
Robert Schmidt cfa3b0caf0 Merge remote-tracking branch 'origin/ue-phy-sync-improvements' into integration_2022_wk07_c 2022-02-16 10:08:59 +01:00
Robert Schmidt af6836d9f1 Merge branch 'integration_2022_wk07_b' into 'develop'
integration_2022_wk07_b

See merge request oai/openairinterface5g!1448
2022-02-15 21:18:48 +00:00
Robert Schmidt 6af9ac6c9c Fix SA OAIUE N310 test's USRP IP address 2022-02-15 09:30:21 +01:00
Robert Schmidt 141b9d2c0f Merge branch 'integration_2022_wk06_a' into 'develop'
integration_2022_wk06_a

See merge request oai/openairinterface5g!1438
2022-02-12 19:55:52 +00:00
Robert Schmidt 7e92d44fc2 Merge remote-tracking branch 'origin/oai-ue-time-meas' into integration_2022_wk06_a 2022-02-10 18:57:28 +01:00
Robert Schmidt 48fc337a26 Merge remote-tracking branch 'origin/fix-t-tracer-nr-ue' into integration_2022_wk06_a 2022-02-10 18:52:06 +01:00
Robert Schmidt 11d80b93a9 Increase LTE 2x2 ping test threshold to 40ms 2022-02-10 15:55:26 +01:00
Robert Schmidt 1252899592 Merge remote-tracking branch 'origin/ci-use-5g-t-tracer' into integration_2022_wk06_a 2022-02-09 18:39:46 +01:00
Robert Schmidt e979e06527 Merge remote-tracking branch 'origin/nr_dlsim_fix' into integration_2022_wk06_a 2022-02-09 18:38:54 +01:00
Robert Schmidt a36555b254 Merge remote-tracking branch 'origin/develop-SRS' into integration_2022_wk06_a 2022-02-08 18:06:53 +01:00
Robert Schmidt 1ed58f65b7 Merge branch 'integration_2022_wk06' into 'develop'
integration_2022_wk06

See merge request oai/openairinterface5g!1433
2022-02-08 14:11:17 +00:00
Robert Schmidt 8e6e4d8237 Log inactivity timer 2022-02-08 14:45:05 +01:00
Robert Schmidt 5bdaeb5718 Stop scheduling DL on UL failure or out of sync 2022-02-08 14:45:05 +01:00
Robert Schmidt 388cfafea8 Stop scheduling in UL after ul_failure_timer 2022-02-08 14:45:05 +01:00
Robert Schmidt 759314a125 Enrich assert in ULSCH decoding 2022-02-08 14:45:05 +01:00
Robert Schmidt eca14f6ec9 Schedule UL 5 RBs at MCS 10 on inactivity 2022-02-08 14:45:00 +01:00
Robert Schmidt a03847a26d Merge remote-tracking branch 'origin/lte-ue-fix-EpsNetworkFeatureSupport' into integration_2022_wk06 2022-02-07 18:49:39 +01:00
Robert Schmidt 9594e422bc Merge remote-tracking branch 'origin/NR_pdcch_improvements' into integration_2022_wk06 2022-02-07 18:48:52 +01:00
Robert Schmidt 40ee6374cf Merge branch 'integration_2022_wk05_b' into 'develop'
Integration 2022 wk05 b

See merge request oai/openairinterface5g!1430
2022-02-07 17:41:28 +00:00
Robert Schmidt 997f8f9f48 SA stage2 test numbers to not overwrite logs in ZIP 2022-02-07 14:54:09 +01:00
Robert Schmidt b06b21d1ed Perform log analysis from textlog only if T_stdout 0 2022-02-07 14:53:58 +01:00
Robert Schmidt 5e57b66cfc CI: Run T tracer in SA test 2022-02-07 14:52:52 +01:00
Robert Schmidt ce9d1bd7c5 Always schedule PUCCH to prevent stale PUCCH config 2022-02-07 14:23:17 +01:00
Robert Schmidt b13ea677a2 Give warning when UL Failure on NR link 2022-02-07 14:23:17 +01:00
Robert Schmidt 3a902ad0d1 (Partially) revert "minor changes in dlschsim, still doesn't work :-("
This partially reverts commit bac8bc569c
and fixes nr_dlschsim, which did not compile without this commit.
2022-02-05 14:24:57 +01:00
Robert Schmidt c14d9a3c2a Merge remote-tracking branch 'origin/thread_pool_size' into integration_2022_wk05_b 2022-02-04 19:13:48 +01:00
Robert Schmidt 66137d2bf9 Merge remote-tracking branch 'origin/bler_txoptim' into integration_2022_wk05_b 2022-02-04 19:11:33 +01:00
Robert Schmidt f92cfbaf12 LTE 2x2 TM2: DL 1Mbps, modulation not optimized 2022-02-04 19:07:09 +01:00
Robert Schmidt 0b39690044 Merge remote-tracking branch 'origin/episys-remove-log-minimal' into integration_2022_wk05_b 2022-02-04 19:07:09 +01:00
Robert Schmidt 49df71ddaa Merge remote-tracking branch 'origin/episys-nfapi-p5-bug-fixes' into integration_2022_wk05_b 2022-02-04 19:07:09 +01:00
Robert Schmidt cb3b17eaa5 Merge remote-tracking branch 'origin/tx-thread-fix' into integration_2022_wk05_b 2022-02-02 19:10:45 +01:00
Robert Schmidt b65f31a3fa Merge branch 'integration_2022_wk05' into 'develop'
integration_2022_wk05

See merge request oai/openairinterface5g!1427
2022-02-02 09:24:26 +00:00
Robert Schmidt 01f2b5a16c Reset B200 device before a new run 2022-02-02 10:23:01 +01:00
Robert Schmidt 0a8c037735 Set default log level to info 2022-02-01 13:17:26 +01:00
Robert Schmidt 5edcbc91fc Write first color code, enable function name only 2022-02-01 13:17:26 +01:00
Robert Schmidt 57c77a4781 Update log level colors after adding analysis level
Analysis level is green.
2022-02-01 13:17:10 +01:00
Robert Schmidt 284734ba86 Add 5G FDD RFsim test 2022-02-01 08:41:04 +01:00
Robert Schmidt d7e7954cde Remove commented code 2022-01-28 16:20:06 +01:00
Robert Schmidt c1b73e2d48 Harmonize DLSCH/ULSCH unscrambling in gNB/nrUE
Uses optimized scrambling if not UCI on PUSCH, or unoptimized to put
placeholder bits otherwise.
2022-01-28 16:10:50 +01:00
Robert Schmidt b01b20129b Harmonize DLSCH/ULSCH unscrambling in gNB/nrUE 2022-01-28 16:10:50 +01:00
Robert Schmidt b9a216d79a Take timing measurements for UL DLSCH decoding steps
- Measure time of deinterleaving, rate unmatching, and LDPC decoding of
  DLSCH decoding
- Add merge_meas() function to merge measurements into one
- Rename time meas variables with "turbo" to "ldpc"
2022-01-28 16:10:50 +01:00
Robert Schmidt 4289a21f35 Add thread to periodically print L1 UE stats to file 2022-01-28 16:10:50 +01:00
Robert Schmidt 71619bb7b4 Add measurement stats for rx_pdsch and ul_indication 2022-01-28 16:10:50 +01:00
Robert Schmidt 100ba1019e Delete commented code in phy_procedures_nrUE_RX() and indent 2022-01-28 16:10:50 +01:00
Robert Schmidt 4b04b463e0 Fix: start phy_proc_rx measurement 2022-01-28 16:10:50 +01:00
Robert Schmidt 92dbbd9f57 Delete commented code in nr_ue_pdcch_procedures() 2022-01-28 16:10:49 +01:00
Robert Schmidt d9eb6ec5d6 Fix start of dlsch_rx_pdcch_stats measurement 2022-01-28 16:10:49 +01:00
Robert Schmidt 52e478d6a3 Include rotation in phy_proc_tx meas 2022-01-28 16:10:48 +01:00
Robert Schmidt 8c5059214e Remove log verbosity level from all conf files: it is not used 2022-01-27 10:53:07 +01:00
Robert Schmidt a1520aacd1 Remove useless MSCGEN macro 2022-01-27 10:53:07 +01:00
Robert Schmidt 00e058537d Remove MSC library, it is not used anywhere 2022-01-27 10:53:07 +01:00
Robert Schmidt f157b06a01 Revert changes in cqi_to_mcs
Revert the changes to the cqi_to_mcs table introduced in
9fa09f530f. Also, take out cqi_to_mcs form
NR UE, as it is not used in there.
2022-01-19 18:34:42 +01:00
Robert Schmidt 64058d84b3 Don't execute ls on files to analyze (is useless) 2022-01-17 16:02:48 +01:00
Robert Schmidt b0e3867a5f Fix: Right RFsim CU/DU filename 2022-01-17 16:02:48 +01:00
Robert Schmidt 5dae0096f0 CI: Rename SA OAIUE x300 test cases to not overwrite N300 results 2022-01-14 18:34:40 +01:00
Robert Schmidt a8041b6794 CI: Correct file path of logging results 2022-01-14 18:34:40 +01:00
Robert Schmidt 63a5a09732 Complete build_oai -t options 2022-01-14 18:34:40 +01:00
Robert Schmidt 396fcd435e CI: force rebuild of ran_base if build_oai/build_helper/Dockerfile change 2022-01-14 18:34:40 +01:00
Robert Schmidt 4e0548328d CI: delete old stats_monitor files 2022-01-14 18:34:40 +01:00
Robert Schmidt 76411447ab CI: Continuously collect RAN logging file output 2022-01-14 18:34:40 +01:00
Robert Schmidt 74a4c2f6ef CI: Log repo cloning/merging instructions 2022-01-14 18:34:40 +01:00
Robert Schmidt 06bbea7f10 CI: Check for correct files 2022-01-14 18:34:40 +01:00
Robert Schmidt d02a65c824 Tentatively analyze log files of RFsims 2022-01-14 18:34:40 +01:00
Robert Schmidt ac9ee8e206 Increase 5G/SA/RFsimulator throughput test 2022-01-14 18:34:40 +01:00
Robert Schmidt bd08a828cf Give container image delete some time 2022-01-14 18:34:39 +01:00