LOG_D(OTG,"[BACKGROUND=%d] Time To Transmit [SRC %d][DST %d][APPLI %d] \n",otg_info->traffic_type_background[src_instance][dst_instance],src_instance,dst_instance,app);
LOG_D(OTG,"[BACKGROUND=%u] Time To Transmit [SRC %d][DST %d][APPLI %d] \n",otg_info->traffic_type_background[src_instance][dst_instance],src_instance,dst_instance,app);
LOG_D(OTG,"[%d][%d][Appli id %d][Agg Level=%d] STATE:: OFF Holding Time %d (%d, %d)\n",src_instance,dst_instance,application,g_otg->aggregation_level[src_instance][dst_instance][application],
LOG_D(OTG,"[%d][%d][Appli id %d][Agg Level=%u] STATE:: OFF Holding Time %u (%d, %u)\n",src_instance,dst_instance,application,g_otg->aggregation_level[src_instance][dst_instance][application],
LOG_D(OTG,"[%d][%d][Appli id %d][Agg Level=%d] NEW STATE:: OFF-->ED \n",src_instance,dst_instance,application,g_otg->aggregation_level[src_instance][dst_instance][application]);
LOG_D(OTG,"[%d][%d][Appli id %d][Agg Level=%u] NEW STATE:: OFF-->ED \n",src_instance,dst_instance,application,g_otg->aggregation_level[src_instance][dst_instance][application]);
LOG_I(OTG,"[%d][%d][Appli id %d][Agg Level=%d] NEW STATE:: OFF-->PE \n",src_instance,dst_instance,application,g_otg->aggregation_level[src_instance][dst_instance][application]);
LOG_I(OTG,"[%d][%d][Appli id %d][Agg Level=%u] NEW STATE:: OFF-->PE \n",src_instance,dst_instance,application,g_otg->aggregation_level[src_instance][dst_instance][application]);
LOG_D(OTG,"[%d][%d][Appli id %d][Agg Level=%d] NEW STATE:: PU-->OFF \n",src_instance,dst_instance,application,g_otg->aggregation_level[src_instance][dst_instance][application]);
LOG_D(OTG,"[%d][%d][Appli id %d][Agg Level=%u] NEW STATE:: PU-->OFF \n",src_instance,dst_instance,application,g_otg->aggregation_level[src_instance][dst_instance][application]);
LOG_I(OTG,"[%d][%d][Appli id %d][Agg Level=%d] NEW STATE:: PU-->ED \n",src_instance,dst_instance,application,g_otg->aggregation_level[src_instance][dst_instance][application]);
LOG_I(OTG,"[%d][%d][Appli id %d][Agg Level=%u] NEW STATE:: PU-->ED \n",src_instance,dst_instance,application,g_otg->aggregation_level[src_instance][dst_instance][application]);
LOG_D(OTG,"[%d][%d][Appli id %d][Agg Level=%d] NEW STATE:: PU-->PE \n",src_instance,dst_instance,application,g_otg->aggregation_level[src_instance][dst_instance][application]);
LOG_D(OTG,"[%d][%d][Appli id %d][Agg Level=%u] NEW STATE:: PU-->PE \n",src_instance,dst_instance,application,g_otg->aggregation_level[src_instance][dst_instance][application]);
LOG_D(OTG,"[%d][%d][Appli id %d][Agg Level=%d] NEW STATE:: ED-->OFF \n",src_instance,dst_instance,application,g_otg->aggregation_level[src_instance][dst_instance][application]);
LOG_D(OTG,"[%d][%d][Appli id %d][Agg Level=%u] NEW STATE:: ED-->OFF \n",src_instance,dst_instance,application,g_otg->aggregation_level[src_instance][dst_instance][application]);
LOG_D(OTG,"[%d][%d][Appli id %d][Agg Level=%d] NEW STATE:: ED-->PU \n",src_instance,dst_instance,application,g_otg->aggregation_level[src_instance][dst_instance][application]);
LOG_D(OTG,"[%d][%d][Appli id %d][Agg Level=%u] NEW STATE:: ED-->PU \n",src_instance,dst_instance,application,g_otg->aggregation_level[src_instance][dst_instance][application]);
LOG_D(OTG,"[%d][%d][Appli id %d][Agg Level=%d] NEW STATE:: ED-->PE \n",src_instance,dst_instance,application,g_otg->aggregation_level[src_instance][dst_instance][application]);
LOG_D(OTG,"[%d][%d][Appli id %d][Agg Level=%u] NEW STATE:: ED-->PE \n",src_instance,dst_instance,application,g_otg->aggregation_level[src_instance][dst_instance][application]);
LOG_D(OTG,"[%d][%d][Appli id %d][Agg Level=%d] NEW STATE:: PE->OFF\n",src_instance,dst_instance,application,g_otg->aggregation_level[src_instance][dst_instance][application]);
LOG_D(OTG,"[%d][%d][Appli id %d][Agg Level=%u] NEW STATE:: PE->OFF\n",src_instance,dst_instance,application,g_otg->aggregation_level[src_instance][dst_instance][application]);
LOG_I(OTG,"[%d][%d][Appli id %d] VOIP STATE:: TALK [timer:%d]\n",src_instance,dst_instance,application,otg_info->c_holding_time_talk[src_instance][dst_instance][application]);
LOG_I(OTG,"[%d][%d][Appli id %d] VOIP STATE:: TALK [timer:%u]\n",src_instance,dst_instance,application,otg_info->c_holding_time_talk[src_instance][dst_instance][application]);
@@ -733,7 +733,7 @@ int device_init(openair0_device *device, openair0_config_t *openair0_cfg) {
if(ret==-3)
printf("Error mapping RX or TX buffer");
free(exm);
return(ret);
}
...
...
@@ -752,6 +752,7 @@ int device_init(openair0_device *device, openair0_config_t *openair0_cfg) {
// check if the software matches firmware
if(p_exmimo_id->board_swrev!=BOARD_SWREV_CNTL2){
printf("Software revision %d and firmware revision %d do not match. Please update either the firmware or the software!\n",BOARD_SWREV_CNTL2,p_exmimo_id->board_swrev);
free(exm);
return(-1);
}
}
...
...
@@ -905,7 +906,7 @@ int openair0_config(openair0_config_t *openair0_cfg, int UE_flag)
p_exmimo_config->rf.rx_gain[ant][0]=30-(rxg_max[ant]-(int)openair0_cfg[card].rx_gain[ant]);//was measured at rxgain=30;
}
else{
printf("openair0: RX RF gain too high, reduce by %d dB\n",(int)openair0_cfg[card].rx_gain[ant]-rxg_max[ant]);
printf("openair0: RX RF gain too high, reduce by %u dB\n",(int)openair0_cfg[card].rx_gain[ant]-rxg_max[ant]);
exit(-1);
}
break;
...
...
@@ -916,7 +917,7 @@ int openair0_config(openair0_config_t *openair0_cfg, int UE_flag)
p_exmimo_config->rf.rx_gain[ant][0]=30-(rxg_med[ant]-(int)openair0_cfg[card].rx_gain[ant]);//was measured at rxgain=30;
}
else{
printf("openair0: RX RF gain too high, reduce by %d dB\n",(int)openair0_cfg[card].rx_gain[ant]-rxg_med[ant]);
printf("openair0: RX RF gain too high, reduce by %u dB\n",(int)openair0_cfg[card].rx_gain[ant]-rxg_med[ant]);
exit(-1);
}
break;
...
...
@@ -927,7 +928,7 @@ int openair0_config(openair0_config_t *openair0_cfg, int UE_flag)
p_exmimo_config->rf.rx_gain[ant][0]=30-(rxg_byp[ant]-(int)openair0_cfg[card].rx_gain[ant]);//was measured at rxgain=30;
}
else{
printf("openair0: RX RF gain too high, reduce by %d dB\n",(int)openair0_cfg[card].rx_gain[ant]-rxg_byp[ant]);
printf("openair0: RX RF gain too high, reduce by %u dB\n",(int)openair0_cfg[card].rx_gain[ant]-rxg_byp[ant]);