Commit Graph
20171 Commits
Author SHA1 Message Date
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
Laurent THOMAS 06dd706df7 fix undefined vars in pbchsim.c 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
francescomani d12eb8efc4 Merge remote-tracking branch 'origin/develop' into NR_UL_VRB_MAP_improv 2022-02-21 10:38:23 +01:00
Laurent Thomas 7ee3bacc34 Merge branch 'integration_2022_wk08' of https://gitlab.eurecom.fr/oai/openairinterface5g into integration_2022_wk08 2022-02-21 10:29:30 +01:00
Laurent Thomas 67b299e341 fix a warning in assertions.h, appear only with some gcc versions 2022-02-21 10:29:06 +01:00
francescomani 7bb7c4d290 Merge remote-tracking branch 'origin/develop' into NR_RRC_256QAM_DL 2022-02-21 09:24:07 +01:00
francescomani 3b7430a745 Merge remote-tracking branch 'origin/develop' into NR_SA_10MHz 2022-02-21 09:12:21 +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
Cedric Roux 78f0c8ff29 nr rlc: harmonize computation of sn_count
Functions generate_missing() and missing_size() had different
computations of sn_count. Not sure if it is a problem or not,
but let's do the same in both functions.

Hopefully the computation is correct.
2022-02-20 16:00:54 +01:00
Cedric Roux 7c652df820 nr rlc: bugfix - so_end was used instead of sn_end 2022-02-20 15:56:56 +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
Francois TABURET cffb27b086 Update iqrecordplayer_usage.md 2022-02-18 17:46:08 +00:00
alblf 3d577aa0fc doc update 2022-02-18 18:40:56 +01:00
francescomani c4547c7afd fixing wrong interpretation of support for 256qam table 2022-02-18 18:38:51 +01:00
alblf a1aae82925 Fix duplicated memory allocation when replaying using mmap,
add use_mmap parameter for the record player device
fix assertion when replaying without using mmap
2022-02-18 18:22:14 +01:00
Laurent THOMAS dca9be3c33 code review comments (incl. actual bugs) 2022-02-18 16:10:10 +01:00
francescomani d0228cf18a Merge branch 'NR_2port_CSIRS' of https://gitlab.eurecom.fr/oai/openairinterface5g into NR_2port_CSIRS 2022-02-18 13:39:02 +01:00
francescomani 0a59bffbb1 fix phy-test check 2022-02-18 13:38:45 +01: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
francescomani 2cc96f5025 log level fix for ptrs in dlsim 2022-02-18 11:11:48 +01:00
Laurent THOMAS 39dd02aeef Merge branch 'remove-NR_UE_PBCH' of https://gitlab.eurecom.fr/oai/openairinterface5g into remove-NR_UE_PBCH 2022-02-18 09:41:43 +01:00
Laurent THOMAS 8e3f720b7d fix unaligned mem for SIMD 2022-02-18 09:41:18 +01:00
Laurent THOMAS 18a421578f finish remove global vars for UE PBCH 2022-02-18 09:41:18 +01:00
Laurent THOMAS 53001d0d10 remove-NR_UE_PBCH scope to finish 2022-02-18 09:41:18 +01:00
francescomani 9f02206b8a error message if no uecap in fill_default_secondaryCellGroup 2022-02-17 17:43:24 +01:00
Robert Schmidt e890cee31c Reduce max_num_ue after successful PUCCH alloc 2022-02-17 13:58:27 +01:00
Robert Schmidt fd40aa2666 Make nr_find_nb_rb() take minimum RBsize
Fixes a bug when scheduling multiple UEs
2022-02-17 13:58:24 +01:00
francescomani ba27a01827 fix dlschsim 2022-02-17 10:43:37 +01:00
francescomani bcbafdf094 fix for ulprbbl memcpy 2022-02-17 10:31:16 +01:00