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
alex037yang
OpenXG-RAN
Commits
e3ba90b0
Commit
e3ba90b0
authored
Apr 28, 2020
by
cig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for polar and scrambling RNTI at UE
- including temporary hotfix for the polar rnti
parent
cdead069
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
12 deletions
+9
-12
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
+1
-4
openair2/LAYER2/NR_MAC_UE/nr_ue_dci_configuration.c
openair2/LAYER2/NR_MAC_UE/nr_ue_dci_configuration.c
+8
-8
No files found.
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
View file @
e3ba90b0
...
...
@@ -874,10 +874,7 @@ uint8_t nr_dci_decoding_procedure(PHY_VARS_NR_UE *ue,
1
,
currentPtrDCI
);
if
(
get_softmodem_params
()
->
do_ra
==
1
)
n_rnti
=
ue
->
prach_resources
[
gNB_id
]
->
ra_RNTI
;
else
n_rnti
=
rel15
->
rnti
;
n_rnti
=
rel15
->
rnti
;
if
(
crc
==
n_rnti
)
{
LOG_D
(
PHY
,
"Decoded crc %x matches rnti %x for DCI format %d
\n
"
,
crc
,
n_rnti
,
rel15
->
dci_format
);
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_dci_configuration.c
View file @
e3ba90b0
...
...
@@ -130,12 +130,6 @@ void ue_dci_configuration(NR_UE_MAC_INST_t *mac,fapi_nr_dl_config_request_t *dl_
}
if
(
mac
->
crnti
>
0
)
{
rel15
=
&
dl_config
->
dl_config_list
[
dl_config
->
number_pdus
].
dci_config_pdu
.
dci_config_rel15
;
if
(
get_softmodem_params
()
->
do_ra
==
1
)
rel15
->
rnti
=
0x00
;
else
// phy_test
rel15
->
rnti
=
mac
->
crnti
;
rel15
->
dci_format
=
NR_DL_DCI_FORMAT_1_0
;
if
(
slot
==
0
||
slot
==
1
){
...
...
@@ -180,14 +174,20 @@ void ue_dci_configuration(NR_UE_MAC_INST_t *mac,fapi_nr_dl_config_request_t *dl_
}
rel15
->
coreset
.
CoreSetType
=
1
;
rel15
->
coreset
.
precoder_granularity
=
mac
->
coreset
[
0
][
0
]
->
precoderGranularity
;
if
(
mac
->
coreset
[
0
][
0
]
->
pdcch_DMRS_ScramblingID
)
{
rel15
->
coreset
.
pdcch_dmrs_scrambling_id
=
*
mac
->
coreset
[
0
][
0
]
->
pdcch_DMRS_ScramblingID
;
rel15
->
coreset
.
scrambling_rnti
=
mac
->
t_crnti
;
}
else
{
}
else
{
rel15
->
coreset
.
pdcch_dmrs_scrambling_id
=
*
mac
->
scc
->
physCellId
;
rel15
->
coreset
.
scrambling_rnti
=
0
;
}
if
(
get_softmodem_params
()
->
do_ra
&&
slot
==
7
)
rel15
->
rnti
=
mac
->
ra_rnti
;
else
rel15
->
rnti
=
mac
->
crnti
;
fill_dci_search_candidates
(
mac
->
SSpace
[
0
][
0
][
ss_id
],
rel15
);
dl_config
->
dl_config_list
[
dl_config
->
number_pdus
].
pdu_type
=
FAPI_NR_DL_CONFIG_TYPE_DCI
;
dl_config
->
number_pdus
=
dl_config
->
number_pdus
+
1
;
...
...
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