Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
07ad2470
Commit
07ad2470
authored
Aug 13, 2018
by
Robert Schmidt
Browse files
Remove warnings pre_processor_fairRR
parent
49b167d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
openair2/LAYER2/MAC/eNB_scheduler_fairRR.c
View file @
07ad2470
...
...
@@ -555,8 +555,6 @@ void dlsch_scheduler_pre_processor_fairRR (module_id_t Mod_id,
uint8_t
CC_id
;
UE_list_t
*
UE_list
=
&
RC
.
mac
[
Mod_id
]
->
UE_list
;
int
N_RB_DL
;
int
transmission_mode
=
0
;
UE_sched_ctrl
*
ue_sched_ctl
;
// int rrc_status = RRC_IDLE;
COMMON_channels_t
*
cc
;
...
...
@@ -591,14 +589,14 @@ void dlsch_scheduler_pre_processor_fairRR (module_id_t Mod_id,
dlsch_scheduler_pre_processor_reset
(
Mod_id
,
UE_id
,
CC_id
,
0
,
frameP
,
subframeP
,
N_RBG
[
CC_id
]
,
min_rb_unit
,
(
uint16_t
(
*
)[
NUMBER_OF_UE_MAX
])
nb_rbs_required
,
rballoc_sub
,
MIMO_mode_indicator
);
MIMO_mode_indicator
,
mbsfn_flag
);
}
}
...
...
@@ -622,7 +620,6 @@ void dlsch_scheduler_pre_processor_fairRR (module_id_t Mod_id,
average_rbs_per_user
[
CC_id
]
=
0
;
cc
=
&
RC
.
mac
[
Mod_id
]
->
common_channels
[
CC_id
];
// Get total available RBS count and total UE count
N_RB_DL
=
to_prb
(
cc
->
mib
->
message
.
dl_Bandwidth
);
temp_total_rbs_count
=
RC
.
mac
[
Mod_id
]
->
eNB_stats
[
CC_id
].
available_prbs
;
temp_total_ue_count
=
dlsch_ue_select
[
CC_id
].
ue_num
;
...
...
@@ -659,8 +656,6 @@ void dlsch_scheduler_pre_processor_fairRR (module_id_t Mod_id,
nb_rbs_required_remaining
[
CC_id
][
UE_id
]
=
cmin
(
average_rbs_per_user
[
CC_id
],
dlsch_ue_select
[
CC_id
].
list
[
i
].
nb_rb
);
}
transmission_mode
=
get_tmode
(
Mod_id
,
CC_id
,
UE_id
);
/* slicing support has been introduced into the scheduler. Provide dummy
* data so that the preprocessor "simply works" */
for
(
int
i
=
0
;
i
<
MAX_NUM_CCs
;
++
i
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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