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
23529026
Commit
23529026
authored
Jun 03, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable warnings
parent
914c792d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
+1
-1
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
+2
-2
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
View file @
23529026
...
...
@@ -240,7 +240,7 @@ uint16_t get_pm_index(const gNB_MAC_INST *nrmac,
uint8_t
get_mcs_from_cqi
(
int
mcs_table
,
int
cqi_table
,
int
cqi_idx
)
{
if
(
cqi_idx
<=
0
)
{
LOG_
E
(
NR_MAC
,
"invalid cqi_idx %d, default to MCS 9
\n
"
,
cqi_idx
);
LOG_
D
(
NR_MAC
,
"invalid cqi_idx %d, default to MCS 9
\n
"
,
cqi_idx
);
return
9
;
}
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
View file @
23529026
...
...
@@ -536,7 +536,7 @@ static void tci_handling(NR_UE_info_t *UE, frame_t frame, slot_t slot)
int
rsrp_index
=
sched_ctrl
->
CSI_report
.
ssb_cri_report
.
RSRP
;
bool
valid
=
get_measured_rsrp
(
rsrp_index
,
&
strongest_ssb_rsrp
);
if
(
!
valid
)
{
LOG_
E
(
NR_MAC
,
"UE %04x: reported RSRP index %d invalid
\n
"
,
UE
->
rnti
,
rsrp_index
);
LOG_
D
(
NR_MAC
,
"UE %04x: reported RSRP index %d invalid
\n
"
,
UE
->
rnti
,
rsrp_index
);
return
;
}
ssb_rsrp
[
idx
*
nb_of_csi_ssb_report
]
=
strongest_ssb_rsrp
;
...
...
@@ -739,7 +739,7 @@ static void evaluate_rsrp_report(NR_UE_info_t *UE,
int
rsrp_index
=
sched_ctrl
->
CSI_report
.
ssb_cri_report
.
RSRP
;
bool
valid
=
get_measured_rsrp
(
rsrp_index
,
&
strongest_ssb_rsrp
);
if
(
!
valid
)
{
LOG_
E
(
NR_MAC
,
"UE %04x: reported RSRP index %d invalid
\n
"
,
UE
->
rnti
,
rsrp_index
);
LOG_
D
(
NR_MAC
,
"UE %04x: reported RSRP index %d invalid
\n
"
,
UE
->
rnti
,
rsrp_index
);
return
;
}
NR_mac_stats_t
*
stats
=
&
UE
->
mac_stats
;
...
...
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