Commit Graph
6643 Commits
Author SHA1 Message Date
rmagueta 35324cfa12 Call nr_generate_csi_rs at UE side too 2022-03-02 18:30:02 +00:00
rmagueta 6c27a40f09 Creation of nr_csi_rs_info_t 2022-03-02 16:30:54 +00:00
rmagueta c272bb2f7c Generalization of the nr_generate_csi_rs function to be able to call it in gNB and UE 2022-03-02 15:23:15 +00:00
rmagueta 7fdd7547be Merge remote-tracking branch 'origin/develop' into develop-CSI 2022-03-02 13:14:09 +00:00
Robert Schmidt 6d165912f5 Merge remote-tracking branch 'origin/episys-ul-info-cleanup' into integration_2022_wk08_b 2022-02-26 16:10:03 +01:00
Robert Schmidt 48df6e0ebb Merge remote-tracking branch 'origin/ci_run_sanitize_and_debug' into integration_2022_wk08_b 2022-02-25 23:53:40 +01:00
Robert Schmidt 17675e5989 Merge remote-tracking branch 'origin/fix-Nid_cell-different_from_0' into integration_2022_wk08_b 2022-02-25 23:37:38 +01:00
Thomas Schlichter 05d61a0828 fix scrambling initialization in nr_dlsim and nr_ulsim 2022-02-25 12:57:17 +01:00
Thomas Schlichter 8cfb8b6a3b Fix correlation calculation in nr_dlsch_channel_compensation() 2022-02-25 12:40:50 +01:00
rmagueta 3eaebbca93 CSI PDU received at PHY layer in new function nr_ue_csi_rs_procedures at UE 2022-02-23 20:23:34 +00:00
rmagueta 853776ef2f Implementation of FAPI procedures for CSI at UE 2022-02-23 19:32:20 +00:00
rmagueta 05a9c0e264 Fix in nr_ue_scheduler for CSI 2022-02-23 18:12:36 +00:00
Laurent THOMAS 22d2e9a38f fix warnings and race cond in polar codec 2022-02-23 18:02:55 +01:00
Melissa Elkadi 4398630da7 Merge branch 'eurecom-develop' into episys-ul-info-cleanup 2022-02-23 08:55:10 -08:00
Laurent THOMAS 11441023db fix polar race condition 2022-02-23 17:19:02 +01:00
Robert Schmidt ae803b5370 Prevent heap buffer overflow in nr_dlsch_channel_compensation()
The TX correlation calculation incremented the pointer over the outer
TX antenna inside the inner TX antenna loop.  Incrementing the pointer
in the outer loop instead prevents overflowing.
2022-02-23 16:58:25 +01:00
rmagueta 3ae8f393f4 Add logs in nr_generate_csi_rs 2022-02-23 15:05:02 +00:00
rmagueta 0e0526e367 Merge remote-tracking branch 'origin/develop' into develop-CSI
# Conflicts:
#	openair1/PHY/NR_TRANSPORT/nr_dlsch.c
#	openair1/SIMULATION/NR_PHY/dlsim.c
#	openair1/SIMULATION/NR_PHY/ulsim.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
#	openair2/RRC/NR/rrc_gNB_nsa.c
2022-02-23 13:51:31 +00:00
Robert Schmidt 70ba0cda0e Free rx_ind if dl_indication not called 2022-02-22 19:42:50 +01:00
rmagueta cf284d76f0 Fix build after merge 2022-02-22 17:49:59 +00:00
Laurent THOMAS efcac39c76 simplify polar codec interface 2022-02-22 18:30:44 +01:00
Melissa Elkadi abbcbe6aa5 Adding fixes for MR from review
These include:
- Simplifying VNF code.
- Adding comments to several areas of the code.
- Using free_and_zero macros
- Fixing spelling errors
2022-02-22 09:16:59 -08:00
rmagueta 6f19524e95 Merge remote-tracking branch 'origin/CSI-SA' into develop-CSI
# Conflicts:
#	openair1/PHY/NR_TRANSPORT/nr_dlsch.c
#	openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
#	openair1/SIMULATION/NR_PHY/dlsim.c
#	openair1/SIMULATION/NR_PHY/ulsim.c
#	openair2/LAYER2/NR_MAC_gNB/config.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
#	openair2/RRC/NR/nr_rrc_proto.h
#	openair2/RRC/NR/rrc_gNB_nsa.c
#	openair2/RRC/NR/rrc_gNB_reconfig.c
2022-02-22 15:10:20 +00:00
rmagueta 4f58d66972 Merge remote-tracking branch 'origin/nr_csirs_rrc_harmonization' into develop-CSI
# Conflicts:
#	openair1/SIMULATION/NR_PHY/dlsim.c
#	openair1/SIMULATION/NR_PHY/ulsim.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
#	openair2/RRC/NR/rrc_gNB_nsa.c
#	openair2/RRC/NR/rrc_gNB_reconfig.c
2022-02-22 13:14:12 +00:00
rmagueta 2b108cdded Merge remote-tracking branch 'origin/NR_UE_CSIRS_scheduling' into develop-CSI 2022-02-22 10:09:51 +00:00
Robert Schmidt 04e2d4f6f8 Fix polar encoder memory leaks 2022-02-21 22:38:22 +01:00
Robert Schmidt ec00d84299 Prevent memory leak of rx_ind message 2022-02-21 22:35:22 +01:00
Melissa Elkadi 7fb509511d Merge branch 'eurecom-develop' into episys-ul-info-cleanup 2022-02-21 06:19:54 -08:00
Laurent THOMAS 9aba6d722b fix bugs in polar encode, when len+crc_len>64 2022-02-21 13:37:32 +01:00
Thomas Schlichter e8278de15c fix for 5G NR UL transform precoding
get_index_for_dmrs_lowpapr_seq() was accessing the array dmrs_ul_allocated_res[] out of bounds.
2022-02-21 13:37:32 +01:00
Robert Schmidt 0ad3faaf2a Disable ASAN on ulsim 2022-02-21 13:37:32 +01:00
Robert Schmidt f51590b546 Don't leak check in {nr_,}{d,u}lsim, fix buffer overflows in dlsim 2022-02-21 13:37:32 +01:00
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
Laurent THOMAS 3e2c9af134 with polar structures delete and better cpu performance 2022-02-21 13:36:41 +01:00
Laurent THOMAS be314a9770 remove usage of undefined var in polar and memory leaks 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