//Computing the number of octects to be allocated for Flexible array member
//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
//filling the subheader
constuint8_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