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
常顺宇
OpenXG-RAN
Commits
27ef071b
Commit
27ef071b
authored
Apr 12, 2019
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
polartest changes for DCI parameters
parent
1ca00e40
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
openair1/PHY/CODING/TESTBENCH/polartest.c
openair1/PHY/CODING/TESTBENCH/polartest.c
+4
-0
openair1/PHY/CODING/nrPolar_tools/nr_polar_procedures.c
openair1/PHY/CODING/nrPolar_tools/nr_polar_procedures.c
+1
-1
No files found.
openair1/PHY/CODING/TESTBENCH/polartest.c
View file @
27ef071b
...
@@ -142,6 +142,10 @@ int main(int argc, char *argv[]) {
...
@@ -142,6 +142,10 @@ int main(int argc, char *argv[]) {
if
(
polarMessageType
==
0
)
{
//PBCH
if
(
polarMessageType
==
0
)
{
//PBCH
}
else
if
(
polarMessageType
==
1
)
{
//DCI
}
else
if
(
polarMessageType
==
1
)
{
//DCI
if
(
aggregation_level
!=
16
&&
aggregation_level
!=
8
&&
aggregation_level
!=
4
&&
aggregation_level
!=
2
&&
aggregation_level
!=
1
)
{
printf
(
"Illegal aggregation level %d
\n
"
,
aggregation_level
);
exit
(
-
1
);
}
coderLength
=
108
*
aggregation_level
;
coderLength
=
108
*
aggregation_level
;
}
else
if
(
polarMessageType
==
-
1
)
{
//UCI
}
else
if
(
polarMessageType
==
-
1
)
{
//UCI
printf
(
"UCI testing not supported yet
\n
"
);
printf
(
"UCI testing not supported yet
\n
"
);
...
...
openair1/PHY/CODING/nrPolar_tools/nr_polar_procedures.c
View file @
27ef071b
...
@@ -88,7 +88,7 @@ uint32_t nr_polar_output_length(uint16_t K,
...
@@ -88,7 +88,7 @@ uint32_t nr_polar_output_length(uint16_t K,
if
(
n
>
n_2
)
n
=
n_2
;
if
(
n
>
n_2
)
n
=
n_2
;
if
(
n
<
n_min
)
n
=
n_min
;
if
(
n
<
n_min
)
n
=
n_min
;
/*
printf("nr_polar_output_length: K %d, E %d, n %d (n_max %d,n_min %d, n_1 %d,n_2 %d)\n",
/*printf("nr_polar_output_length: K %d, E %d, n %d (n_max %d,n_min %d, n_1 %d,n_2 %d)\n",
K,E,n,n_max,n_min,n_1,n_2);
K,E,n,n_max,n_min,n_1,n_2);
exit(-1);*/
exit(-1);*/
return
((
uint32_t
)
pow
(
2
.
0
,
n
));
//=polar_code_output_length
return
((
uint32_t
)
pow
(
2
.
0
,
n
));
//=polar_code_output_length
...
...
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