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
promise
OpenXG-RAN
Commits
6614916b
Commit
6614916b
authored
Jan 11, 2019
by
Louis Adrien Dufrene
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug for test
parent
f99d40c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+11
-4
No files found.
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
6614916b
...
...
@@ -135,6 +135,7 @@ rx_sdu(const module_id_t enb_mod_idP,
// LAD
if
(
UE_id
==
-
1
)
{
LOG_E
(
MAC
,
"Step 1
\n
"
);
LOG_W
(
MAC
,
"[MAC] UE_id = -1 ; RNTI = %x ; frame = %d ; subframe = %d ; sdu_length = %d ; sdu = %d
\n
"
,
rntiP
,
frameP
,
...
...
@@ -194,6 +195,7 @@ rx_sdu(const module_id_t enb_mod_idP,
/* update bytes to schedule */
// LAD
LOG_E
(
MAC
,
"Step 2
\n
"
);
LOG_W
(
MAC
,
"[MAC] UE_id != -1 and sduP != NULL : first_rb = %d ; scheduled_ul_bytes = %d ; TBS_UL = %d
\n
"
,
first_rb
,
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
scheduled_ul_bytes
,
...
...
@@ -293,13 +295,14 @@ rx_sdu(const module_id_t enb_mod_idP,
first_rb
=
ra
[
RA_id
].
msg3_first_rb
;
// LAD
LOG_E
(
MAC
,
"Step 3
\n
"
);
LOG_W
(
MAC
,
"[MAC] UE_id == -1 : first_rb = %d ; scheduled_ul_bytes = %d ; TBS_UL = %d
\n
"
,
first_rb
,
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
scheduled_ul_bytes
,
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
TBS_UL
[
harq_pid
]);
if
(
sduP
==
NULL
)
{
// we've got an error on Msg3
LOG_
I
(
MAC
,
"[eNB %d] CC_id %d, RA %d ULSCH in error in round %d/%d
\n
"
,
LOG_
W
(
MAC
,
"[eNB %d] CC_id %d, RA %d ULSCH in error in round %d/%d
\n
"
,
enb_mod_idP
,
CC_idP
,
RA_id
,
...
...
@@ -313,7 +316,8 @@ rx_sdu(const module_id_t enb_mod_idP,
ra
[
RA_id
].
msg3_round
++
;
// LAD
LOG_W
(
MAC
,
"[MAC] [UEINFO] UE_id = %d ; RNTI_ue_template = %x ; RNTI_sdu = %x
\n
"
,
LOG_E
(
MAC
,
"Step 4
\n
"
);
LOG_W
(
MAC
,
"[MAC] [UEINFO1] UE_id = %d ; RNTI_ue_template = %x ; RNTI_sdu = %x
\n
"
,
UE_id
,
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
rnti
,
current_rnti
);
...
...
@@ -395,10 +399,13 @@ rx_sdu(const module_id_t enb_mod_idP,
UE_list
->
UE_sched_ctrl
[
UE_id
].
round_UL
[
CC_idP
][
harq_pid
]
=
0
;
// can UE_id = -1 !?
// LAD
LOG_W
(
MAC
,
"[MAC] [UEINFO] UE_id = %d ; RNTI_ue_template = %x ; RNTI_sdu = %x
\n
"
,
LOG_E
(
MAC
,
"Step 5
\n
"
);
LOG_W
(
MAC
,
"[MAC] [UEINFO2] UE_id = %d ; RNTI_ue_template = %x ; RNTI_sdu = %x ; frame = %d ; subframe = %d
\n
"
,
UE_id
,
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
rnti
,
current_rnti
);
current_rnti
,
frameP
,
subframeP
);
/* Control element */
for
(
int
i
=
0
;
i
<
num_ce
;
i
++
)
{
...
...
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