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
wangjie
OpenXG-RAN
Commits
96481468
Commit
96481468
authored
Dec 20, 2018
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing
parent
0334a2a9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
openair1/PHY/CODING/nrPolar_tools/nr_polar_decoder.c
openair1/PHY/CODING/nrPolar_tools/nr_polar_decoder.c
+1
-1
openair1/PHY/CODING/nr_polar_init.c
openair1/PHY/CODING/nr_polar_init.c
+1
-1
openair1/PHY/NR_TRANSPORT/nr_pbch.c
openair1/PHY/NR_TRANSPORT/nr_pbch.c
+1
-1
openair1/PHY/NR_UE_TRANSPORT/nr_pbch.c
openair1/PHY/NR_UE_TRANSPORT/nr_pbch.c
+1
-1
No files found.
openair1/PHY/CODING/nrPolar_tools/nr_polar_decoder.c
View file @
96481468
...
@@ -1151,7 +1151,7 @@ uint32_t polar_decoder_int16(int16_t *input,
...
@@ -1151,7 +1151,7 @@ uint32_t polar_decoder_int16(int16_t *input,
crc
=
(
uint64_t
)(
crc24c
(
A64_flip
,
len
)
>>
8
);
crc
=
(
uint64_t
)(
crc24c
(
A64_flip
,
len
)
>>
8
);
}
}
#if
0
#if
1
printf
(
"A %llx B %llx|%llx Cprime %llx|%llx (crc %x,rxcrc %llx %d)
\n
"
,
printf
(
"A %llx B %llx|%llx Cprime %llx|%llx (crc %x,rxcrc %llx %d)
\n
"
,
Ar
,
Ar
,
B
[
1
],
B
[
0
],
Cprime
[
1
],
Cprime
[
0
],
crc
,
B
[
1
],
B
[
0
],
Cprime
[
1
],
Cprime
[
0
],
crc
,
...
...
openair1/PHY/CODING/nr_polar_init.c
View file @
96481468
...
@@ -56,7 +56,7 @@ void nr_polar_init(t_nrPolar_paramsPtr *polarParams,
...
@@ -56,7 +56,7 @@ void nr_polar_init(t_nrPolar_paramsPtr *polarParams,
else
currentPtr
=
currentPtr
->
nextPtr
;
else
currentPtr
=
currentPtr
->
nextPtr
;
}
}
printf
(
"currentPtr %p (polarParams %p)
\n
"
,
currentPtr
,
polarParams
);
//
printf("currentPtr %p (polarParams %p)\n",currentPtr,polarParams);
//Else, initialize and add node to the end of the linked list.
//Else, initialize and add node to the end of the linked list.
t_nrPolar_paramsPtr
newPolarInitNode
=
malloc
(
sizeof
(
t_nrPolar_params
));
t_nrPolar_paramsPtr
newPolarInitNode
=
malloc
(
sizeof
(
t_nrPolar_params
));
...
...
openair1/PHY/NR_TRANSPORT/nr_pbch.c
View file @
96481468
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
#include "PHY/sse_intrin.h"
#include "PHY/sse_intrin.h"
//#define DEBUG_PBCH
//#define DEBUG_PBCH
//
#define DEBUG_PBCH_ENCODING
#define DEBUG_PBCH_ENCODING
//#define DEBUG_PBCH_DMRS
//#define DEBUG_PBCH_DMRS
#include "PHY/NR_REFSIG/nr_mod_table.h"
#include "PHY/NR_REFSIG/nr_mod_table.h"
...
...
openair1/PHY/NR_UE_TRANSPORT/nr_pbch.c
View file @
96481468
...
@@ -675,7 +675,7 @@ int nr_rx_pbch( PHY_VARS_NR_UE *ue,
...
@@ -675,7 +675,7 @@ int nr_rx_pbch( PHY_VARS_NR_UE *ue,
if
(
decoderState
>
0
)
return
(
decoderState
);
if
(
decoderState
>
0
)
return
(
decoderState
);
//
printf("polar decoder output 0x%08x\n",nr_ue_pbch_vars->pbch_a_prime);
printf
(
"polar decoder output 0x%08x
\n
"
,
nr_ue_pbch_vars
->
pbch_a_prime
);
//payload un-scrambling
//payload un-scrambling
memset
(
&
nr_ue_pbch_vars
->
pbch_a_interleaved
,
0
,
sizeof
(
uint32_t
)
);
memset
(
&
nr_ue_pbch_vars
->
pbch_a_interleaved
,
0
,
sizeof
(
uint32_t
)
);
...
...
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