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
0f46f17c
Commit
0f46f17c
authored
Apr 03, 2020
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UL PP can change retx freq allocation
parent
24fb5e9c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
6 deletions
+23
-6
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+23
-6
No files found.
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
0f46f17c
...
@@ -1706,6 +1706,23 @@ schedule_ulsch_rnti(module_id_t module_idP,
...
@@ -1706,6 +1706,23 @@ schedule_ulsch_rnti(module_id_t module_idP,
}
else
if
(
rvidx_tab
[
round_UL
&
3
]
==
3
)
{
}
else
if
(
rvidx_tab
[
round_UL
&
3
]
==
3
)
{
mcs_rv
=
31
;
mcs_rv
=
31
;
}
}
const
uint16_t
first_rb
=
UE_template_ptr
->
pre_first_nb_rb_ul
;
const
uint8_t
nb_rb
=
UE_template_ptr
->
pre_allocated_nb_rb_ul
;
if
(
first_rb
!=
UE_template_ptr
->
first_rb_ul
[
harq_pid
]
||
nb_rb
!=
UE_template_ptr
->
nb_rb_ul
[
harq_pid
])
LOG_D
(
MAC
,
"%4d.%d UE %4x retx: change freq allocation to %d RBs start %d (from %d RBs start %d)
\n
"
,
frameP
,
subframeP
,
rnti
,
nb_rb
,
first_rb
,
UE_template_ptr
->
nb_rb_ul
[
harq_pid
],
UE_template_ptr
->
first_rb_ul
[
harq_pid
]);
UE_template_ptr
->
first_rb_ul
[
harq_pid
]
=
first_rb
;
UE_template_ptr
->
nb_rb_ul
[
harq_pid
]
=
nb_rb
;
T
(
T_ENB_MAC_UE_UL_SCHEDULE_RETRANSMISSION
,
T
(
T_ENB_MAC_UE_UL_SCHEDULE_RETRANSMISSION
,
T_INT
(
module_idP
),
T_INT
(
module_idP
),
T_INT
(
CC_id
),
T_INT
(
CC_id
),
...
@@ -1714,8 +1731,8 @@ schedule_ulsch_rnti(module_id_t module_idP,
...
@@ -1714,8 +1731,8 @@ schedule_ulsch_rnti(module_id_t module_idP,
T_INT
(
subframeP
),
T_INT
(
subframeP
),
T_INT
(
harq_pid
),
T_INT
(
harq_pid
),
T_INT
(
mcs_rv
),
T_INT
(
mcs_rv
),
T_INT
(
UE_template_ptr
->
first_rb_ul
[
harq_pid
]
),
T_INT
(
first_rb
),
T_INT
(
UE_template_ptr
->
nb_rb_ul
[
harq_pid
]
),
T_INT
(
nb_rb
),
T_INT
(
round_index
));
T_INT
(
round_index
));
/* Add UL_config PDUs */
/* Add UL_config PDUs */
LOG_D
(
MAC
,
LOG_D
(
MAC
,
...
@@ -1738,8 +1755,8 @@ schedule_ulsch_rnti(module_id_t module_idP,
...
@@ -1738,8 +1755,8 @@ schedule_ulsch_rnti(module_id_t module_idP,
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
aggregation_level
=
aggregation
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
aggregation_level
=
aggregation
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
rnti
=
rnti
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
rnti
=
rnti
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
transmission_power
=
6000
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
transmission_power
=
6000
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
resource_block_start
=
UE_template_ptr
->
first_rb_ul
[
harq_pid
]
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
resource_block_start
=
first_rb
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
number_of_resource_block
=
UE_template_ptr
->
nb_rb_ul
[
harq_pid
]
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
number_of_resource_block
=
nb_rb
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
mcs_1
=
mcs_rv
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
mcs_1
=
mcs_rv
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
cyclic_shift_2_for_drms
=
cshift
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
cyclic_shift_2_for_drms
=
cshift
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
frequency_hopping_enabled_flag
=
0
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
frequency_hopping_enabled_flag
=
0
;
...
@@ -1776,8 +1793,8 @@ schedule_ulsch_rnti(module_id_t module_idP,
...
@@ -1776,8 +1793,8 @@ schedule_ulsch_rnti(module_id_t module_idP,
get_tmode
(
module_idP
,
CC_id
,
UE_id
),
get_tmode
(
module_idP
,
CC_id
,
UE_id
),
mac
->
ul_handle
,
mac
->
ul_handle
,
rnti
,
rnti
,
UE_template_ptr
->
first_rb_ul
[
harq_pid
]
,
// resource_block_start
first_rb
,
// resource_block_start
UE_template_ptr
->
nb_rb_ul
[
harq_pid
]
,
// number_of_resource_blocks
nb_rb
,
// number_of_resource_blocks
mcs_rv
,
mcs_rv
,
cshift
,
// cyclic_shift_2_for_drms
cshift
,
// cyclic_shift_2_for_drms
0
,
// frequency_hopping_enabled_flag
0
,
// frequency_hopping_enabled_flag
...
...
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