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
Renaming UE IDX to UE ID (Leftover fixes) [Issue-ID: ODUHIGH-401]
[o-du/l2.git]
/
src
/
cm
/
common_def.h
diff --git
a/src/cm/common_def.h
b/src/cm/common_def.h
index
2346187
..
c709204
100644
(file)
--- a/
src/cm/common_def.h
+++ b/
src/cm/common_def.h
@@
-144,20
+144,14
@@
#define MAX_TDD_PERIODICITY_SLOTS 160
#endif
#define MAX_TDD_PERIODICITY_SLOTS 160
#endif
-/* TODO : Delete GET_UE_IDX once replaced with GET_UE_ID at all places */
-#define GET_UE_IDX( _crnti,_ueIdx) \
-{ \
- _ueIdx = _crnti - ODU_START_CRNTI + 1; \
-}
-
#define GET_UE_ID( _crnti,_ueId) \
{ \
_ueId = _crnti - ODU_START_CRNTI + 1; \
}
#define GET_UE_ID( _crnti,_ueId) \
{ \
_ueId = _crnti - ODU_START_CRNTI + 1; \
}
-#define GET_CRNTI( _crnti,
_ueIdx
) \
+#define GET_CRNTI( _crnti,
_ueId
) \
{ \
{ \
- _crnti = _ueId
x
+ ODU_START_CRNTI - 1; \
+ _crnti = _ueId + ODU_START_CRNTI - 1; \
}
/* Calculates cellIdx from cellId */
}
/* Calculates cellIdx from cellId */