Commit b052dbb9 authored by Javier Morgade's avatar Javier Morgade

Revert changes from commmit 8fa685f0

parent 56f7e2e2
...@@ -337,12 +337,6 @@ int lte_sync_time(int **rxdata, ///rx data in time domain ...@@ -337,12 +337,6 @@ int lte_sync_time(int **rxdata, ///rx data in time domain
int *eNB_id) int *eNB_id)
{ {
// [IRTMS debug]
static int num_calles=0;
printf("[IRTMS]lte_sync_time called %d times\n", num_calles);
// perform a time domain correlation using the oversampled sync sequence // perform a time domain correlation using the oversampled sync sequence
......
...@@ -171,7 +171,6 @@ int netlink_init(void) ...@@ -171,7 +171,6 @@ int netlink_init(void)
{ {
int ret; int ret;
printf("[IRTMS] Opening socket...\n");
nas_sock_fd = socket(PF_NETLINK, SOCK_RAW,GRAAL_NETLINK_ID); nas_sock_fd = socket(PF_NETLINK, SOCK_RAW,GRAAL_NETLINK_ID);
......
...@@ -694,27 +694,13 @@ int main( int argc, char **argv ) { ...@@ -694,27 +694,13 @@ int main( int argc, char **argv ) {
int ret; int ret;
#endif #endif
// [IRTMS] fix, see Merge branch 'issue-399-master-ue-hot-fix' into 'master' start_background_system();
configmodule_interface_t *config_mod;
// [IRTMS] end fix
start_background_system();
// [IRTMS] fix, see Merge branch 'issue-399-master-ue-hot-fix' into 'master'
/*
if ( load_configmodule(argc,argv,CONFIG_ENABLECMDLINEONLY) == NULL) { if ( load_configmodule(argc,argv,CONFIG_ENABLECMDLINEONLY) == NULL) {
exit_fun("[SOFTMODEM] Error, configuration module init failed\n"); exit_fun("[SOFTMODEM] Error, configuration module init failed\n");
} }
*/
config_mod = load_configmodule(argc, argv, CONFIG_ENABLECMDLINEONLY);
if (config_mod == NULL) {
exit_fun("[SOFTMODEM] Error, configuration module init failed\n");
}
// [IRTMS] end fix
mode = normal_txrx; mode = normal_txrx;
memset(&openair0_cfg[0],0,sizeof(openair0_config_t)*MAX_CARDS); memset(&openair0_cfg[0],0,sizeof(openair0_config_t)*MAX_CARDS);
set_latency_target(); set_latency_target();
...@@ -731,9 +717,6 @@ int main( int argc, char **argv ) { ...@@ -731,9 +717,6 @@ int main( int argc, char **argv ) {
abort(); abort();
} }
printf("\n[IRTMS] Hello from main\n");
printf("NFAPI_MODE value: %d \n", nfapi_mode); printf("NFAPI_MODE value: %d \n", nfapi_mode);
...@@ -831,12 +814,8 @@ int main( int argc, char **argv ) { ...@@ -831,12 +814,8 @@ int main( int argc, char **argv ) {
} else init_openair0(frame_parms[0],(int)rx_gain[0][0]); } else init_openair0(frame_parms[0],(int)rx_gain[0][0]);
if (simL1flag==1) { if (simL1flag==1) {
// [IRTRMS] fix, see Merge branch 'issue-399-master-ue-hot-fix' into 'master'
/*
AssertFatal(NULL!=load_configmodule(argc,argv,CONFIG_ENABLECMDLINEONLY), AssertFatal(NULL!=load_configmodule(argc,argv,CONFIG_ENABLECMDLINEONLY),
"[SOFTMODEM] Error, configuration module init failed\n"); "[SOFTMODEM] Error, configuration module init failed\n");
*/
// [IRTMS] end fix
RCConfig_sim(); RCConfig_sim();
} }
......
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