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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
484db764
Commit
484db764
authored
Sep 22, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/NR_UE_DCI_config_fixes' into integration_2023_w38
parents
d8c8c6b1
f820d746
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
14 deletions
+15
-14
nfapi/open-nFAPI/nfapi/public_inc/fapi_nr_ue_interface.h
nfapi/open-nFAPI/nfapi/public_inc/fapi_nr_ue_interface.h
+1
-1
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
+1
-1
openair2/LAYER2/NR_MAC_UE/nr_ue_dci_configuration.c
openair2/LAYER2/NR_MAC_UE/nr_ue_dci_configuration.c
+4
-3
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
+9
-9
No files found.
nfapi/open-nFAPI/nfapi/public_inc/fapi_nr_ue_interface.h
View file @
484db764
...
...
@@ -425,7 +425,7 @@ typedef struct {
uint8_t
num_dci_options
;
// Num DCIs the UE actually needs to decode (1 or 2)
uint8_t
dci_length_options
[
2
];
uint8_t
dci_format_options
[
2
];
uint8_t
dci
_type_options
[
2
];
uint8_t
ss
_type_options
[
2
];
}
fapi_nr_dl_config_dci_dl_pdu_rel15_t
;
typedef
struct
{
...
...
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
View file @
484db764
...
...
@@ -878,7 +878,7 @@ uint8_t nr_dci_decoding_procedure(PHY_VARS_NR_UE *ue,
dci_ind
->
dci_list
[
dci_ind
->
number_of_dcis
].
n_CCE
=
CCEind
;
dci_ind
->
dci_list
[
dci_ind
->
number_of_dcis
].
N_CCE
=
L
;
dci_ind
->
dci_list
[
dci_ind
->
number_of_dcis
].
dci_format
=
rel15
->
dci_format_options
[
k
];
dci_ind
->
dci_list
[
dci_ind
->
number_of_dcis
].
ss_type
=
rel15
->
dci
_type_options
[
k
];
dci_ind
->
dci_list
[
dci_ind
->
number_of_dcis
].
ss_type
=
rel15
->
ss
_type_options
[
k
];
dci_ind
->
dci_list
[
dci_ind
->
number_of_dcis
].
coreset_type
=
rel15
->
coreset
.
CoreSetType
;
int
n_rb
,
rb_offset
;
get_coreset_rballoc
(
rel15
->
coreset
.
frequency_domain_resource
,
&
n_rb
,
&
rb_offset
);
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_dci_configuration.c
View file @
484db764
...
...
@@ -134,12 +134,13 @@ void config_dci_pdu(NR_UE_MAC_INST_t *mac,
rel15
->
coreset
.
precoder_granularity
=
coreset
->
precoderGranularity
;
// Scrambling RNTI
rel15
->
coreset
.
scrambling_rnti
=
0
;
if
(
coreset
->
pdcch_DMRS_ScramblingID
)
{
rel15
->
coreset
.
pdcch_dmrs_scrambling_id
=
*
coreset
->
pdcch_DMRS_ScramblingID
;
rel15
->
coreset
.
scrambling_rnti
=
mac
->
crnti
;
if
(
ss
->
searchSpaceType
->
present
==
NR_SearchSpace__searchSpaceType_PR_ue_Specific
)
rel15
->
coreset
.
scrambling_rnti
=
mac
->
crnti
;
}
else
{
rel15
->
coreset
.
pdcch_dmrs_scrambling_id
=
mac
->
physCellId
;
rel15
->
coreset
.
scrambling_rnti
=
0
;
}
rel15
->
num_dci_options
=
(
mac
->
ra
.
ra_state
==
WAIT_RAR
||
...
...
@@ -166,7 +167,7 @@ void config_dci_pdu(NR_UE_MAC_INST_t *mac,
// loop over RNTI type and configure resource allocation for DCI
for
(
int
i
=
0
;
i
<
rel15
->
num_dci_options
;
i
++
)
{
rel15
->
dci
_type_options
[
i
]
=
ss
->
searchSpaceType
->
present
;
rel15
->
ss
_type_options
[
i
]
=
ss
->
searchSpaceType
->
present
;
const
int
dci_format
=
rel15
->
dci_format_options
[
i
];
uint16_t
alt_size
=
0
;
if
(
current_DL_BWP
)
{
...
...
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
View file @
484db764
...
...
@@ -645,8 +645,8 @@ static void fill_dci_from_dl_config(nr_downlink_indication_t*dl_ind, fapi_nr_dl_
AssertFatal
(
dl_config
->
number_pdus
<
sizeof
(
dl_config
->
dl_config_list
)
/
sizeof
(
dl_config
->
dl_config_list
[
0
]),
"Too many dl_config pdus %d"
,
dl_config
->
number_pdus
);
for
(
int
i
=
0
;
i
<
dl_config
->
number_pdus
;
i
++
)
{
LOG_D
(
PHY
,
"
In %s: f
illing DCI with a total of %d total DL PDUs (dl_config %p)
\n
"
,
__FUNCTION__
,
dl_config
->
number_pdus
,
dl_config
);
LOG_D
(
PHY
,
"
F
illing DCI with a total of %d total DL PDUs (dl_config %p)
\n
"
,
dl_config
->
number_pdus
,
dl_config
);
fapi_nr_dl_config_dci_dl_pdu_rel15_t
*
rel15_dci
=
&
dl_config
->
dl_config_list
[
i
].
dci_config_pdu
.
dci_config_rel15
;
int
num_dci_options
=
rel15_dci
->
num_dci_options
;
if
(
num_dci_options
<=
0
)
...
...
@@ -662,14 +662,14 @@ static void fill_dci_from_dl_config(nr_downlink_indication_t*dl_ind, fapi_nr_dl_
"dl_config->number_pdus %d > dci_ind->dci_list array
\n
"
,
num_dcis
);
for
(
int
k
=
0
;
k
<
num_dcis
;
k
++
)
{
LOG_T
(
NR_PHY
,
"Received len %d, length options[%d] %d, format assigned %d, format options[%d] %d
\n
"
,
dl_ind
->
dci_ind
->
dci_list
[
k
].
payloadSize
,
j
,
rel15_dci
->
dci_length_options
[
j
],
dl_ind
->
dci_ind
->
dci_list
[
k
].
dci_format
,
j
,
rel15_dci
->
dci_format_options
[
j
]);
dl_ind
->
dci_ind
->
dci_list
[
k
].
payloadSize
,
j
,
rel15_dci
->
dci_length_options
[
j
],
dl_ind
->
dci_ind
->
dci_list
[
k
].
dci_format
,
j
,
rel15_dci
->
dci_format_options
[
j
]);
if
(
rel15_dci
->
dci_length_options
[
j
]
==
dl_ind
->
dci_ind
->
dci_list
[
k
].
payloadSize
)
{
dl_ind
->
dci_ind
->
dci_list
[
k
].
dci_format
=
rel15_dci
->
dci_format_options
[
j
];
dl_ind
->
dci_ind
->
dci_list
[
k
].
ss_type
=
rel15_dci
->
dci
_type_options
[
j
];
dl_ind
->
dci_ind
->
dci_list
[
k
].
coreset_type
=
rel15_dci
->
coreset
.
CoreSetType
;
LOG_D
(
NR_PHY
,
"format assigned dl_ind->dci_ind->dci_list[k].dci_format %d
\n
"
,
dl_ind
->
dci_ind
->
dci_list
[
k
].
dci_format
);
dl_ind
->
dci_ind
->
dci_list
[
k
].
dci_format
=
rel15_dci
->
dci_format_options
[
j
];
dl_ind
->
dci_ind
->
dci_list
[
k
].
ss_type
=
rel15_dci
->
ss
_type_options
[
j
];
dl_ind
->
dci_ind
->
dci_list
[
k
].
coreset_type
=
rel15_dci
->
coreset
.
CoreSetType
;
LOG_D
(
NR_PHY
,
"format assigned dl_ind->dci_ind->dci_list[k].dci_format %d
\n
"
,
dl_ind
->
dci_ind
->
dci_list
[
k
].
dci_format
);
}
}
}
...
...
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