Add RCconfig_nr_positioning to obtain and fill TRP related parameters from config file

This commit is contained in:
Rakesh Mundlamuri
2026-03-02 21:35:54 +05:30
parent 6eceaacb73
commit ccf4b42541
7 changed files with 222 additions and 0 deletions
+1
View File
@@ -27,6 +27,7 @@
#include "openair2/GNB_APP/gnb_config_ng.h"
#include "openair2/GNB_APP/gnb_paramdef.h"
#include "openair3/SCTP/sctp_default_values.h"
#include "openair3/NRPPA/nrppa_gNB_config.h"
RAN_CONTEXT_t RC;
THREAD_STRUCT thread_struct;
+21
View File
@@ -38,6 +38,27 @@ gNBs =
}
);
positioning_config = (
{
NumTRPs = 4; # number of TRPs
TRPIDs = [1,2,3,4]; # userdefined distinct IDs
TRPxAxis = [71,21,10,45]; # X-axis value of each TRP
TRPyAxis = [11,22,62,14]; # Y-axis value of each TRP
TRPzAxis = [41,22,33,42]; # Z-axis value of each TRP
Units = [0, 0, 0, 0]; # 0 = mm, 1 = cm, 2 = dm
}
);
L1s = (
{
num_cc = 1;
tr_n_preference = "local_mac";
prach_dtx_threshold = 120;
pucch0_dtx_threshold = 150;
ofdm_offset_divisor = 8; #set this to UINT_MAX for offset 0
}
);
log_config :
{
global_log_level ="info";