Commit d3d76080 authored by laurent's avatar laurent

minor fixes

parent ef1d5079
...@@ -1472,11 +1472,11 @@ static void *ru_stats_thread(void *param) { ...@@ -1472,11 +1472,11 @@ static void *ru_stats_thread(void *param) {
sleep(1); sleep(1);
if (opp_enabled) { if (opp_enabled) {
if (ru->feprx) print_meas(&ru->ofdm_demod_stats,"feprx",NULL,NULL); if (ru->feprx) print_meas(&ru->ofdm_demod_stats,"feprx_ru",NULL,NULL);
if (ru->feptx_ofdm) print_meas(&ru->ofdm_mod_stats,"feptx_ofdm",NULL,NULL); if (ru->feptx_ofdm) print_meas(&ru->ofdm_mod_stats,"feptx_ofdm_ru",NULL,NULL);
if (ru->fh_north_asynch_in) print_meas(&ru->rx_fhaul,"rx_fhaul",NULL,NULL); if (ru->fh_north_asynch_in) print_meas(&ru->rx_fhaul,"rx_fhaul_ru",NULL,NULL);
if (ru->fh_north_out) { if (ru->fh_north_out) {
print_meas(&ru->tx_fhaul,"tx_fhaul",NULL,NULL); print_meas(&ru->tx_fhaul,"tx_fhaul",NULL,NULL);
......
...@@ -2445,7 +2445,7 @@ get_tmode(module_id_t module_idP, ...@@ -2445,7 +2445,7 @@ get_tmode(module_id_t module_idP,
return (cc->p_eNB); return (cc->p_eNB);
} }
AssertFatal(1 == 0, "Shouldn't be here\n"); AssertFatal(false, "Shouldn't be here, antenna info: %p, %d cc:%d, ue:%d active: %d; \n", physicalConfigDedicated->antennaInfo, physicalConfigDedicated->antennaInfo->present,CC_idP, UE_idP, is_UE_active( module_idP,UE_idP ) );
return 0; return 0;
} }
......
...@@ -2462,7 +2462,6 @@ do_RRCConnectionSetup( ...@@ -2462,7 +2462,6 @@ do_RRCConnectionSetup(
struct LTE_SRB_ToAddMod__rlc_Config *SRB1_rlc_config = NULL; struct LTE_SRB_ToAddMod__rlc_Config *SRB1_rlc_config = NULL;
struct LTE_SRB_ToAddMod__logicalChannelConfig *SRB1_lchan_config = NULL; struct LTE_SRB_ToAddMod__logicalChannelConfig *SRB1_lchan_config = NULL;
struct LTE_LogicalChannelConfig__ul_SpecificParameters *SRB1_ul_SpecificParameters = NULL; struct LTE_LogicalChannelConfig__ul_SpecificParameters *SRB1_ul_SpecificParameters = NULL;
LTE_PhysicalConfigDedicated_t *physicalConfigDedicated2 = NULL;
LTE_DL_CCCH_Message_t dl_ccch_msg; LTE_DL_CCCH_Message_t dl_ccch_msg;
LTE_RRCConnectionSetup_t *rrcConnectionSetup = NULL; LTE_RRCConnectionSetup_t *rrcConnectionSetup = NULL;
LTE_DL_FRAME_PARMS *frame_parms = &RC.eNB[ctxt_pP->module_id][CC_id]->frame_parms; LTE_DL_FRAME_PARMS *frame_parms = &RC.eNB[ctxt_pP->module_id][CC_id]->frame_parms;
...@@ -2509,7 +2508,7 @@ do_RRCConnectionSetup( ...@@ -2509,7 +2508,7 @@ do_RRCConnectionSetup(
SRB1_ul_SpecificParameters->logicalChannelGroup = logicalchannelgroup; SRB1_ul_SpecificParameters->logicalChannelGroup = logicalchannelgroup;
asn1cSeqAdd(&(*SRB_configList)->list,SRB1_config); asn1cSeqAdd(&(*SRB_configList)->list,SRB1_config);
// PhysicalConfigDedicated // PhysicalConfigDedicated
physicalConfigDedicated2 = CALLOC(1,sizeof(*physicalConfigDedicated2)); LTE_PhysicalConfigDedicated_t *physicalConfigDedicated2 = CALLOC(1,sizeof(*physicalConfigDedicated2));
*physicalConfigDedicated = physicalConfigDedicated2; *physicalConfigDedicated = physicalConfigDedicated2;
physicalConfigDedicated2->pdsch_ConfigDedicated = CALLOC(1,sizeof(*physicalConfigDedicated2->pdsch_ConfigDedicated)); physicalConfigDedicated2->pdsch_ConfigDedicated = CALLOC(1,sizeof(*physicalConfigDedicated2->pdsch_ConfigDedicated));
physicalConfigDedicated2->pucch_ConfigDedicated = CALLOC(1,sizeof(*physicalConfigDedicated2->pucch_ConfigDedicated)); physicalConfigDedicated2->pucch_ConfigDedicated = CALLOC(1,sizeof(*physicalConfigDedicated2->pucch_ConfigDedicated));
......
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