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
65bad0f5
Commit
65bad0f5
authored
Dec 11, 2020
by
heshanyun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix cppcheck warning
parent
8c9753ca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+4
-3
No files found.
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
65bad0f5
...
@@ -169,9 +169,10 @@ rx_sdu(const module_id_t enb_mod_idP,
...
@@ -169,9 +169,10 @@ rx_sdu(const module_id_t enb_mod_idP,
*/
*/
UE_scheduling_control
->
ta_update_f
=
((
double
)
UE_scheduling_control
->
ta_update_f
*
3
+
(
double
)
timing_advance
)
/
4
;
UE_scheduling_control
->
ta_update_f
=
((
double
)
UE_scheduling_control
->
ta_update_f
*
3
+
(
double
)
timing_advance
)
/
4
;
UE_scheduling_control
->
ta_update
=
(
int
)
UE_scheduling_control
->
ta_update_f
;
UE_scheduling_control
->
ta_update
=
(
int
)
UE_scheduling_control
->
ta_update_f
;
UE_scheduling_control
->
pusch_snr
[
CC_idP
]
=
(
5
*
ul_cqi
-
640
)
/
10
;
int
tmp_snr
=
(
5
*
ul_cqi
-
640
)
/
10
;
UE_scheduling_control
->
pusch_snr
[
CC_idP
]
=
tmp_snr
;
if
(
UE_scheduling_control
->
pusch_snr
[
CC_idP
]
>
0
||
UE_scheduling_control
->
pusch_snr
[
CC_idP
]
<
63
)
{
if
(
tmp_snr
>
0
&&
tmp_snr
<
63
)
{
double
snr_filter_tpc
=
0
.
7
;
double
snr_filter_tpc
=
0
.
7
;
int
snr_thres_tpc
=
30
;
int
snr_thres_tpc
=
30
;
int
diff
=
UE_scheduling_control
->
pusch_snr_avg
[
CC_idP
]
-
UE_scheduling_control
->
pusch_snr
[
CC_idP
];
int
diff
=
UE_scheduling_control
->
pusch_snr_avg
[
CC_idP
]
-
UE_scheduling_control
->
pusch_snr
[
CC_idP
];
...
...
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