Code Review
/
o-du
/
phy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
* INTC Contribution to the O-RAN F Release for O-DU Low
[o-du/phy.git]
/
fhi_lib
/
app
/
src
/
common.c
diff --git
a/fhi_lib/app/src/common.c
b/fhi_lib/app/src/common.c
index
f165ef4
..
e3135c7
100644
(file)
--- a/
fhi_lib/app/src/common.c
+++ b/
fhi_lib/app/src/common.c
@@
-95,12
+95,7
@@
int16_t nCpSizeF2[2][4][2] =
{{68, 36}, {136, 72}, {272, 144}, {544, 288}}, // Numerology 3 (120KHz)
};
{{68, 36}, {136, 72}, {272, 144}, {544, 288}}, // Numerology 3 (120KHz)
};
-uint32_t gMaxSlotNum;
-uint32_t gNumDLCtx;
-uint32_t gNumULCtx;
-uint32_t gDLResetAdvance;
-uint32_t gDLProcAdvance;
-uint32_t gULProcAdvance;
+uint32_t gLocMaxSlotNum;
static uint16_t g_NumSlotTDDLoop[XRAN_MAX_SECTOR_NR] = { XRAN_NUM_OF_SLOT_IN_TDD_LOOP };
static uint16_t g_NumDLSymSp[XRAN_MAX_SECTOR_NR][XRAN_NUM_OF_SLOT_IN_TDD_LOOP] = {0};
static uint16_t g_NumSlotTDDLoop[XRAN_MAX_SECTOR_NR] = { XRAN_NUM_OF_SLOT_IN_TDD_LOOP };
static uint16_t g_NumDLSymSp[XRAN_MAX_SECTOR_NR][XRAN_NUM_OF_SLOT_IN_TDD_LOOP] = {0};
@@
-339,11
+334,11
@@
uint32_t app_xran_cal_nrarfcn(uint32_t nCenterFreq)
int32_t app_xran_slot_limit(int32_t nSfIdx)
{
while (nSfIdx < 0) {
int32_t app_xran_slot_limit(int32_t nSfIdx)
{
while (nSfIdx < 0) {
- nSfIdx += gMaxSlotNum;
+ nSfIdx += g
Loc
MaxSlotNum;
}
}
- while (nSfIdx >= gMaxSlotNum) {
- nSfIdx -= gMaxSlotNum;
+ while (nSfIdx >= g
Loc
MaxSlotNum) {
+ nSfIdx -= g
Loc
MaxSlotNum;
}
return nSfIdx;
}
return nSfIdx;