Laurent THOMAS
effe4f1c81
replace transient malloc by stack allocation, add defense code on block size
2024-04-03 10:31:34 +02:00
Jaroslava Fiedlerova
4d25ee9545
Merge remote-tracking branch 'origin/dqt-troubleshoot-doc' into integration_2024_w13
2024-04-02 11:35:51 +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
Jaroslava Fiedlerova
19eb0af185
Merge remote-tracking branch 'origin/NR_PUCCH2_RX_CQI' into integration_2024_w13
2024-03-29 16:59:27 +01:00
Jaroslava Fiedlerova
c5bc442410
Merge remote-tracking branch 'origin/better-log-ue-sync' into integration_2024_w13
2024-03-29 16:08:38 +01:00
Jaroslava Fiedlerova
c92650003f
Merge remote-tracking branch 'origin/NR_4_layers_MIMO' into integration_2024_w13
2024-03-29 16:06:14 +01:00
Robert Schmidt
9b8479488f
Provide additional troubleshooting documentation for QtScope
...
On Wayland (e.g., Gnome on Ubuntu 22), additional steps might be
necessary to make QtScope run. Describe them in the doc.
Closes : #696
2024-03-29 09:50:32 +01:00
Laurent THOMAS
86ebebf3f5
fix merge conflicts
2024-03-27 10:06:33 +01:00
Laurent THOMAS
9a4294ebab
for_review_then_squash
2024-03-26 20:58:44 +01:00
Laurent THOMAS
a95dffc80e
delete dead files
2024-03-26 20:57:31 +01: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
99e1bb1a00
fix ug on pilot 2 in nr_pbch_dmrs_correlation() that is lacking signal processing, make the code in pbch simpler and faster
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
Laurent THOMAS
34f260769b
make better log text for ue synchronization, make better sync code, no functional change
2024-03-26 20:57:29 +01:00
francescomani
ca949b4c29
remove nushift in DL channel estimation
2024-03-26 10:47:19 +01:00
Robert Schmidt
0ecd346b07
Merge remote-tracking branch 'origin/NR_UE_data_scrambling_fix' into integration_2024_w12
2024-03-26 10:41:25 +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
francescomani
be807c92bd
use layer number and not dmrs port number to index pdsch channel estimates (plus some code improvement)
2024-03-26 09:44:18 +01:00
francescomani
b739e5357d
hardcoding invalid report for PUCCH2 CQI at gNB because SNR computation is wrong
2024-03-22 12:51:28 +01:00
francescomani
91e5d80002
correct use of dataScramblingID for PUSCH at UE
2024-03-22 11:08:19 +01:00
Robert Schmidt
78305b8c54
Merge remote-tracking branch 'origin/NR_fix_gold' into integration_2024_w12
2024-03-22 08:31:19 +01:00
francescomani
8f858af876
improvements for 4-layer MIMO at gNB
2024-03-21 18:22:25 +01:00
francescomani
de82f516fe
fix gold pusch
2024-03-21 11:17:39 +01:00
francescomani
557f3e6f05
fix gold pdsch
2024-03-21 11:17:02 +01:00
francescomani
8d93ab5fed
fix gold pdcch
2024-03-21 11:16:59 +01:00
francescomani
ee3dcc5c77
replacing cell_notdetected with cell_detected in initial_sync structure
2024-03-19 09:59:07 +01:00
francescomani
1fa6be2a3d
fix procedure after T300 expiry
2024-03-19 09:55:05 +01:00
Robert Schmidt
0b43620e05
Merge remote-tracking branch 'origin/print_LOG_for_UE_command_line_parameters' into integration_2024_w11
2024-03-18 09:41:15 +01:00
Robert Schmidt
823e127c55
Merge remote-tracking branch 'origin/NR_UE_no_leaks_dora' into integration_2024_w11
2024-03-15 08:13:01 +01:00
francescomani
51d60c2dae
let the gNB print a LOG with the UE command line parameters to simplfy the life of the users
2024-03-14 18:55:51 +01:00
francescomani
37d3e5bb58
get SSB ARFCN at RRC UE (needed to update k_gnb key according to 33.501)
2024-03-13 17:59:11 +01:00
Robert Schmidt
e9e67b40fe
Merge remote-tracking branch 'origin/ue-rework-keep-sync-in-frame' into integration_2024_w10
2024-03-08 18:56:50 +01:00
Robert Schmidt
2d4e3a0515
Merge remote-tracking branch 'origin/simplify-log-module-interface' into integration_2024_w10
2024-03-08 07:19:55 +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
Robert Schmidt
66bdd0e801
Merge remote-tracking branch 'origin/ci-aw2s-test-15' into integration_2024_w10
2024-03-08 07:16:11 +01:00
Robert Schmidt
e24f5d635c
Merge remote-tracking branch 'origin/cleanup_fapi_and_more' into integration_2024_w10
2024-03-08 07:16:04 +01:00
Laurent THOMAS
c5e4bea6b9
make explicit return of the clock drift to shift the corresponding number of samples
...
remove corresponding global variables
2024-03-07 15:28:22 +01:00
mir
573e7d3a4a
Comments from MR
2024-03-07 11:00:57 +01:00
mir
275c3c6aa8
Bugfix cmax and memory init
2024-03-07 11:00:57 +01:00
mir
fc8d0c59c6
Scan build: Result of operation is garbage or undefined
2024-03-07 11:00:57 +01:00
Laurent THOMAS
4245dd9be9
Remove useless declarations
2024-03-07 09:57:31 +01:00
Robert Schmidt
0128945922
nr_fill_indication(): protect with mutex
...
nr_fill_indication() fills CRC and RX requests, to be sent from L1 to
L2. Before this commit, nr_fill_indication() is called when
- we finally decoded LDPC (or not)
- low signal on PUSCH
This might happen at the same time, i.e., nr_fill_indication() might try
to fill both CRC and RX, in the same list, from different threads. This
can lead to this assertion:
Assertion (crc->rnti == rx->rnti) failed!
In handle_nr_ulsch() ../../../openair2/NR_PHY_INTERFACE/NR_IF_Module.c:190
mis-match between CRC RNTI e071 and RX RNTI 5e3b
e.g., e071 is low energy, and while 5e3b related message are filled in
one thread, e071 is being put into the message structure as well.
At least that is my understanding. I could not actually reproduce this
assertion; to be seen if it still happens.
2024-03-07 09:56:33 +01:00
Robert Schmidt
c189591827
Add header guards inr nr_ulsch.h to avoid circular dependencies
2024-03-07 09:56:20 +01:00
Robert Schmidt
09a75009ce
nr_fill_ulsch(): gracefully handle case of no ulsch found
2024-03-07 09:56:20 +01:00
Robert Schmidt
8d87f0c4e2
get_phy_stats(): full list is non-fatal
...
Do not assert if the list of phy statistics is full; instead return
NULL.
In most places, this is handled appropriately (we do not store anything
if we can't). In nr_decode_pucch0(), the return value of get_phy_stats()
is used a little bit all over the function, and a constant
if (uci_stats)
uci_stats->variable++;
would look ugly, so make uci_stats point to the stack if we cannot store
in the phy_stats.
2024-03-07 09:56:20 +01:00
Robert Schmidt
98c309ffe3
Refactor nr_decode_pucch0() to not rely on uci_stats
...
the uci_stats variable (pointing to per-UE statistics for UCI) is used
in function nr_decode_pucch0() to store information which is important
beyond statistics, e.g., uci_stats->pucch0_thres as a threshold (which
comes from somewhere else)
This commit refactors to use original or intermediate variables to not
mix uci_stats usage with actual processing.
Also, group uci_stats a bit more.
2024-03-07 09:56:20 +01:00
Robert Schmidt
711518ba00
Move NUMBER_FRAMES_PHY_UE_INACTIVE to smaller scope
2024-03-07 09:56:20 +01:00
Robert Schmidt
7ea8833529
Use MAX_MOBILES_PER_GNB in 5G NR code
...
NUMBER_OF_UE_MAX is a 4G constant, use 5G one instead
2024-03-07 09:56:20 +01:00
francescomani
284d07c5ae
nfapi_nr_interface cleanup
2024-03-06 11:38:26 +01:00
Laurent THOMAS
2129ee3c9c
remove global visibility of log variables, remove circular .h dependancy
2024-03-06 08:51:24 +01:00