+ SchCellCb *cell = NULLP;
+ SchUlSlotInfo *schUlSlotInfo = NULLP;
+ uint8_t puschMu = 0;
+ uint8_t msg3SlotAlloc = 0;
+ uint8_t delta = 0;
+ uint8_t k2 = 0;
+ uint8_t startSymb = 0;
+ uint8_t symbLen = 0;
+ uint8_t startRb = 0;
+ uint8_t numRb = 0;
+ uint8_t idx = 0;
+
+
+ cell = schCb[schInst].cells[schInst];
+// puschMu = cell->cellCfg.puschMu;
+ delta = puschDeltaTable[puschMu];
+ k2 = cell->cellCfg.schInitialUlBwp.puschCommon.k2;
+ startSymb = cell->cellCfg.schInitialUlBwp.puschCommon.startSymbol;
+ symbLen = cell->cellCfg.schInitialUlBwp.puschCommon.lengthSymbol;
+
+ /* Slot allocation for msg3 based on 38.214 section 6.1.2.1 */
+ msg3SlotAlloc = slot + k2 + delta;
+ msg3SlotAlloc = msg3SlotAlloc % SCH_NUM_SLOTS;
+
+ startRb = PUSCH_START_RB;
+
+ /* formula used for calculation of rbSize, 38.214 section 6.1.4.2
+ * Ninfo = S.Nre.R.Qm.v
+ * Nre' = Nsc.NsymPdsch-NdmrsSymb-Noh
+ * Nre = min(156,Nre').nPrb */
+ numRb = 1; /* based on above calculation */