alexjiao
570c1b5639
Consider the ratio of PUSCH EPRE to DMRS EPRE when calculating PUSCH DMRS power scaling
2025-04-17 14:23:03 +02:00
Laurent THOMAS
a0721cac16
remove ul_ch_estimates_time that saves 50MB memory to access in RAM, and make better quality scope data passing (no race)
2025-03-14 11:27:01 +01:00
Laurent THOMAS
6d14ac735b
remove dead commented code
2025-01-30 17:15:11 +01:00
Laurent THOMAS
5416be3736
move byte2m128i in a more logical place
2025-01-30 17:14:10 +01:00
Laurent THOMAS
268172a435
pure bad code fix
2025-01-30 17:12:27 +01:00
Bartosz Podrygajlo
0657ab2275
Remove spinlock from threadpool task return
...
The idea to use atomic aligned to cache line for counting finished jobs
is reused, but instead of polling a semaphore was added
2025-01-14 15:17:19 +01:00
21dafbcde7
New threadpool
...
- removed some whitespace noise.
- cleaned up CMakeLists.txt
- reintegrated task_manager.c into thread-pool.c
- cleaned up some unnecessary code
Co-authored-by: Cedric Roux <cedric.roux@eurecom.fr >
Co-authored-by: Mikel Irazabal <mikel.irazabal@openairinterface.com >
2024-12-04 17:54:51 +01:00
Bartosz Podrygajlo
e5b19ad121
Run the last job of gNB pusch channel estimation inline
...
In case of 1 antenna this prevents the usage of threadpool which eliminates
the thread pool overhead.
In case of >1 antenna the threadpool contention should be reduced providing
smaller benefits.
2024-11-27 18:01:21 +01:00
Robert Schmidt
ba0cad20e6
Move respPuschAarx response queue to stack of nr_pusch_channel_estimation()
...
The queue for finished jobs of PUSCH channel estimation is only used inside
nr_pusch_channel_estimation(). Since initialization is fast, it can be
declared on the stack in the function where it is used.
2024-11-20 16:30:39 +01:00
Bartosz Podrygajlo
fe10c90250
Avoid passing gNB pointer to nr_pusch_antenna_processing
2024-11-15 12:35:07 +01:00
5605b0c0c6
Parallelize the PUSCH channel estimation
...
- add new data structures for antenna processing.
- create arrays that keep track of certain values (max_ch, noise_amp2, nest_count and delay) per each antenna. These values are processed in order to determine one final output.
- add time processing measurements for each antenna, and prints them in nr_ulsim.
- make num_antennas_per_thread configurable in nr_ulsim and the gNB config file.
Co-authored-by: Nada Bouknana <bouknana@eurecom.fr >
Co-authored-by: Brice Robert <brobert@valiha.com >
2024-11-15 12:35:06 +01:00
Bartosz Podrygajlo
25dde24d1e
Fix formatting in nr_ul_channel_estimation.c
2024-11-15 12:34:04 +01: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
eccecde2c7
Merge remote-tracking branch 'origin/fix-SNR-based-on-SRS' into integration_2024_w41
2024-10-14 14:31:17 +02: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
Bartosz Podrygajlo
bfc47445ee
SRS tx power with power control state
2024-10-01 10:15:23 +02:00
Jaroslava Fiedlerova
1c8e4c364e
Merge remote-tracking branch 'origin/fix_delta_ulsch_channel_estimation' into integration_2024_w33
2024-08-16 14:04:13 +02:00
francescomani
798158cfe1
improvements in nr_pusch_channel_estimation code
2024-08-02 16:38:17 +02:00
francescomani
cec91a2a22
remove duplicate delta pusch function
2024-08-02 11:32:03 +02:00
francescomani
5eef9b3574
fix delta for PUSCH DMRS type 2
2024-08-02 10:09:59 +02:00
Jaroslava Fiedlerova
8ae5bb5632
Merge remote-tracking branch 'origin/fix-signal-energy-nodc' into integration_2024_w31
2024-08-02 09:15:56 +02:00
Laurent THOMAS
e445ba2d1a
Use gold cache PUSCH decoding
...
Harmonize nr_gold_pusch() and nr_gold_pdsch(), as the gold sequence
calculation for PUSCH and PDSCH is the same.
2024-07-30 14:52:06 +02:00
Bartosz Podrygajlo
ed05c94c3e
Fix signal_energy_nodc for lengths that are not multiples of 4
2024-07-30 09:44:00 +02:00
Raphael Defosseux
bbc82731f7
Merge remote-tracking branch 'origin/update-fhi7.2' into integration_2024_w24
2024-06-19 13:55:52 +02:00
Bartosz Podrygajlo
4a36f7dd7b
Extract nr_common and nr_phy_common libs. Also add unit tests for nr_common
2024-06-13 10:14:59 +02:00
Jaroslava Fiedlerova
b17354b74f
Fix integer overflow
...
Avoid UBSan error:
openair1/PHY/NR_ESTIMATION/nr_measurements_gNB.c:246:18: runtime error: signed integer overflow: 1457321472 + 922889664 cannot be represented in type 'int'
2024-06-12 10:29:50 +02:00
Robert Schmidt
f4659b2b0c
Fix integer overflow
...
Avoid UBSan error:
openair1/PHY/NR_ESTIMATION/nr_measurements_gNB.c:183:22: runtime error: signed integer overflow: 2122747784 + 27403601 cannot be represented in type 'int'
2024-06-06 12:36:59 +02:00
Laurent THOMAS
f23c91cc5a
remove rb_mask_ul from permanent storage for stack local usage
2024-06-04 19:08:47 +02:00
Bartosz Podrygajlo
4622d33e3b
Demystifying 10log10(2^30) in signal energy calculations.
2024-05-28 16:12:36 +02:00
Jaroslava Fiedlerova
06f45c462b
Merge remote-tracking branch 'origin/NR_fix_layer_port_confusion_channel_estimates' into integration_2024_w13
2024-04-02 11:33:48 +02:00
Laurent THOMAS
88fb3c3598
change type to c16_t around dmrs computation pieces of code
2024-03-26 20:57:31 +01:00
Laurent THOMAS
39400a458e
change partially pbch detection to c16_t instead of hidden complex in int16_t and int32_t
2024-03-26 20:57:31 +01:00
francescomani
dcc107bfd9
use layer number and not dmrs port number to index pusch channel estimates (plus some code improvement)
2024-03-26 10:06:49 +01:00
Robert Schmidt
132949c226
Merge remote-tracking branch 'origin/NR_DMRS_rx_improved_comments' into integration_2024_w10
2024-03-08 07:19:47 +01:00
mir
fc8d0c59c6
Scan build: Result of operation is garbage or undefined
2024-03-07 11:00:57 +01:00
Laurent THOMAS
2962340a8b
Add variable pointer to catch the rx gain between redundant strct members rfdevice and ifdevice
2024-03-04 10:48:13 +01:00
Laurent THOMAS
7466297568
move command line sample offset and 3/4 sampling option at top level, as it is common option for 4G,5G xNB and UE
2024-03-04 10:07:07 +01:00
francescomani
c464c27f63
adding comments to clarify that DMRS samples generated for channel estimation at reception already takes into account complex conjugate needed for said estimation
2024-02-29 18:59:48 +01:00
francescomani
d247abb53d
code cleanup
2023-11-03 10:15:25 +01:00
Laurent THOMAS
bba9aac079
fix most of doxygen warnings and errors
2023-10-26 16:47:19 +02:00
Laurent THOMAS
838b284aa4
remove-global-rx_spatial_power_in_gnb
2023-10-10 15:45:21 +02:00
Tsung Yu Chan
fc2432e93b
chore / simplify the code and add the comment
...
- simplify the buffer alignment
- add the comment for llr
- clean unused variable
2023-09-25 12:48:28 +02:00
Tsung-Yu Chan
9db99b2fd2
feat / add ptrs module
2023-09-25 12:48:28 +02:00
Tsung-Yu Chan
04073b03e4
feat / add the MMSE and precoding
...
- avoid the finction duplication
- add the transform predoding to the nr_rx_pusch_tp
- add the MMSE for 2 layer which modulation greater than 16 qam
- can support to 256 qam for 1 layer and 2 layer
2023-09-25 12:48:28 +02:00
Robert Schmidt
48dd9bb31f
Merge remote-tracking branch 'origin/remove-small-races-in-ue' into integration_2023_w36
2023-09-11 14:10:26 +02:00
rmagueta
a629feec29
Remove duplicated nr_est_delay_pdsch()/nr_est_timing_advance_pusch() functions and just create the function nr_est_delay()
2023-09-04 17:09:35 +01:00
rmagueta
9f7b159039
Remove duplicated function freq2time()
2023-09-04 17:09:35 +01:00
rmagueta
e0ab96eedc
Implementation of delay compensation in NFAPI_NR_DMRS_TYPE1_linear_interp() at UE
2023-09-04 17:09:35 +01:00
rmagueta
7611fe671f
Implementation of delay estimation in NFAPI_NR_DMRS_TYPE1_linear_interp() at UE
2023-09-04 17:09:35 +01:00