Laurent THOMAS
486cebce06
replace a printf() by a cleaner call to AssertFatal()
2024-11-07 17:08:18 +01:00
Laurent THOMAS
fd83be4e77
change the alignment of OAI mutli-dim arrays from 16 to 32 bytes
2024-11-07 17:08:18 +01:00
Laurent THOMAS
07b9daa762
fix blocking bugs in command nr_dlsim -n100 -e27 -s35 -b 273 -R273 -x4 -y4 -z4
...
use a better complex vector multiplication function
2024-11-07 17:08:18 +01:00
Laurent THOMAS
89b7ce5eb9
small fix of rotate vector unit test
2024-11-07 17:07:52 +01:00
Laurent THOMAS
ac06f107dd
add a optimzed complex vector multiplication function
2024-11-07 17:07:50 +01:00
Robert Schmidt
f216c47ace
Merge remote-tracking branch 'origin/fix-regression-4G' into integration_2024_w44 ( !3008 )
...
Fix Regression 4G
- Fix various bugs and/or regressions in 4G code
- Also, the CI does not test RFsim 4G with --sanitize, enables this to
detect problems.
2024-11-04 19:43:52 +01:00
Robert Schmidt
da7a028a3f
Merge remote-tracking branch 'origin/logs-refactor-orange' into integration_2024_w44 ( !3078 )
...
Simplify logs in gNB&UE
- reduce the amount of printf() that outputs useless info
- in MAC, PHY, NGAP, RRC, mark some "important" UE events with LOG_A for
better visibility -> can put log_config.global_log_level analysis to
only see important stuff
- in RRC, use some macro to consistently print logs
- track the cellID of a UE in RRC
2024-11-01 11:58:47 +01:00
Robert Schmidt
84db6fd9f3
Merge remote-tracking branch 'origin/add-functional-test-dft' into integration_2024_w44 ( !2988 )
...
Add functional DFT test
- clean up code on (i)dft calls
- add DFT test for some DFT sizes against trivial implementation: it
tests a simple square signal in only real values
- correctly scale DFT-16
2024-10-31 08:40:21 +01:00
Laurent THOMAS
ae8df083fc
Add functional test for DFT
2024-10-30 18:04:59 +01:00
Laurent THOMAS
576d468809
Clean up intermediate DFT macros, remove non-existing DFTs
...
DFT for 9216 and 73728 don't exist and/or assert, so remove them from
the list.
2024-10-30 18:04:43 +01:00
Laurent THOMAS
5cd5f72533
case DFT12 processing with specific data organization: remove intermediate pointer
2024-10-30 17:54:58 +01:00
Robert Schmidt
f00ee9af2f
review comment: to squash
2024-10-30 16:45:26 +01:00
Laurent THOMAS
4cf2719bd9
scale in DFT16 as per normal scaling sqrt(16) = 4
2024-10-29 18:47:15 +01:00
Laurent THOMAS
f1f02ec0a1
use existing functions to retrieve (i)dft enum value
2024-10-29 18:47:15 +01:00
Robert Schmidt
68f8ef7c7a
Reduce amount of logs in L1/L2
...
This commit removes many logs that just show memory addresses, indices,
etc., which, I presume, do not mean anything to the "average user" and
developers alike.
2024-10-29 16:36:13 +01:00
Robert Schmidt
8cc6c0cbbb
Various places: remove printf and/or transform to LOG_D
2024-10-29 16:35:47 +01:00
Robert Schmidt
26fa3300e6
Merge remote-tracking branch 'origin/NR_gNB_sched_improvements' into integration_2024_w43 ( !2989 )
...
This MR removes limitations on BWP scheduler operation for which only
the information from the first UE of the list was taken into account. To
do so, I moved the VRB map check for DL and UL scheduler out of the
preprocessor and in the scheduler itself.
Closes : #769
2024-10-28 19:35:27 +01:00
Robert Schmidt
cf9854601c
getopt() returns int
...
See getopt(3): returns int, so store it in an int variable.
I went through all occurrences, project-wide. All return values of
getopt() should be stored in ints now.
2024-10-24 19:22:06 +02:00
francescomani
38a05d8aad
making DLSCH preprocessor agnostic to UEs BWP and TDA
2024-10-24 15:04:27 +02:00
Laurent THOMAS
6cedca1c1d
fix error of grouping UE to free list for phy layer and ue to free list for fapi
2024-10-22 12:25:30 +02:00
Laurent THOMAS
972a251798
bug in code duplication
2024-10-22 11:05:20 +02:00
Robert Schmidt
dd7c3f80e8
Merge remote-tracking branch 'origin/pucch2_dtx' into integration_2024_w42 ( !3051 )
...
This adds DTX detection in PUCCH 2 receiver. This is detected by MAC
already which will drop PUCCH 2 indications that are detected as DTX.
For the moment this uses the same pucch0_dtx_threshold value indicated
in L1 section of the configuration file. The feature firstly reduces
unnecessary logging on stdout and the use of invalid CSI measurements in
the MAC scheduler.
Closes : #547
2024-10-19 12:56:21 +02:00
Raymond Knopp
03b24c1ee6
fixed signal level computation for PUCCH2 and threshold in pucchsim.
...
Threshold allows detection with -9 dB SNR with 8 RX antennas
2024-10-18 15:43:08 +02:00
francescomani
af53f35824
avoid processing PUCCH2 without polar if declared missed detection
2024-10-18 11:17:58 +02:00
Rúben Soares Silva
57cccd633f
Correctly cast qam64_qam64 parameters in dlsch_llr_computation.c
...
Change call to qam64_qam64 to use (short *) parameters as defined in the function declaration
2024-10-17 10:48:24 +01:00
Raymond Knopp
eb9cb2f988
added DTX detection in PUCCH 2 receiver. This is detected by MAC already
...
which will drop PUCCH 2 indications that are detected as DTX. For the
moment this uses the same pucch0_dtx_threshold value indicated in L1
section of the configuration file.
2024-10-17 10:08:08 +02:00
Rúben Soares Silva
d9a5866bcd
Address warning unused variable 'tw512_128p'
2024-10-15 16:48:23 +01:00
Jaroslava Fiedlerova
75af74c731
Merge remote-tracking branch 'origin/RA_2-Step' into integration_2024_w41
2024-10-14 14:47:19 +02:00
francescomani
eccecde2c7
Merge remote-tracking branch 'origin/fix-SNR-based-on-SRS' into integration_2024_w41
2024-10-14 14:31:17 +02:00
francescomani
4528be42de
Merge remote-tracking branch 'origin/NR_gNB_BF_matrix' into integration_2024_w41
2024-10-11 16:55:25 +02:00
rmagueta
be6dcccd93
Add CI test for SRS in nr_ulsim
2024-10-11 11:12:53 +01:00
rmagueta
765bb64b5c
Fix SNR based on SRS
2024-10-11 11:12:21 +01:00
francescomani
abc5069a55
handling beams in PHY RX channels
2024-10-11 08:02:06 +02:00
francescomani
014338105e
remove unused bf_weights feild from config files
2024-10-11 08:02:06 +02:00
francescomani
64ed4e9262
handling beams in PHY TX channels
2024-10-11 08:02:06 +02:00
francescomani
2a9a038dbd
improvements in RU beamforming handling procedures
2024-10-11 07:59:31 +02:00
rmagueta
aaf9b57abb
Call active=0 for CSI-RS early
2024-10-09 10:01:46 +01:00
ndomingues
160210ebae
Baseline implementation of RA 2-Step MsgA procedures at UE
2024-10-09 09:04:44 +01:00
francescomani
f25ad2b098
remove unnecessary return at the end of nr_ue_csi_rs_procedures
2024-10-08 09:46:43 +02:00
francescomani
46beda91ee
moving CSI-RS common functions to a new file
2024-10-08 09:46:43 +02:00
francescomani
a54a919bd8
removing UE dependence on gNB CSI FAPI structure and decoupling UE from gNB procedures
2024-10-08 09:46:43 +02:00
francescomani
26fd99ff61
terminal independent common functions in nr_generate_csi_rs
2024-10-08 09:46:43 +02:00
francescomani
ddbbaef302
remove nr_csi_info_t from gNB (unused)
2024-10-08 09:46:43 +02:00
francescomani
7e009781cd
moving out CSI mapping parameters from nr_generate_csi_rs
2024-10-08 09:46:43 +02:00
francescomani
ad96697d10
common function for CSI-RS mapping parameters
2024-10-08 09:46:43 +02:00
Jaroslava Fiedlerova
9ef7e6dec0
Merge remote-tracking branch 'origin/fix-Beta_DMRS_PDSCH' into integration_2024_w40b
2024-10-04 11:00:31 +02:00
Jaroslava Fiedlerova
9ca37d1b94
Merge remote-tracking branch 'origin/ue-RF-warmup' into integration_2024_w40b
2024-10-04 07:53:17 +02:00
Jaroslava Fiedlerova
b824e55cdd
Merge remote-tracking branch 'origin/imscope-td-plot' into integration_2024_w40b
2024-10-04 07:52:36 +02:00
Robert Schmidt
c2535df334
Merge remote-tracking branch 'origin/fix_log2_approx_tests' into integration_2024_w40
2024-10-02 17:06:33 +02:00
rmagueta
73b00e8c1c
Fix the ratio of PDSCH EPRE to DM-RS EPRE
...
This fix gets DL 4-layer working with COTS UE
2024-10-02 15:30:11 +01:00