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
b37e234e
Commit
b37e234e
authored
Mar 07, 2016
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added CQI request timer. CQI only requested periodically. MCS20 on UL works now.
parent
c48f074a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
3 deletions
+15
-3
openair2/LAYER2/MAC/defs.h
openair2/LAYER2/MAC/defs.h
+1
-0
openair2/LAYER2/MAC/eNB_scheduler.c
openair2/LAYER2/MAC/eNB_scheduler.c
+2
-0
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+11
-2
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.c
+1
-1
No files found.
openair2/LAYER2/MAC/defs.h
View file @
b37e234e
...
...
@@ -742,6 +742,7 @@ typedef struct {
uint16_t
ta_timer
;
int16_t
ta_update
;
int32_t
context_active_timer
;
int32_t
cqi_req_timer
;
int32_t
ul_inactivity_timer
;
int32_t
ul_failure_timer
;
int32_t
ra_pdcch_order_sent
;
...
...
openair2/LAYER2/MAC/eNB_scheduler.c
View file @
b37e234e
...
...
@@ -127,6 +127,8 @@ void eNB_dlsch_ulsch_scheduler(module_id_t module_idP,uint8_t cooperation_flag,
// increment this, it is cleared when we receive an sdu
eNB_mac_inst
[
module_idP
].
UE_list
.
UE_sched_ctrl
[
i
].
ul_inactivity_timer
++
;
eNB_mac_inst
[
module_idP
].
UE_list
.
UE_sched_ctrl
[
i
].
cqi_req_timer
++
;
if
(
mac_xface
->
get_eNB_UE_stats
(
module_idP
,
CC_id
,
rnti
)
==
NULL
)
{
// mac_remove_ue(module_idP, i, frameP, subframeP);
...
...
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
b37e234e
...
...
@@ -873,7 +873,14 @@ void schedule_ulsch_rnti(module_id_t module_idP,
UE_template
->
ul_SR
=
0
;
aggregation
=
process_ue_cqi
(
module_idP
,
UE_id
);
// =2 by default!!
status
=
mac_eNB_get_rrc_status
(
module_idP
,
rnti
);
cqi_req
=
(
status
<
RRC_CONNECTED
)
?
0
:
1
;
if
(
status
<
RRC_CONNECTED
)
cqi_req
=
0
;
else
if
(
UE_list
->
UE_sched_ctrl
[
UE_id
].
cqi_req_timer
>
30
)
{
cqi_req
=
1
;
UE_list
->
UE_sched_ctrl
[
UE_id
].
cqi_req_timer
=
0
;
}
else
cqi_req
=
0
;
//power control
//compute the expected ULSCH RX power (for the stats)
...
...
@@ -918,7 +925,9 @@ void schedule_ulsch_rnti(module_id_t module_idP,
UE_list
->
eNB_UE_stats
[
CC_id
][
UE_id
].
target_rx_power
=
target_rx_power
;
UE_list
->
eNB_UE_stats
[
CC_id
][
UE_id
].
ulsch_mcs1
=
UE_template
->
pre_assigned_mcs_ul
;
mcs
=
cmin
(
UE_template
->
pre_assigned_mcs_ul
,
openair_daq_vars
.
target_ue_ul_mcs
);
// adjust, based on user-defined MCS
if
((
cqi_req
==
1
)
&&
(
mcs
==
20
))
{
mcs
=
19
;
}
if
(
UE_template
->
pre_allocated_rb_table_index_ul
>=
0
)
{
rb_table_index
=
UE_template
->
pre_allocated_rb_table_index_ul
;
}
else
{
...
...
targets/RT/USER/lte-softmodem.c
View file @
b37e234e
...
...
@@ -318,7 +318,7 @@ static LTE_DL_FRAME_PARMS *frame_parms[MAX_NUM_CCs];
int
multi_thread
=
1
;
uint32_t
target_dl_mcs
=
28
;
//maximum allowed mcs
uint32_t
target_ul_mcs
=
19
;
uint32_t
target_ul_mcs
=
20
;
uint32_t
timing_advance
=
0
;
uint8_t
exit_missed_slots
=
1
;
uint64_t
num_missed_slots
=
0
;
// counter for the number of missed slots
...
...
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