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
0334a2a9
Commit
0334a2a9
authored
Dec 20, 2018
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing after merge with develop-nr. nr_pbchsim not functional
parent
a653258c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
openair1/PHY/CODING/nrPolar_tools/nr_polar_encoder.c
openair1/PHY/CODING/nrPolar_tools/nr_polar_encoder.c
+1
-1
openair1/PHY/CODING/nr_polar_init.c
openair1/PHY/CODING/nr_polar_init.c
+1
-1
openair1/PHY/NR_UE_TRANSPORT/nr_pbch.c
openair1/PHY/NR_UE_TRANSPORT/nr_pbch.c
+1
-2
No files found.
openair1/PHY/CODING/nrPolar_tools/nr_polar_encoder.c
View file @
0334a2a9
...
@@ -442,7 +442,7 @@ void polar_encoder_fast(uint64_t *A,
...
@@ -442,7 +442,7 @@ void polar_encoder_fast(uint64_t *A,
// b_{N'-1} b_{N'-2} ... b_{N'-A} b_{N'-A-1} ... b_{N'-A-Nparity} = a_{N-1} a_{N-2} ... a_{N-A} p_{N_parity-1} ... p_0
// b_{N'-1} b_{N'-2} ... b_{N'-A} b_{N'-A-1} ... b_{N'-A-Nparity} = a_{N-1} a_{N-2} ... a_{N-A} p_{N_parity-1} ... p_0
for
(
n
=
0
;
n
<
quadwlen
;
n
++
)
if
(
n
==
0
)
B
[
n
]
=
(
A
[
n
]
<<
polarParams
->
crcParityBits
)
|
tcrc
;
for
(
n
=
0
;
n
<
quadwlen
;
n
++
)
if
(
n
==
0
)
B
[
n
]
=
(
A
[
n
]
<<
polarParams
->
crcParityBits
)
|
tcrc
;
else
B
[
n
]
=
(
A
[
n
]
<<
polarParams
->
crcParityBits
)
|
(
A
[
n
-
1
]
>>
64
-
polarParams
->
crcParityBits
);
else
B
[
n
]
=
(
A
[
n
]
<<
polarParams
->
crcParityBits
)
|
(
A
[
n
-
1
]
>>
(
64
-
polarParams
->
crcParityBits
)
);
uint8_t
*
Bbyte
=
(
uint8_t
*
)
B
;
uint8_t
*
Bbyte
=
(
uint8_t
*
)
B
;
...
...
openair1/PHY/CODING/nr_polar_init.c
View file @
0334a2a9
...
@@ -51,7 +51,7 @@ void nr_polar_init(t_nrPolar_paramsPtr *polarParams,
...
@@ -51,7 +51,7 @@ void nr_polar_init(t_nrPolar_paramsPtr *polarParams,
//Parse the list. If the node is already created, return without initialization.
//Parse the list. If the node is already created, return without initialization.
while
(
currentPtr
!=
NULL
)
{
while
(
currentPtr
!=
NULL
)
{
printf
(
"currentPtr->idx %d, (%d,%d,%d)
\n
"
,
currentPtr
->
idx
,
messageType
,
messageLength
,
aggregation_prime
);
//
printf("currentPtr->idx %d, (%d,%d,%d)\n",currentPtr->idx,messageType,messageLength,aggregation_prime);
if
(
currentPtr
->
idx
==
(
messageType
*
messageLength
*
aggregation_prime
))
return
;
if
(
currentPtr
->
idx
==
(
messageType
*
messageLength
*
aggregation_prime
))
return
;
else
currentPtr
=
currentPtr
->
nextPtr
;
else
currentPtr
=
currentPtr
->
nextPtr
;
}
}
...
...
openair1/PHY/NR_UE_TRANSPORT/nr_pbch.c
View file @
0334a2a9
...
@@ -661,7 +661,6 @@ int nr_rx_pbch( PHY_VARS_NR_UE *ue,
...
@@ -661,7 +661,6 @@ int nr_rx_pbch( PHY_VARS_NR_UE *ue,
//polar decoding de-rate matching
//polar decoding de-rate matching
nr_ue_pbch_vars
->
nrPolar_params
=
NULL
;
nr_polar_init
(
&
nr_ue_pbch_vars
->
nrPolar_params
,
nr_polar_init
(
&
nr_ue_pbch_vars
->
nrPolar_params
,
NR_POLAR_PBCH_MESSAGE_TYPE
,
NR_POLAR_PBCH_MESSAGE_TYPE
,
NR_POLAR_PBCH_PAYLOAD_BITS
,
NR_POLAR_PBCH_PAYLOAD_BITS
,
...
...
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