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
spbro
OpenXG-RAN
Commits
181e59db
Commit
181e59db
authored
Apr 10, 2020
by
Sakthivel Velumani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing bugs in 1_1 dci
parent
221e1526
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
+9
-7
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
+1
-1
No files found.
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
View file @
181e59db
...
@@ -667,8 +667,10 @@ uint16_t nr_dci_size(NR_CellGroupConfig_t *secondaryCellGroup,
...
@@ -667,8 +667,10 @@ uint16_t nr_dci_size(NR_CellGroupConfig_t *secondaryCellGroup,
dci_pdu
->
rate_matching_indicator
.
nbits
=
1
;
dci_pdu
->
rate_matching_indicator
.
nbits
=
1
;
size
+=
dci_pdu
->
rate_matching_indicator
.
nbits
;
size
+=
dci_pdu
->
rate_matching_indicator
.
nbits
;
// ZP CSI-RS trigger
// ZP CSI-RS trigger
uint8_t
nZP
=
pdsch_config
->
aperiodic_ZP_CSI_RS_ResourceSetsToAddModList
->
list
.
count
;
if
(
pdsch_config
->
aperiodic_ZP_CSI_RS_ResourceSetsToAddModList
!=
NULL
)
{
dci_pdu
->
zp_csi_rs_trigger
.
nbits
=
(
int
)
ceil
(
log2
(
nZP
+
1
));
uint8_t
nZP
=
pdsch_config
->
aperiodic_ZP_CSI_RS_ResourceSetsToAddModList
->
list
.
count
;
dci_pdu
->
zp_csi_rs_trigger
.
nbits
=
(
int
)
ceil
(
log2
(
nZP
+
1
));
}
size
+=
dci_pdu
->
zp_csi_rs_trigger
.
nbits
;
size
+=
dci_pdu
->
zp_csi_rs_trigger
.
nbits
;
// TB1- MCS 5, NDI 1, RV 2
// TB1- MCS 5, NDI 1, RV 2
size
+=
8
;
size
+=
8
;
...
@@ -716,11 +718,11 @@ uint16_t nr_dci_size(NR_CellGroupConfig_t *secondaryCellGroup,
...
@@ -716,11 +718,11 @@ uint16_t nr_dci_size(NR_CellGroupConfig_t *secondaryCellGroup,
uint8_t
maxCW
=
(
maxCWperDCI_rrc
==
NULL
)
?
1
:
*
maxCWperDCI_rrc
;
uint8_t
maxCW
=
(
maxCWperDCI_rrc
==
NULL
)
?
1
:
*
maxCWperDCI_rrc
;
dci_pdu
->
cbgti
.
nbits
=
maxCBGperTB
*
maxCW
;
dci_pdu
->
cbgti
.
nbits
=
maxCBGperTB
*
maxCW
;
size
+=
dci_pdu
->
cbgti
.
nbits
;
size
+=
dci_pdu
->
cbgti
.
nbits
;
}
// CBGFI
// CBGFI
if
(
secondaryCellGroup
->
spCellConfig
->
spCellConfigDedicated
->
pdsch_ServingCellConfig
->
choice
.
setup
->
codeBlockGroupTransmission
->
choice
.
setup
->
codeBlockGroupFlushIndicator
)
{
if
(
secondaryCellGroup
->
spCellConfig
->
spCellConfigDedicated
->
pdsch_ServingCellConfig
->
choice
.
setup
->
codeBlockGroupTransmission
->
choice
.
setup
->
codeBlockGroupFlushIndicator
)
{
dci_pdu
->
cbgfi
.
nbits
=
1
;
dci_pdu
->
cbgfi
.
nbits
=
1
;
size
+=
dci_pdu
->
cbgfi
.
nbits
;
size
+=
dci_pdu
->
cbgfi
.
nbits
;
}
}
}
// DMRS sequence init
// DMRS sequence init
size
+=
1
;
size
+=
1
;
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
View file @
181e59db
...
@@ -403,7 +403,7 @@ int configure_fapi_dl_pdu(int Mod_idP,
...
@@ -403,7 +403,7 @@ int configure_fapi_dl_pdu(int Mod_idP,
int
dci_formats
[
2
];
int
dci_formats
[
2
];
int
rnti_types
[
2
];
int
rnti_types
[
2
];
dci_formats
[
0
]
=
NR_DL_DCI_FORMAT_1_
0
;
dci_formats
[
0
]
=
NR_DL_DCI_FORMAT_1_
1
;
rnti_types
[
0
]
=
NR_RNTI_C
;
rnti_types
[
0
]
=
NR_RNTI_C
;
fill_dci_pdu_rel15
(
secondaryCellGroup
,
pdcch_pdu_rel15
,
dci_pdu_rel15
,
dci_formats
,
rnti_types
,
bwp_id
);
fill_dci_pdu_rel15
(
secondaryCellGroup
,
pdcch_pdu_rel15
,
dci_pdu_rel15
,
dci_formats
,
rnti_types
,
bwp_id
);
...
...
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