LOG_I(NR_MAC,"UE %04x Generate msg4: feedback at %4d.%2d, payload %d bytes, next state WAIT_Msg4_ACK\n",ra->rnti,pucch->frame,pucch->ul_slot,harq->tb_size);
LOG_I(NR_MAC,"UE %04x Generate msg4: feedback at %4d.%2d, payload %d bytes\n",ra->rnti,pucch->frame,pucch->ul_slot,harq->tb_size);
LOG_A(NR_MAC,"(UE RNTI 0x%04x) Skipping Ack of RA-Msg4. CBRA procedure succeeded!\n",ra->rnti);
UE->Msg4_ACKed=true;
// Pause scheduling according to:
// 3GPP TS 38.331 Section 12 Table 12.1-1: UE performance requirements for RRC procedures for UEs
// Msg4 may transmit a RRCReconfiguration, for example when UE sends RRCReestablishmentComplete and MAC CE for C-RNTI in Msg3.
// In that case, gNB will generate a RRCReconfiguration that will be transmitted in Msg4, so we need to apply CellGroup after the Ack,
// UE->apply_cellgroup was already set when processing RRCReestablishment message
LOG_I(NR_MAC,"UE %04x Generate msg4: feedback at %4d.%2d, payload %d bytes, next state WAIT_Msg4_ACK\n",ra->rnti,pucch->frame,pucch->ul_slot,harq->tb_size);