replacing phy_test local variable from nr_dlsim.c and nr_ulsim.c with get_softmodem_params()->phy_test

This commit is contained in:
frtabu
2020-02-14 16:50:09 +01:00
committed by Florian Kaltenberger
parent b3334dbc2e
commit e0fd2de76d
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -76,7 +76,7 @@ int32_t uplink_frequency_offset[MAX_NUM_CCs][4];
double cpuf;
int sf_ahead=4, phy_test = 0;
int sf_ahead=4 ;
uint8_t nfapi_mode = 0;
uint16_t NB_UE_INST = 1;
@@ -447,6 +447,8 @@ int main(int argc, char **argv)
set_glog(loglvl);
T_stdout = 1;
get_softmodem_params()->phy_test = 1;
if (snr1set==0)
snr1 = snr0+10;
+3 -1
View File
@@ -62,7 +62,7 @@ PHY_VARS_NR_UE *UE;
RAN_CONTEXT_t RC;
int32_t uplink_frequency_offset[MAX_NUM_CCs][4];
int sf_ahead=4, phy_test = 0;
int sf_ahead=4 ;
double cpuf;
uint8_t nfapi_mode = 0;
uint16_t NB_UE_INST = 1;
@@ -372,6 +372,8 @@ int main(int argc, char **argv)
set_glog(loglvl);
T_stdout = 1;
get_softmodem_params()->phy_test = 1;
if (snr1set == 0)
snr1 = snr0 + 10;