Commit Graph
20129 Commits
Author SHA1 Message Date
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
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
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 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
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
hardy d8dccbad59 update of sa tests requirements aligned with 256qam 2022-02-16 17:14:01 +01:00
hardy 298008677c fix rfsim test + update html reporting 2022-02-16 12:27:03 +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
hardy 87a840c5b5 fix bash script syntax error, preventing test from running 2022-02-16 09:48:29 +01:00
francescomani b7408c842a modifying the 24PRB CI test case 2022-02-16 08:27:54 +01:00
hardy a9844b773c add rfsim sa test 24PRB 2022-02-16 08:16:43 +01:00
rmagueta 9691946845 Fix Nid_cell in PUSCH dmrs and scrambling 2022-02-16 00:52:57 +00:00
Melissa Elkadi 679816c3c1 Added comment around asn1cCalloc memory leak 2022-02-15 15:05:04 -08: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
rmagueta ff8c47d3aa Fix scramblingID and gold sequence for PDCCH and PDSCH 2022-02-15 17:04:50 +00:00
Melissa Elkadi 39d9febc0c Hardcoding TI and UL_CQI in stub function.
Also, the allocation of the eNB measurement
report keeps getting commented out becasue
the compiler throws an error. I have un-commented
the allocation of memory (becasue it breaks NSA
mode) and added a memset to ensure we are using
the allocated memory. This gets rid of the
warning and ensures NSA mode still works.
2022-02-15 08:39:55 -08:00
francescomani 50b0abc18d testing highest mcs for 256qam 2022-02-15 15:29:48 +01:00
Robert Schmidt 6af9ac6c9c Fix SA OAIUE N310 test's USRP IP address 2022-02-15 09:30:21 +01:00