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
Michael Black
OpenXG-RAN
Commits
9c4714fd
Commit
9c4714fd
authored
Feb 04, 2021
by
Thomas Schlichter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NR_UE: re-introduce mcs check for DCI format 0_0 and 0_1
parent
ea0d24b9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
+9
-1
No files found.
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
View file @
9c4714fd
...
...
@@ -574,6 +574,12 @@ int nr_config_pusch_pdu(NR_UE_MAC_INST_t *mac,
uint16_t
n_rb0
=
25
;
uint16_t
n_rb1
=
75
;
// Basic sanity check for MCS value to check for a false or erroneous DCI
if
(
dci
->
mcs
>
28
)
{
LOG_W
(
MAC
,
"MCS value %d out of bounds! Possibly due to false DCI. Ignoring DCI!
\n
"
,
dci
->
mcs
);
return
-
1
;
}
/* Transform precoding */
if
(
rnti_type
!=
NR_RNTI_CS
||
(
rnti_type
==
NR_RNTI_CS
&&
dci
->
ndi
==
1
))
{
pusch_config_pdu
->
transform_precoding
=
get_transformPrecoding
(
scc
,
pusch_Config
,
NULL
,
dci_format
,
rnti_type
,
0
);
...
...
@@ -587,8 +593,10 @@ int nr_config_pusch_pdu(NR_UE_MAC_INST_t *mac,
}
else
if
(
*
dci_format
==
NR_UL_DCI_FORMAT_0_1
)
{
/* BANDWIDTH_PART_IND */
if
(
dci
->
bwp_indicator
.
val
!=
1
)
if
(
dci
->
bwp_indicator
.
val
!=
1
)
{
LOG_W
(
MAC
,
"bwp_indicator != 1! Possibly due to false DCI. Ignoring DCI!
\n
"
);
return
-
1
;
}
config_bwp_ue
(
mac
,
&
dci
->
bwp_indicator
.
val
,
dci_format
);
target_ss
=
NR_SearchSpace__searchSpaceType_PR_ue_Specific
;
ul_layers_config
(
mac
,
pusch_config_pdu
,
dci
);
...
...
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