Commit Graph
20495 Commits
Author SHA1 Message Date
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
Sakthivel Velumani f6e25c0e15 code cleanup ldpctest.c 2022-02-21 16:41:18 +05:30
luis_pereira87 fb6936fe27 Merge remote-tracking branch 'origin/develop' into fix-initialBWP-procedures
# Conflicts:
#	openair1/SIMULATION/NR_PHY/dlsim.c
#	openair1/SIMULATION/NR_PHY/ulsim.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
#	openair2/LAYER2/NR_MAC_gNB/mac_proto.h
#	openair2/RRC/NR/rrc_gNB.c
2022-02-21 11:00:27 +00:00
Sakthivel Velumani f448f8021f removed init function 2022-02-21 15:28:38 +05:30
Sakthivel Velumani 9b4a7526ad Fix incorrect merge 2022-02-21 15:26:00 +05:30
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
Sakthivel Velumani 1c49caddc8 Merge branch 'develop' into ldpc-decoder-memory 2022-02-21 13:53:06 +05:30
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
Melissa Elkadi ca336ea917 Fixing comments from MR review. 2022-02-18 10:27:34 -08:00
Melissa Elkadi 221e8402cc Fixing spacing in lines were already changing 2022-02-18 10:14:16 -08:00
Melissa Elkadi b2e2a6bc2e Changing UL_INFO naming convention to be normal 2022-02-18 10:08:44 -08:00
Melissa Elkadi 0db8f80f73 Removing invalid log 2022-02-18 09:58:26 -08:00
Melissa Elkadi b7c767147e Hacks with comments are added in this commit.
These allow the NRUE to reach roughtly 15-25 Mbps
with ~20%-34% packetloss without crashing.
2022-02-18 09:48:38 -08: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
Melissa Elkadi bf3d7959bd Comment for #define _GNU_SOURCE 2022-02-18 09:39:06 -08:00
francescomani c4547c7afd fixing wrong interpretation of support for 256qam table 2022-02-18 18:38:51 +01:00
Melissa Elkadi cc22ec9978 Calling scheduler before handling DCI to ensure nbits are set
Previously, we thought the memset in the nr_ue_dl_indication()
was causing issues / exposing a race. This is not the case. The
memset is not problematic, the issue is that in the emulate_l1
mode we were not always configuring the DCI nbits before handling
the DCI when we are pushing high (15 Mbps) throughput traffic.
2022-02-18 09:29:00 -08: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
hardy 58e0e33327 test T_stdout 2 for NSA 2022-02-18 11:06:08 +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
Melissa Elkadi a21fb77dd1 Added comment to justify uci_size condition
Also, properly filling the CCE index and Agg level
in the stub function when we get the DCI from
nfapi
2022-02-17 10:25:28 -08:00
Melissa Elkadi 2208abfedd Modifying change to MAC layer
Instead of conditionally calling the pucch_scheduler
we now only call the functions we need from the stub
function directly. This is better because we are not
modifying the OAI MAC layer code and ensuring that we
are not calling the pucch_scheduler twice for the same
sfn/slot
2022-02-17 08:48:26 -08: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
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