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
zzha zzha
OpenXG-RAN
Commits
30c401e0
Commit
30c401e0
authored
Aug 22, 2023
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removing mcs sanity checks
parent
e45855f4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
21 deletions
+0
-21
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
+0
-15
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
+0
-6
No files found.
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
View file @
30c401e0
...
...
@@ -679,11 +679,6 @@ int8_t nr_ue_process_dci(module_id_t module_id, int cc_id, uint8_t gNB_index, fr
dlsch_config_pdu_1_0
->
mcs_table
=
(
pdsch_config
)
?
((
pdsch_config
->
mcs_Table
)
?
(
*
pdsch_config
->
mcs_Table
+
1
)
:
0
)
:
0
;
/* MCS */
dlsch_config_pdu_1_0
->
mcs
=
dci
->
mcs
;
// Basic sanity check for MCS value to check for a false or erroneous DCI
if
(
dlsch_config_pdu_1_0
->
mcs
>
28
)
{
LOG_W
(
MAC
,
"[%d.%d] MCS value %d out of bounds! Possibly due to false DCI. Ignoring DCI!
\n
"
,
frame
,
slot
,
dlsch_config_pdu_1_0
->
mcs
);
return
-
1
;
}
dlsch_config_pdu_1_0
->
qamModOrder
=
nr_get_Qm_dl
(
dlsch_config_pdu_1_0
->
mcs
,
dlsch_config_pdu_1_0
->
mcs_table
);
int
R
=
nr_get_code_rate_dl
(
dlsch_config_pdu_1_0
->
mcs
,
dlsch_config_pdu_1_0
->
mcs_table
);
...
...
@@ -904,22 +899,12 @@ int8_t nr_ue_process_dci(module_id_t module_id, int cc_id, uint8_t gNB_index, fr
dlsch_config_pdu_1_1
->
zp_csi_rs_trigger
=
dci
->
zp_csi_rs_trigger
.
val
;
/* MCS (for transport block 1)*/
dlsch_config_pdu_1_1
->
mcs
=
dci
->
mcs
;
// Basic sanity check for MCS value to check for a false or erroneous DCI
if
(
dlsch_config_pdu_1_1
->
mcs
>
28
)
{
LOG_W
(
MAC
,
"[%d.%d] MCS value %d out of bounds! Possibly due to false DCI. Ignoring DCI!
\n
"
,
frame
,
slot
,
dlsch_config_pdu_1_1
->
mcs
);
return
-
1
;
}
/* NDI (for transport block 1)*/
dlsch_config_pdu_1_1
->
ndi
=
dci
->
ndi
;
/* RV (for transport block 1)*/
dlsch_config_pdu_1_1
->
rv
=
dci
->
rv
;
/* MCS (for transport block 2)*/
dlsch_config_pdu_1_1
->
tb2_mcs
=
dci
->
mcs2
.
val
;
// Basic sanity check for MCS value to check for a false or erroneous DCI
if
(
dlsch_config_pdu_1_1
->
tb2_mcs
>
28
)
{
LOG_W
(
MAC
,
"[%d.%d] MCS value %d out of bounds! Possibly due to false DCI. Ignoring DCI!
\n
"
,
frame
,
slot
,
dlsch_config_pdu_1_1
->
tb2_mcs
);
return
-
1
;
}
/* NDI (for transport block 2)*/
dlsch_config_pdu_1_1
->
tb2_ndi
=
dci
->
ndi2
.
val
;
/* RV (for transport block 2)*/
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
View file @
30c401e0
...
...
@@ -533,12 +533,6 @@ int nr_config_pusch_pdu(NR_UE_MAC_INST_t *mac,
pusch_config_pdu
->
bwp_start
=
current_UL_BWP
->
BWPStart
;
pusch_config_pdu
->
bwp_size
=
current_UL_BWP
->
BWPSize
;
// Basic sanity check for MCS value to check for a false or erroneous DCI
if
(
dci
->
mcs
>
28
)
{
LOG_W
(
NR_MAC
,
"MCS value %d out of bounds! Possibly due to false DCI. Ignoring DCI!
\n
"
,
dci
->
mcs
);
return
-
1
;
}
/* Transform precoding */
pusch_config_pdu
->
transform_precoding
=
get_transformPrecoding
(
current_UL_BWP
,
*
dci_format
,
0
);
...
...
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