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 GET_UE_IDX to GET_UE_ID in 5gnrmac [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
1220b2e
..
550c720
100644
(file)
--- a/
src/cm/common_def.h
+++ b/
src/cm/common_def.h
@@
-144,11
+144,17
@@
#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_IDX( _crnti,_ueIdx) \
{ \
_ueIdx = _crnti - ODU_START_CRNTI + 1; \
}
+#define GET_UE_ID( _crnti,_ueId) \
+{ \
+ _ueId = _crnti - ODU_START_CRNTI + 1; \
+}
+
#define GET_CRNTI( _crnti,_ueIdx) \
{ \
_crnti = _ueIdx + ODU_START_CRNTI - 1; \
#define GET_CRNTI( _crnti,_ueIdx) \
{ \
_crnti = _ueIdx + ODU_START_CRNTI - 1; \