Commit 65207abe authored by frtabu's avatar frtabu Committed by Florian Kaltenberger

replacing phy_test local variable from nr_dlsim.c and nr_ulsim.c with...

replacing phy_test local variable from nr_dlsim.c and nr_ulsim.c with get_softmodem_params()->phy_test
parent cc95e226
...@@ -76,7 +76,7 @@ int32_t uplink_frequency_offset[MAX_NUM_CCs][4]; ...@@ -76,7 +76,7 @@ int32_t uplink_frequency_offset[MAX_NUM_CCs][4];
double cpuf; double cpuf;
int sf_ahead=4, phy_test = 0; int sf_ahead=4 ;
uint8_t nfapi_mode = 0; uint8_t nfapi_mode = 0;
uint16_t NB_UE_INST = 1; uint16_t NB_UE_INST = 1;
...@@ -447,6 +447,8 @@ int main(int argc, char **argv) ...@@ -447,6 +447,8 @@ int main(int argc, char **argv)
set_glog(loglvl); set_glog(loglvl);
T_stdout = 1; T_stdout = 1;
get_softmodem_params()->phy_test = 1;
if (snr1set==0) if (snr1set==0)
snr1 = snr0+10; snr1 = snr0+10;
......
...@@ -62,7 +62,7 @@ PHY_VARS_NR_UE *UE; ...@@ -62,7 +62,7 @@ PHY_VARS_NR_UE *UE;
RAN_CONTEXT_t RC; RAN_CONTEXT_t RC;
int32_t uplink_frequency_offset[MAX_NUM_CCs][4]; int32_t uplink_frequency_offset[MAX_NUM_CCs][4];
int sf_ahead=4, phy_test = 0; int sf_ahead=4 ;
double cpuf; double cpuf;
uint8_t nfapi_mode = 0; uint8_t nfapi_mode = 0;
uint16_t NB_UE_INST = 1; uint16_t NB_UE_INST = 1;
...@@ -372,6 +372,8 @@ int main(int argc, char **argv) ...@@ -372,6 +372,8 @@ int main(int argc, char **argv)
set_glog(loglvl); set_glog(loglvl);
T_stdout = 1; T_stdout = 1;
get_softmodem_params()->phy_test = 1;
if (snr1set == 0) if (snr1set == 0)
snr1 = snr0 + 10; snr1 = snr0 + 10;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment