Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Optional parameters filling in Du to CU RRC Container
[o-du/l2.git]
/
src
/
5gnrsch
/
sch_utils.c
diff --git
a/src/5gnrsch/sch_utils.c
b/src/5gnrsch/sch_utils.c
index
a2f0d5e
..
0a79d67
100644
(file)
--- 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
*
*
* @details
*
- * Function
: freqDomResourceAlloc
+ * Function
: canclulatePRB
*
* This function does allocation in frequency domain resource. using
* bitwise operator, the bits are set for the PRBs.
*
* 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
**/
* @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;
{
uint8_t remBits = prbSize; /* each bit represents 6 PRBs */
uint8_t firstByte = 1;