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
be9a3375
Commit
be9a3375
authored
Oct 12, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correctly format nr_ue_process_dci_dl_11()
parent
2f0c3163
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
91 additions
and
90 deletions
+91
-90
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
+91
-90
No files found.
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
View file @
be9a3375
...
...
@@ -1081,16 +1081,17 @@ static int nr_ue_process_dci_dl_11(module_id_t module_id,
// otherwise 3 bits as defined in Subclause 5.1.5 of [6, TS38.214]
dlsch_pdu
->
tci_state
=
dci
->
transmission_configuration_indication
.
val
;
}
/* SRS_REQUEST */
AssertFatal
(
dci
->
srs_request
.
nbits
==
2
,
"If SUL is supported in the cell, there is an additional bit in SRS request field
\n
"
);
if
(
dci
->
srs_request
.
val
>
0
)
if
(
dci
->
srs_request
.
val
>
0
)
nr_ue_aperiodic_srs_scheduling
(
mac
,
dci
->
srs_request
.
val
,
frame
,
slot
);
/* CBGTI */
dlsch_pdu
->
cbgti
=
dci
->
cbgti
.
val
;
/* CBGFI */
dlsch_pdu
->
codeBlockGroupFlushIndicator
=
dci
->
cbgfi
.
val
;
/* DMRS_SEQ_INI */
//
FIXME!!!
//
FIXME!!!
/* PDSCH_TO_HARQ_FEEDBACK_TIME_IND */
// according to TS 38.213 Table 9.2.3-1
...
...
@@ -1156,7 +1157,7 @@ static int nr_ue_process_dci_dl_11(module_id_t module_id,
dlsch_pdu
->
tbslbrm
=
nr_compute_tbslbrm
(
dlsch_pdu
->
mcs_table
,
bw_tbslbrm
,
nl_tbslbrm
);
/*PTRS configuration */
dlsch_pdu
->
pduBitmap
=
0
;
if
(
pdsch_Config
->
dmrs_DownlinkForPDSCH_MappingTypeA
->
choice
.
setup
->
phaseTrackingRS
!=
NULL
)
{
if
(
pdsch_Config
->
dmrs_DownlinkForPDSCH_MappingTypeA
->
choice
.
setup
->
phaseTrackingRS
!=
NULL
)
{
bool
valid_ptrs_setup
=
set_dl_ptrs_values
(
pdsch_Config
->
dmrs_DownlinkForPDSCH_MappingTypeA
->
choice
.
setup
->
phaseTrackingRS
->
choice
.
setup
,
dlsch_pdu
->
number_rbs
,
...
...
@@ -1168,7 +1169,7 @@ static int nr_ue_process_dci_dl_11(module_id_t module_id,
&
dlsch_pdu
->
nEpreRatioOfPDSCHToPTRS
,
&
dlsch_pdu
->
PTRSReOffset
,
dlsch_pdu
->
number_symbols
);
if
(
valid_ptrs_setup
==
true
)
{
if
(
valid_ptrs_setup
==
true
)
{
dlsch_pdu
->
pduBitmap
|=
0x1
;
LOG_D
(
MAC
,
"DL PTRS values: PTRS time den: %d, PTRS freq den: %d
\n
"
,
dlsch_pdu
->
PTRSTimeDensity
,
dlsch_pdu
->
PTRSFreqDensity
);
}
...
...
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