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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG-RAN
Commits
f23c1dff
Commit
f23c1dff
authored
Jul 03, 2024
by
Bartosz Podrygajlo
Committed by
Robert Schmidt
Aug 02, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct gNB received PHR to headroom calculation according to 38.133.
parent
c7c1cb2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
+6
-3
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
View file @
f23c1dff
...
@@ -313,10 +313,13 @@ static int nr_process_mac_pdu(instance_t module_idP,
...
@@ -313,10 +313,13 @@ static int nr_process_mac_pdu(instance_t module_idP,
int
PH
;
int
PH
;
const
int
PCMAX
=
phr
->
PCMAX
;
const
int
PCMAX
=
phr
->
PCMAX
;
/* 38.133 Table10.1.17.1-1 */
/* 38.133 Table10.1.17.1-1 */
if
(
phr
->
PH
<
55
)
if
(
phr
->
PH
<
55
)
{
PH
=
phr
->
PH
-
32
;
PH
=
phr
->
PH
-
32
;
else
}
else
if
(
phr
->
PH
<
63
)
{
PH
=
phr
->
PH
-
32
+
(
phr
->
PH
-
54
);
PH
=
28
+
(
phr
->
PH
-
55
)
*
2
;
}
else
{
PH
=
42
;
}
// in sched_ctrl we set normalized PH wrt MCS and PRBs
// in sched_ctrl we set normalized PH wrt MCS and PRBs
long
*
deltaMCS
=
ul_bwp
->
pusch_Config
?
ul_bwp
->
pusch_Config
->
pusch_PowerControl
->
deltaMCS
:
NULL
;
long
*
deltaMCS
=
ul_bwp
->
pusch_Config
?
ul_bwp
->
pusch_Config
->
pusch_PowerControl
->
deltaMCS
:
NULL
;
sched_ctrl
->
ph
=
PH
sched_ctrl
->
ph
=
PH
...
...
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