// LOG_I(MAC,"DUY: lcid when entering rrc_mac config_req is %02d\n",(pmch_InfoList->list.array[0]->mbms_SessionInfoList_r9.list.array[0]->logicalChannelIdentity_r9));
LOG_I(MAC,"[CONFIG] Number of PMCH in this MBSFN Area %d\n",
LOG_I(MAC,"PMCH[%d] Number of session (MTCH) is: %d\n",i,
RC.mac[Mod_idP]->common_channels[0].
mbms_SessionList[i]->list.count);
}
}
if(pmch_InfoList!=NULL){
// LOG_I(MAC,"DUY: lcid when entering rrc_mac config_req is %02d\n",(pmch_InfoList->list.array[0]->mbms_SessionInfoList_r9.list.array[0]->logicalChannelIdentity_r9));
LOG_I(MAC,"[CONFIG] Number of PMCH in this MBSFN Area %d\n",
UE_mac_inst[Mod_idP].scheduling_info.bucket_size[logicalChannelIdentity]=logicalChannelConfig->ul_SpecificParameters->prioritisedBitRate*logicalChannelConfig->ul_SpecificParameters->bucketSizeDuration;// set the max bucket size
if(logicalChannelConfig->ul_SpecificParameters->
logicalChannelGroup!=NULL){
UE_mac_inst[Mod_idP].scheduling_info.
LCGID[logicalChannelIdentity]=
*logicalChannelConfig->ul_SpecificParameters->
logicalChannelGroup;
LOG_D(MAC,
"[CONFIG][UE %d] LCID %ld is attached to the LCGID %ld\n",
UE_mac_inst[Mod_idP].scheduling_info.bucket_size[logicalChannelIdentity]=logicalChannelConfig->ul_SpecificParameters->prioritisedBitRate*logicalChannelConfig->ul_SpecificParameters->bucketSizeDuration;// set the max bucket size
if(logicalChannelConfig->ul_SpecificParameters->
logicalChannelGroup!=NULL){
UE_mac_inst[Mod_idP].scheduling_info.
LCGID[logicalChannelIdentity]=
*logicalChannelConfig->ul_SpecificParameters->
logicalChannelGroup;
LOG_D(MAC,
"[CONFIG][UE %d] LCID %ld is attached to the LCGID %ld\n",
UE_mac_inst[Mod_idP].physicalConfigDedicated=physicalConfigDedicated;// for SR proc
}
#if defined(Rel10) || defined(Rel14)
if(sCellToAddMod_r10!=NULL){
if(sCellToAddMod_r10!=NULL){
phy_config_dedicated_scell_ue(Mod_idP,eNB_index,
sCellToAddMod_r10,1);
UE_mac_inst[Mod_idP].physicalConfigDedicatedSCell_r10=sCellToAddMod_r10->radioResourceConfigDedicatedSCell_r10->physicalConfigDedicatedSCell_r10;// using SCell index 0
}
phy_config_dedicated_scell_ue(Mod_idP,eNB_index,
sCellToAddMod_r10,1);
UE_mac_inst[Mod_idP].physicalConfigDedicatedSCell_r10=sCellToAddMod_r10->radioResourceConfigDedicatedSCell_r10->physicalConfigDedicatedSCell_r10;// using SCell index 0
LOG_I(MAC,"[UE %d][CONFIG] Received %d MBSFN Area Info\n",
Mod_idP,mbsfn_AreaInfoList->list.count);
UE_mac_inst[Mod_idP].num_active_mbsfn_area=
mbsfn_AreaInfoList->list.count;
for(i=0;i<mbsfn_AreaInfoList->list.count;i++){
UE_mac_inst[Mod_idP].mbsfn_AreaInfo[i]=
mbsfn_AreaInfoList->list.array[i];
LOG_I(MAC,
"[UE %d] MBSFN_AreaInfo[%d]: MCCH Repetition Period = %ld\n",
Mod_idP,i,
UE_mac_inst[Mod_idP].mbsfn_AreaInfo[i]->
mcch_Config_r9.mcch_RepetitionPeriod_r9);
phy_config_sib13_ue(Mod_idP,0,eNB_index,i,
UE_mac_inst[Mod_idP].
mbsfn_AreaInfo[i]->mbsfn_AreaId_r9);
}
if(mbsfn_AreaInfoList!=NULL){
LOG_I(MAC,"[UE %d][CONFIG] Received %d MBSFN Area Info\n",
Mod_idP,mbsfn_AreaInfoList->list.count);
UE_mac_inst[Mod_idP].num_active_mbsfn_area=
mbsfn_AreaInfoList->list.count;
for(i=0;i<mbsfn_AreaInfoList->list.count;i++){
UE_mac_inst[Mod_idP].mbsfn_AreaInfo[i]=
mbsfn_AreaInfoList->list.array[i];
LOG_I(MAC,
"[UE %d] MBSFN_AreaInfo[%d]: MCCH Repetition Period = %ld\n",
Mod_idP,i,
UE_mac_inst[Mod_idP].mbsfn_AreaInfo[i]->
mcch_Config_r9.mcch_RepetitionPeriod_r9);
phy_config_sib13_ue(Mod_idP,0,eNB_index,i,
UE_mac_inst[Mod_idP].
mbsfn_AreaInfo[i]->mbsfn_AreaId_r9);
}
}
if(pmch_InfoList!=NULL){
if(pmch_InfoList!=NULL){
// LOG_I(MAC,"DUY: lcid when entering rrc_mac config_req is %02d\n",(pmch_InfoList->list.array[0]->mbms_SessionInfoList_r9.list.array[0]->logicalChannelIdentity_r9));
// LOG_I(MAC,"DUY: lcid when entering rrc_mac config_req is %02d\n",(pmch_InfoList->list.array[0]->mbms_SessionInfoList_r9.list.array[0]->logicalChannelIdentity_r9));
LOG_I(MAC,"[UE %d] Configuring PMCH_config from MCCH MESSAGE \n",
Mod_idP);
LOG_I(MAC,"[UE %d] Configuring PMCH_config from MCCH MESSAGE \n",