Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-RAN
Commits
9395a067
Commit
9395a067
authored
Oct 30, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change macros for UE logging
parent
d5cd07e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
openair2/RRC/NR/nr_rrc_defs.h
openair2/RRC/NR/nr_rrc_defs.h
+4
-4
No files found.
openair2/RRC/NR/nr_rrc_defs.h
View file @
9395a067
...
...
@@ -422,11 +422,11 @@ typedef struct gNB_RRC_INST_s {
}
gNB_RRC_INST
;
#define UE_LOG_FMT "(cellID %lx, UE ID %d RNTI %04x)"
#define UE_LOG_ARGS(ue_
P) (ue_P)->nr_cellid, (ue_P)->rrc_ue_id, (ue_P
)->rnti
#define UE_LOG_ARGS(ue_
context) (ue_context)->nr_cellid, (ue_context)->rrc_ue_id, (ue_context
)->rnti
#define LOG_UE_DL_EVENT(ue_
P, fMt, ...) LOG_A(NR_RRC, "[DL] " UE_LOG_FMT " " fMt, UE_LOG_ARGS(ue_P
) __VA_OPT__(,) __VA_ARGS__)
#define LOG_UE_EVENT(ue_
P, fMt, ...) LOG_A(NR_RRC, "[--] " UE_LOG_FMT " " fMt, UE_LOG_ARGS(ue_P
) __VA_OPT__(,) __VA_ARGS__)
#define LOG_UE_UL_EVENT(ue_
P, fMt, ...) LOG_A(NR_RRC, "[UL] " UE_LOG_FMT " " fMt, UE_LOG_ARGS(ue_P
) __VA_OPT__(,) __VA_ARGS__)
#define LOG_UE_DL_EVENT(ue_
context, fmt, ...) LOG_A(NR_RRC, "[DL] " UE_LOG_FMT " " fmt, UE_LOG_ARGS(ue_context
) __VA_OPT__(,) __VA_ARGS__)
#define LOG_UE_EVENT(ue_
context, fmt, ...) LOG_A(NR_RRC, "[--] " UE_LOG_FMT " " fmt, UE_LOG_ARGS(ue_context
) __VA_OPT__(,) __VA_ARGS__)
#define LOG_UE_UL_EVENT(ue_
context, fmt, ...) LOG_A(NR_RRC, "[UL] " UE_LOG_FMT " " fmt, UE_LOG_ARGS(ue_context
) __VA_OPT__(,) __VA_ARGS__)
#include "nr_rrc_proto.h" //should be put here otherwise compilation error
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment