@@ -197,7 +184,6 @@ int nr_generate_dlsch_pdu(module_id_t module_idP,
...
@@ -197,7 +184,6 @@ int nr_generate_dlsch_pdu(module_id_t module_idP,
//Computing the number of octects to be allocated for Flexible array member
//Computing the number of octects to be allocated for Flexible array member
//of MAC CE structure
//of MAC CE structure
uint8_tnum_octects=(ue_sched_ctl->UE_mac_ce_ctrl.pdsch_TCI_States_ActDeact.highestTciStateActivated)/8+1;//Calculating the number of octects for allocating the memory
uint8_tnum_octects=(ue_sched_ctl->UE_mac_ce_ctrl.pdsch_TCI_States_ActDeact.highestTciStateActivated)/8+1;//Calculating the number of octects for allocating the memory
//filling the subheader
//filling the subheader
((NR_MAC_SUBHEADER_SHORT*)mac_pdu_ptr)->R=0;
((NR_MAC_SUBHEADER_SHORT*)mac_pdu_ptr)->R=0;
((NR_MAC_SUBHEADER_SHORT*)mac_pdu_ptr)->F=0;
((NR_MAC_SUBHEADER_SHORT*)mac_pdu_ptr)->F=0;
...
@@ -213,10 +199,12 @@ int nr_generate_dlsch_pdu(module_id_t module_idP,
...
@@ -213,10 +199,12 @@ int nr_generate_dlsch_pdu(module_id_t module_idP,
@@ -231,7 +219,6 @@ int nr_generate_dlsch_pdu(module_id_t module_idP,
...
@@ -231,7 +219,6 @@ int nr_generate_dlsch_pdu(module_id_t module_idP,
//Computing the number of octects to be allocated for Flexible array member
//Computing the number of octects to be allocated for Flexible array member
//of MAC CE structure
//of MAC CE structure
uint8_tnum_octects=(ue_sched_ctl->UE_mac_ce_ctrl.aperi_CSI_trigger.highestTriggerStateSelected)/8+1;//Calculating the number of octects for allocating the memory
uint8_tnum_octects=(ue_sched_ctl->UE_mac_ce_ctrl.aperi_CSI_trigger.highestTriggerStateSelected)/8+1;//Calculating the number of octects for allocating the memory
//filling the subheader
//filling the subheader
((NR_MAC_SUBHEADER_SHORT*)mac_pdu_ptr)->R=0;
((NR_MAC_SUBHEADER_SHORT*)mac_pdu_ptr)->R=0;
((NR_MAC_SUBHEADER_SHORT*)mac_pdu_ptr)->F=0;
((NR_MAC_SUBHEADER_SHORT*)mac_pdu_ptr)->F=0;
...
@@ -248,10 +235,12 @@ int nr_generate_dlsch_pdu(module_id_t module_idP,
...
@@ -248,10 +235,12 @@ int nr_generate_dlsch_pdu(module_id_t module_idP,
LOG_D(MAC,"NR MAC CE of ZP CSIRS Serv cell ID = %d BWPID= %d Rsc set ID = %d\n",ue_sched_ctl->UE_mac_ce_ctrl.sp_zp_csi_rs.serv_cell_id,ue_sched_ctl->UE_mac_ce_ctrl.sp_zp_csi_rs.bwpid,ue_sched_ctl->UE_mac_ce_ctrl.sp_zp_csi_rs.rsc_id);
LOG_D(MAC,"NR MAC CE of ZP CSIRS Serv cell ID = %d BWPID= %d Rsc set ID = %d\n",ue_sched_ctl->UE_mac_ce_ctrl.sp_zp_csi_rs.serv_cell_id,ue_sched_ctl->UE_mac_ce_ctrl.sp_zp_csi_rs.bwpid,