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
5a5063bd
Commit
5a5063bd
authored
Sep 02, 2024
by
Laurent THOMAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleaner faster nr_pdcch_demapping_deinterleaving() inner loop
parent
ccdabb4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
24 deletions
+5
-24
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
+5
-24
No files found.
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
View file @
5a5063bd
...
...
@@ -170,35 +170,16 @@ static void nr_pdcch_demapping_deinterleaving(c16_t *llr,
}
int
rb_count
=
0
;
int
data_sc
=
9
;
// 9 sub-carriers with data per PRB
const
int
data_sc
=
9
;
// 9 sub-carriers with data per PRB
for
(
int
c_id
=
0
;
c_id
<
number_of_candidates
;
c_id
++
)
{
for
(
int
symbol_idx
=
start_symbol
;
symbol_idx
<
start_symbol
+
coreset_time_dur
;
symbol_idx
++
)
{
for
(
int
cce_count
=
0
;
cce_count
<
L
[
c_id
];
cce_count
++
)
{
for
(
int
k
=
0
;
k
<
NR_NB_REG_PER_CCE
/
reg_bundle_size_L
;
k
++
)
{
// loop over REG bundles
int
f
=
f_bundle_j_list_ord
[
c_id
][
k
+
NR_NB_REG_PER_CCE
*
cce_count
/
reg_bundle_size_L
];
for
(
int
rb
=
0
;
rb
<
B_rb
;
rb
++
)
{
// loop over the RBs of the bundle
c16_t
*
out
=
e_rx
+
data_sc
*
rb_count
;
c16_t
*
in
=
llr
+
(
uint16_t
)(
f
*
B_rb
+
rb
+
symbol_idx
*
coreset_nbr_rb
)
*
data_sc
;
for
(
int
i
=
0
;
i
<
data_sc
;
i
++
)
{
out
[
i
]
=
in
[
i
];
#ifdef NR_PDCCH_DCI_DEBUG
LOG_I
(
NR_PHY_DCI
,
"[candidate=%d,symbol_idx=%d,cce=%d,REG bundle=%d,PRB=%d] z[%d]=(%d,%d) <->
\t
llr[%d]=(%d,%d)
\n
"
,
c_id
,
symbol_idx
,
cce_count
,
k
,
f
*
B_rb
+
rb
,
(
index_z
+
i
),
out
->
r
,
out
->
i
,
index_llr
+
i
,
in
.
r
,
in
.
i
);
#endif
}
rb_count
++
;
}
c16_t
*
in
=
llr
+
(
f
*
B_rb
+
symbol_idx
*
coreset_nbr_rb
)
*
data_sc
;
// loop over the RBs of the bundle
memcpy
(
e_rx
+
data_sc
*
rb_count
,
in
,
B_rb
*
data_sc
*
sizeof
(
*
e_rx
));
rb_count
+=
B_rb
;
}
}
}
...
...
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