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
canghaiwuhen
OpenXG-RAN
Commits
1813e9a4
Commit
1813e9a4
authored
Dec 04, 2019
by
Haruki NAOI
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: TPC control with average SNR value.
(cherry picked from commit 243c90f647a1f97dc3a1486502dc6263b5705e39)
parent
379fc455
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
+1
-0
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+8
-1
No files found.
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
View file @
1813e9a4
...
...
@@ -2448,6 +2448,7 @@ add_new_ue(module_id_t mod_idP,
UE_list
->
assoc_dl_slice_idx
[
UE_id
]
=
0
;
UE_list
->
assoc_ul_slice_idx
[
UE_id
]
=
0
;
UE_list
->
UE_sched_ctrl
[
UE_id
].
ta_update
=
31
;
UE_scheduling_control
->
pusch_snr
[
CC_idP
]
=
0
;
for
(
j
=
0
;
j
<
8
;
j
++
)
{
UE_list
->
UE_template
[
cc_idP
][
UE_id
].
oldNDI
[
j
][
TB1
]
=
(
j
==
0
)
?
1
:
0
;
// 1 because first transmission is with format1A (Msg4) for harq_pid 0
...
...
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
1813e9a4
...
...
@@ -172,7 +172,14 @@ rx_sdu(const module_id_t enb_mod_idP,
* maybe it's even not correct at all?
*/
UE_scheduling_control
->
ta_update
=
(
UE_scheduling_control
->
ta_update
*
3
+
timing_advance
)
/
4
;
if
(
UE_scheduling_control
->
pusch_snr
[
CC_idP
]
==
0
)
{
UE_scheduling_control
->
pusch_snr
[
CC_idP
]
=
ul_cqi
;
}
else
{
UE_scheduling_control
->
pusch_snr
[
CC_idP
]
=
(
UE_scheduling_control
->
pusch_snr
[
CC_idP
]
*
3
+
ul_cqi
)
/
4
;
}
UE_scheduling_control
->
ul_consecutive_errors
=
0
;
first_rb
=
UE_template_ptr
->
first_rb_ul
[
harq_pid
];
...
...
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