Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
openairinterface-6g
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
OpenXG
openairinterface-6g
Commits
15441c74
Commit
15441c74
authored
Nov 14, 2025
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup: move slot_parameters to where they are used
parent
aa3f01b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
openair1/PHY/NR_TRANSPORT/nr_dlsch_coding.c
openair1/PHY/NR_TRANSPORT/nr_dlsch_coding.c
+9
-9
No files found.
openair1/PHY/NR_TRANSPORT/nr_dlsch_coding.c
View file @
15441c74
...
...
@@ -122,15 +122,6 @@ int nr_dlsch_encoding(PHY_VARS_gNB *gNB,
nrLDPC_TB_encoding_parameters_t
TBs
[
n_dlsch
];
memset
(
TBs
,
0
,
sizeof
(
TBs
));
nrLDPC_slot_encoding_parameters_t
slot_parameters
=
{.
frame
=
frame
,
.
slot
=
slot
,
.
nb_TBs
=
n_dlsch
,
.
threadPool
=
&
gNB
->
threadPool
,
.
tinput
=
tinput
,
.
tprep
=
tprep
,
.
tparity
=
tparity
,
.
toutput
=
toutput
,
.
TBs
=
TBs
};
int
num_segments
=
0
;
...
...
@@ -280,6 +271,15 @@ int nr_dlsch_encoding(PHY_VARS_gNB *gNB,
dlsch_offset
+=
ceil_mod
(
dlsch_size
,
8
*
64
);
}
nrLDPC_slot_encoding_parameters_t
slot_parameters
=
{.
frame
=
frame
,
.
slot
=
slot
,
.
nb_TBs
=
n_dlsch
,
.
threadPool
=
&
gNB
->
threadPool
,
.
tinput
=
tinput
,
.
tprep
=
tprep
,
.
tparity
=
tparity
,
.
toutput
=
toutput
,
.
TBs
=
TBs
};
gNB
->
nrLDPC_coding_interface
.
nrLDPC_coding_encoder
(
&
slot_parameters
);
for
(
int
i
=
0
;
i
<
n_dlsch
;
i
++
)
{
...
...
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