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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
spbro
OpenXG-RAN
Commits
10dbc33e
Commit
10dbc33e
authored
8 years ago
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add RLC traces to the code
parent
d7e072a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
openair2/LAYER2/RLC/rlc.c
openair2/LAYER2/RLC/rlc.c
+11
-0
openair2/LAYER2/RLC/rlc_mac.c
openair2/LAYER2/RLC/rlc_mac.c
+9
-0
No files found.
openair2/LAYER2/RLC/rlc.c
View file @
10dbc33e
...
...
@@ -359,6 +359,11 @@ rlc_op_status_t rlc_data_req (const protocol_ctxt_t* const ctxt_pP,
#endif
#if T_TRACER
if
(
ctxt_pP
->
enb_flag
)
T
(
T_ENB_RLC_DL
,
T_INT
(
ctxt_pP
->
module_id
),
T_INT
(
ctxt_pP
->
rnti
),
T_INT
(
rb_idP
),
T_INT
(
sdu_sizeP
));
#endif
if
(
MBMS_flagP
)
{
AssertFatal
(
rb_idP
<
NB_RB_MBMS_MAX
,
"RB id is too high (%u/%d)!
\n
"
,
rb_idP
,
NB_RB_MBMS_MAX
);
}
else
{
...
...
@@ -571,6 +576,12 @@ void rlc_data_ind (
rlc_util_print_hex_octets
(
RLC
,
(
unsigned
char
*
)
sdu_pP
->
data
,
sdu_sizeP
);
#endif
#if T_TRACER
if
(
ctxt_pP
->
enb_flag
)
T
(
T_ENB_RLC_UL
,
T_INT
(
ctxt_pP
->
module_id
),
T_INT
(
ctxt_pP
->
rnti
),
T_INT
(
rb_idP
),
T_INT
(
sdu_sizeP
));
#endif
pdcp_data_ind
(
ctxt_pP
,
srb_flagP
,
...
...
This diff is collapsed.
Click to expand it.
openair2/LAYER2/RLC/rlc_mac.c
View file @
10dbc33e
...
...
@@ -221,6 +221,11 @@ tbs_size_t mac_rlc_data_req(
;
}
#if T_TRACER
if
(
enb_flagP
)
T
(
T_ENB_RLC_MAC_DL
,
T_INT
(
module_idP
),
T_INT
(
rntiP
),
T_INT
(
channel_idP
),
T_INT
(
ret_tb_size
));
#endif
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_MAC_RLC_DATA_REQ
,
VCD_FUNCTION_OUT
);
return
ret_tb_size
;
}
...
...
@@ -276,6 +281,10 @@ void mac_rlc_data_ind (
#endif
#if T_TRACER
if
(
enb_flagP
)
T
(
T_ENB_RLC_MAC_UL
,
T_INT
(
module_idP
),
T_INT
(
rntiP
),
T_INT
(
channel_idP
),
T_INT
(
tb_sizeP
));
#endif
if
(
MBMS_flagP
)
{
if
(
BOOL_NOT
(
enb_flagP
))
{
...
...
This diff is collapsed.
Click to expand it.
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