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
ZhouShuya
OpenXG-RAN
Commits
bfcefd9f
Commit
bfcefd9f
authored
Jan 11, 2019
by
Louis Adrien Dufrene
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ulsch_scheduler_opti' into 383-ulsch-scheduler-optimization
parents
9d5557f5
2f95d409
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
67 additions
and
102 deletions
+67
-102
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
+66
-99
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+1
-3
No files found.
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
View file @
bfcefd9f
This diff is collapsed.
Click to expand it.
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
bfcefd9f
...
@@ -128,7 +128,6 @@ rx_sdu(const module_id_t enb_mod_idP,
...
@@ -128,7 +128,6 @@ rx_sdu(const module_id_t enb_mod_idP,
mac
=
RC
.
mac
[
enb_mod_idP
];
mac
=
RC
.
mac
[
enb_mod_idP
];
harq_pid
=
subframe2harqpid
(
&
mac
->
common_channels
[
CC_idP
],
frameP
,
subframeP
);
harq_pid
=
subframe2harqpid
(
&
mac
->
common_channels
[
CC_idP
],
frameP
,
subframeP
);
UE_list
=
&
mac
->
UE_list
;
UE_list
=
&
mac
->
UE_list
;
//ra = (RA_t *) &RC.mac[enb_mod_idP]->common_channels[CC_idP].ra[0];
ra
=
RC
.
mac
[
enb_mod_idP
]
->
common_channels
[
CC_idP
].
ra
;
ra
=
RC
.
mac
[
enb_mod_idP
]
->
common_channels
[
CC_idP
].
ra
;
memset
(
rx_ces
,
0
,
MAX_NUM_CE
*
sizeof
(
unsigned
char
));
memset
(
rx_ces
,
0
,
MAX_NUM_CE
*
sizeof
(
unsigned
char
));
memset
(
rx_lcids
,
0
,
NB_RB_MAX
*
sizeof
(
unsigned
char
));
memset
(
rx_lcids
,
0
,
NB_RB_MAX
*
sizeof
(
unsigned
char
));
...
@@ -141,7 +140,7 @@ rx_sdu(const module_id_t enb_mod_idP,
...
@@ -141,7 +140,7 @@ rx_sdu(const module_id_t enb_mod_idP,
if
(
opt_enabled
==
1
)
{
if
(
opt_enabled
==
1
)
{
trace_pdu
(
DIRECTION_UPLINK
,
sduP
,
sdu_lenP
,
0
,
WS_C_RNTI
,
current_rnti
,
frameP
,
subframeP
,
0
,
0
);
trace_pdu
(
DIRECTION_UPLINK
,
sduP
,
sdu_lenP
,
0
,
WS_C_RNTI
,
current_rnti
,
frameP
,
subframeP
,
0
,
0
);
LOG_D
(
OPT
,
"[eNB %d][ULSCH] Frame %d
rnti %x
with size %d
\n
"
,
LOG_D
(
OPT
,
"[eNB %d][ULSCH] Frame %d
rnti %x
with size %d
\n
"
,
enb_mod_idP
,
enb_mod_idP
,
frameP
,
frameP
,
current_rnti
,
current_rnti
,
...
@@ -179,7 +178,6 @@ rx_sdu(const module_id_t enb_mod_idP,
...
@@ -179,7 +178,6 @@ rx_sdu(const module_id_t enb_mod_idP,
if
(
UE_list
->
UE_sched_ctrl
[
UE_id
].
ul_out_of_sync
>
0
)
{
if
(
UE_list
->
UE_sched_ctrl
[
UE_id
].
ul_out_of_sync
>
0
)
{
UE_list
->
UE_sched_ctrl
[
UE_id
].
ul_out_of_sync
=
0
;
UE_list
->
UE_sched_ctrl
[
UE_id
].
ul_out_of_sync
=
0
;
// mac_eNB_rrc_ul_in_sync(enb_mod_idP, CC_idP, frameP, subframeP, UE_RNTI(enb_mod_idP, UE_id)); // replace UE_RNTI(enb_mod_idP, UE_id) by current_rnti ??
mac_eNB_rrc_ul_in_sync
(
enb_mod_idP
,
CC_idP
,
frameP
,
subframeP
,
current_rnti
);
mac_eNB_rrc_ul_in_sync
(
enb_mod_idP
,
CC_idP
,
frameP
,
subframeP
,
current_rnti
);
}
}
...
...
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