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
常顺宇
OpenXG-RAN
Commits
753a664c
Commit
753a664c
authored
Sep 25, 2018
by
Rajeev Gangula
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrected PHR calculation.
parent
7d602d5c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+4
-1
No files found.
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
753a664c
...
...
@@ -298,7 +298,10 @@ rx_sdu(const module_id_t enb_mod_idP,
case
POWER_HEADROOM
:
if
(
UE_id
!=
-
1
)
{
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
phr_info
=
(
payload_ptr
[
0
]
&
0x3f
)
-
PHR_MAPPING_OFFSET
;
(
payload_ptr
[
0
]
&
0x3f
)
-
PHR_MAPPING_OFFSET
+
(
int8_t
)(
hundred_times_log10_NPRB
[
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
nb_rb_ul
[
harq_pid
]
-
1
]
/
100
);
if
(
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
phr_info
>
40
)
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
phr_info
=
40
;
LOG_D
(
MAC
,
"[eNB %d] CC_id %d MAC CE_LCID %d : Received PHR PH = %d (db)
\n
"
,
enb_mod_idP
,
CC_idP
,
rx_ces
[
i
],
...
...
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