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
Michael Black
OpenXG-RAN
Commits
1e374fdf
Commit
1e374fdf
authored
Feb 25, 2019
by
Louis Adrien Dufrene
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some debug in eNB_scheduler_primitives to test
parent
46bbfb82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
+18
-2
No files found.
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
View file @
1e374fdf
...
...
@@ -1950,9 +1950,18 @@ find_UE_id(module_id_t mod_idP,
UE_list_t
*
UE_list
=
&
RC
.
mac
[
mod_idP
]
->
UE_list
;
for
(
UE_id
=
0
;
UE_id
<
MAX_MOBILES_PER_ENB
;
UE_id
++
)
{
LOG_E
(
MAC
,
"in find_UE_id(): for UE_id = %d
\n
"
,
UE_id
);
if
(
UE_list
->
active
[
UE_id
]
==
TRUE
)
{
if
(
UE_list
->
UE_template
[
UE_PCCID
(
mod_idP
,
UE_id
)][
UE_id
].
rnti
==
rntiP
)
{
LOG_E
(
MAC
,
"in find_UE_id(): UE_list->active[UE_id]
\n
"
);
LOG_E
(
MAC
,
"in find_UE_id(): UE_PCCID(mod_idP, UE_id) = %d ; UE_template.rnti = %d ; rntiP = %d
\n
"
,
UE_PCCID
(
mod_idP
,
UE_id
),
UE_list
->
UE_template
[
UE_PCCID
(
mod_idP
,
UE_id
)][
UE_id
].
rnti
,
rntiP
);
if
(
UE_list
->
UE_template
[
UE_PCCID
(
mod_idP
,
UE_id
)][
UE_id
].
rnti
==
rntiP
)
{
return
UE_id
;
}
}
...
...
@@ -2135,9 +2144,14 @@ add_new_ue(module_id_t mod_idP,
dump_ue_list
(
UE_list
,
0
);
for
(
i
=
0
;
i
<
MAX_MOBILES_PER_ENB
;
i
++
)
{
LOG_E
(
MAC
,
"In add_new_ue() UE_id = %d
\n
"
,
i
);
if
(
UE_list
->
active
[
i
]
==
TRUE
)
continue
;
LOG_E
(
MAC
,
"In add_new_ue() Not active
\n
"
);
UE_id
=
i
;
memset
(
&
UE_list
->
UE_template
[
cc_idP
][
UE_id
],
0
,
sizeof
(
UE_TEMPLATE
));
...
...
@@ -2151,6 +2165,8 @@ add_new_ue(module_id_t mod_idP,
UE_list
->
num_UEs
++
;
UE_list
->
active
[
UE_id
]
=
TRUE
;
LOG_E
(
MAC
,
"In add_new_ue() rnti = %d for CC_id = %d
\n
"
,
rntiP
,
cc_idP
);
#if defined(USRP_REC_PLAY) // not specific to record/playback ?
UE_list
->
UE_template
[
cc_idP
][
UE_id
].
pre_assigned_mcs_ul
=
0
;
#endif
...
...
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