Merge remote-tracking branch 'origin/fix-csi-data-race' into integration_2024_w45 (!3077)

csiim_vars/csirs_vars used to be global array for each UE. Now its present
in phy_data which is in dynamically allocated memory.

MAC config was done without mutex while DL and UL threads could be running
at the same time.

get_ue_nas_info was allocating memory possibly from more than one thread.
Moved it into new init function for UE NAS layer.

Addreses most issues in #869
This commit is contained in:
Jaroslava Fiedlerova
2024-11-07 16:18:09 +01:00
13 changed files with 60 additions and 59 deletions
+1
View File
@@ -453,6 +453,7 @@ int main(int argc, char **argv)
init_pdcp(0);
else
init_pdcp(mode_offset + ue_id_g);
nas_init_nrue(NB_UE_INST);
init_NR_UE(NB_UE_INST, get_nrUE_params()->uecap_file, get_nrUE_params()->reconfig_file, get_nrUE_params()->rbconfig_file);