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
wangjie
OpenXG-RAN
Commits
b54c32b7
Commit
b54c32b7
authored
Jul 21, 2020
by
masayuki.harada
Committed by
shono.takafumi
Nov 30, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change UL DCI aggregation level by DL cqi.
(cherry picked from commit 175c59ae3aedf612777cd1c8c88b6d6f254b9334)
parent
39b9ffd6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
3 deletions
+36
-3
openair2/LAYER2/MAC/eNB_scheduler_fairRR.c
openair2/LAYER2/MAC/eNB_scheduler_fairRR.c
+36
-3
No files found.
openair2/LAYER2/MAC/eNB_scheduler_fairRR.c
View file @
b54c32b7
...
@@ -2312,6 +2312,18 @@ void ulsch_scheduler_pre_ue_select_fairRR(
...
@@ -2312,6 +2312,18 @@ void ulsch_scheduler_pre_ue_select_fairRR(
}
}
}
}
if
(
mac_eNB_get_rrc_status
(
module_idP
,
rnti
)
==
RRC_HO_EXECUTION
)
{
aggregation
=
4
;
if
(
get_aggregation
(
get_bw_index
(
module_idP
,
CC_id
),
UE_info
->
UE_sched_ctrl
[
UE_id
].
dl_cqi
[
CC_id
],
format0
)
>
4
)
aggregation
=
get_aggregation
(
get_bw_index
(
module_idP
,
CC_id
),
UE_info
->
UE_sched_ctrl
[
UE_id
].
dl_cqi
[
CC_id
],
format0
);
}
else
{
//aggregation = 2;
aggregation
=
get_aggregation
(
get_bw_index
(
module_idP
,
CC_id
),
UE_info
->
UE_sched_ctrl
[
UE_id
].
dl_cqi
[
CC_id
],
format0
);
}
cc
=
&
eNB
->
common_channels
[
CC_id
];
cc
=
&
eNB
->
common_channels
[
CC_id
];
//harq_pid
//harq_pid
harq_pid
=
subframe2harqpid
(
cc
,(
frameP
+
(
sched_subframeP
<
subframeP
?
1
:
0
)),
sched_subframeP
);
harq_pid
=
subframe2harqpid
(
cc
,(
frameP
+
(
sched_subframeP
<
subframeP
?
1
:
0
)),
sched_subframeP
);
...
@@ -2416,10 +2428,19 @@ void ulsch_scheduler_pre_ue_select_fairRR(
...
@@ -2416,10 +2428,19 @@ void ulsch_scheduler_pre_ue_select_fairRR(
}
}
hi_dci0_pdu
=
&
HI_DCI0_req
->
hi_dci0_pdu_list
[
HI_DCI0_req
->
number_of_dci
+
HI_DCI0_req
->
number_of_hi
];
hi_dci0_pdu
=
&
HI_DCI0_req
->
hi_dci0_pdu_list
[
HI_DCI0_req
->
number_of_dci
+
HI_DCI0_req
->
number_of_hi
];
format_flag
=
2
;
rnti
=
UE_RNTI
(
module_idP
,
first_ue_id
[
CC_id
][
temp
]);
rnti
=
UE_RNTI
(
module_idP
,
first_ue_id
[
CC_id
][
temp
]);
format_flag
=
2
;
aggregation
=
get_aggregation
(
get_bw_index
(
module_idP
,
CC_id
),
UE_info
->
UE_sched_ctrl
[
first_ue_id
[
CC_id
][
temp
]].
dl_cqi
[
CC_id
],
format0
);
aggregation
=
get_aggregation
(
get_bw_index
(
module_idP
,
CC_id
),
UE_info
->
UE_sched_ctrl
[
first_ue_id
[
CC_id
][
temp
]].
dl_cqi
[
CC_id
],
format0
);
if
(
mac_eNB_get_rrc_status
(
module_idP
,
rnti
)
==
RRC_HO_EXECUTION
)
{
aggregation
=
4
;
if
(
get_aggregation
(
get_bw_index
(
module_idP
,
CC_id
),
UE_info
->
UE_sched_ctrl
[
UE_id
].
dl_cqi
[
CC_id
],
format0
)
>
4
)
aggregation
=
get_aggregation
(
get_bw_index
(
module_idP
,
CC_id
),
UE_info
->
UE_sched_ctrl
[
UE_id
].
dl_cqi
[
CC_id
],
format0
);
}
else
{
aggregation
=
get_aggregation
(
get_bw_index
(
module_idP
,
CC_id
),
UE_info
->
UE_sched_ctrl
[
UE_id
].
dl_cqi
[
CC_id
],
format0
);
}
if
(
CCE_allocation_infeasible
(
module_idP
,
CC_id
,
format_flag
,
subframeP
,
aggregation
,
rnti
)
==
1
)
{
if
(
CCE_allocation_infeasible
(
module_idP
,
CC_id
,
format_flag
,
subframeP
,
aggregation
,
rnti
)
==
1
)
{
cc_id_flag
[
CC_id
]
=
1
;
cc_id_flag
[
CC_id
]
=
1
;
break
;
break
;
...
@@ -2498,6 +2519,9 @@ void ulsch_scheduler_pre_ue_select_fairRR(
...
@@ -2498,6 +2519,9 @@ void ulsch_scheduler_pre_ue_select_fairRR(
format_flag
=
2
;
format_flag
=
2
;
aggregation
=
get_aggregation
(
get_bw_index
(
module_idP
,
CC_id
),
UE_info
->
UE_sched_ctrl
[
UE_id
].
dl_cqi
[
CC_id
],
format0
);
aggregation
=
get_aggregation
(
get_bw_index
(
module_idP
,
CC_id
),
UE_info
->
UE_sched_ctrl
[
UE_id
].
dl_cqi
[
CC_id
],
format0
);
aggregation
=
get_aggregation
(
get_bw_index
(
module_idP
,
CC_id
),
UE_list
->
UE_sched_ctrl
[
UE_id
].
dl_cqi
[
CC_id
],
format0
);
if
(
CCE_allocation_infeasible
(
module_idP
,
CC_id
,
format_flag
,
subframeP
,
aggregation
,
rnti
)
==
1
)
{
if
(
CCE_allocation_infeasible
(
module_idP
,
CC_id
,
format_flag
,
subframeP
,
aggregation
,
rnti
)
==
1
)
{
cc_id_flag
[
CC_id
]
=
1
;
cc_id_flag
[
CC_id
]
=
1
;
continue
;
continue
;
...
@@ -3112,7 +3136,16 @@ void schedule_ulsch_rnti_fairRR(module_id_t module_idP,
...
@@ -3112,7 +3136,16 @@ void schedule_ulsch_rnti_fairRR(module_id_t module_idP,
UE_sched_ctrl
=
&
UE_info
->
UE_sched_ctrl
[
UE_id
];
UE_sched_ctrl
=
&
UE_info
->
UE_sched_ctrl
[
UE_id
];
harq_pid
=
subframe2harqpid
(
cc
,
sched_frame
,
sched_subframeP
);
harq_pid
=
subframe2harqpid
(
cc
,
sched_frame
,
sched_subframeP
);
rnti
=
UE_RNTI
(
CC_id
,
UE_id
);
rnti
=
UE_RNTI
(
CC_id
,
UE_id
);
aggregation
=
get_aggregation
(
get_bw_index
(
module_idP
,
CC_id
),
UE_sched_ctrl
[
UE_id
].
dl_cqi
[
CC_id
],
format0
);
if
(
mac_eNB_get_rrc_status
(
module_idP
,
rnti
)
==
RRC_HO_EXECUTION
)
{
aggregation
=
4
;
if
(
get_aggregation
(
get_bw_index
(
module_idP
,
CC_id
),
UE_info
->
UE_sched_ctrl
[
UE_id
].
dl_cqi
[
CC_id
],
format0
)
>
4
)
aggregation
=
get_aggregation
(
get_bw_index
(
module_idP
,
CC_id
),
UE_info
->
UE_sched_ctrl
[
UE_id
].
dl_cqi
[
CC_id
],
format0
);
}
else
{
//aggregation = 2;
aggregation
=
get_aggregation
(
get_bw_index
(
module_idP
,
CC_id
),
UE_info
->
UE_sched_ctrl
[
UE_id
].
dl_cqi
[
CC_id
],
format0
);
}
LOG_D
(
MAC
,
"[eNB %d] frame %d subframe %d,Checking PUSCH %d for UE %d/%x CC %d : aggregation level %d, N_RB_UL %d
\n
"
,
LOG_D
(
MAC
,
"[eNB %d] frame %d subframe %d,Checking PUSCH %d for UE %d/%x CC %d : aggregation level %d, N_RB_UL %d
\n
"
,
module_idP
,
frameP
,
subframeP
,
harq_pid
,
UE_id
,
rnti
,
CC_id
,
aggregation
,
N_RB_UL
);
module_idP
,
frameP
,
subframeP
,
harq_pid
,
UE_id
,
rnti
,
CC_id
,
aggregation
,
N_RB_UL
);
int
bytes_to_schedule
=
UE_template
->
estimated_ul_buffer
-
UE_template
->
scheduled_ul_bytes
;
int
bytes_to_schedule
=
UE_template
->
estimated_ul_buffer
-
UE_template
->
scheduled_ul_bytes
;
...
...
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