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
lizhongxiao
OpenXG-RAN
Commits
e8b7dc84
Commit
e8b7dc84
authored
Nov 24, 2020
by
Shweta Shrivastava
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix error
parent
17b8ff50
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
+1
-1
No files found.
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
View file @
e8b7dc84
...
...
@@ -2918,7 +2918,7 @@ int8_t nr_ue_process_dci_freq_dom_resource_assignment(nfapi_nr_ue_pusch_pdu_t *p
pusch_config_pdu
->
rb_start
=
NRRIV2PRBOFFSET
(
riv
,
n_RB_ULBWP
);
// Sanity check in case a false or erroneous DCI is received
if
((
pusch_config_pdu
->
rb_size
)
||
(
pusch_config_pdu
->
rb_size
>
n_RB_ULBWP
-
pusch_config_pdu
->
rb_start
))
{
if
((
pusch_config_pdu
->
rb_size
<
1
)
||
(
pusch_config_pdu
->
rb_size
>
n_RB_ULBWP
-
pusch_config_pdu
->
rb_start
))
{
// DCI is invalid!
LOG_W
(
MAC
,
"Frequency domain assignment values are invalid! #RBs: %d, Start RB: %d, n_RB_ULBWP: %d
\n
"
,
pusch_config_pdu
->
rb_size
,
pusch_config_pdu
->
rb_start
,
n_RB_ULBWP
);
return
-
1
;
...
...
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