replacing phy_test local variable from nr_dlsim.c and nr_ulsim.c with get_softmodem_params()->phy_test
This commit is contained in:
committed by
Florian Kaltenberger
parent
b3334dbc2e
commit
e0fd2de76d
@@ -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)
|
|||||||
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;
|
|||||||
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)
|
|||||||
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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user