Optional parameters filling in Du to CU RRC Container
[o-du/l2.git] / src / 5gnrsch / sch_utils.c
index bd2a32e..0a79d67 100644 (file)
@@ -379,13 +379,15 @@ uint16_t prachCfgIdxTable[MAX_PRACH_CONFIG_IDX][8] = {
 {10,  1,  0,  682,  0,  2,  2,  6 }  /* index 255  */
 };
 
+/* Defintion of delta value Table 6.1.2.1.1-5 spec 38.214 */
+uint8_t puschDeltaTable[MAX_MU_PUSCH] = { 2, 3, 4, 6 };
 
 /**
  * @brief frequency domain allocation function. 
  *
  * @details
  *
- *     Function : freqDomResourceAlloc
+ *     Function: canclulatePRB
  *     
  *     This function does allocation in frequency domain resource. using 
  *     bitwise operator, the bits are set for the PRBs.
@@ -395,7 +397,7 @@ uint16_t prachCfgIdxTable[MAX_PRACH_CONFIG_IDX][8] = {
  *  @param[in]  freqDomain - 6 bytes of info, each bit represents a group of 6 PRB.
  *  @return   void
  **/
-void freqDomResourceAlloc(uint16_t startPrb, uint16_t prbSize, uint8_t *freqDomain)
+void calculatePRB(uint16_t startPrb, uint16_t prbSize, uint8_t *freqDomain)
 {
    uint8_t remBits = prbSize; /* each bit represents 6 PRBs */
    uint8_t firstByte = 1;