X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrsch%2Fsch_utils.c;h=0a79d678b9cd5c710b9ebfc170f417331b53a8db;hb=cbf9db65bacb54e33073cbc49d2f799ec9e75e2b;hp=a2f0d5e04993d59fc9412d39ae8fe4418eb85948;hpb=f56e7aa2f07c03f3b30eda22a2260d038e0214e9;p=o-du%2Fl2.git diff --git a/src/5gnrsch/sch_utils.c b/src/5gnrsch/sch_utils.c index a2f0d5e04..0a79d678b 100644 --- a/src/5gnrsch/sch_utils.c +++ b/src/5gnrsch/sch_utils.c @@ -387,7 +387,7 @@ uint8_t puschDeltaTable[MAX_MU_PUSCH] = { 2, 3, 4, 6 }; * * @details * - * Function : freqDomResourceAlloc + * Function: canclulatePRB * * This function does allocation in frequency domain resource. using * bitwise operator, the bits are set for the PRBs. @@ -397,7 +397,7 @@ uint8_t puschDeltaTable[MAX_MU_PUSCH] = { 2, 3, 4, 6 }; * @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;