Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
openairinterface5G
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Merge Requests
15
Merge Requests
15
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
oai
openairinterface5G
Commits
3c22d7e2
Commit
3c22d7e2
authored
Jan 02, 2019
by
knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
error statistics for nr_pbchsim
parent
81c1e1b3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
5 deletions
+2
-5
openair1/PHY/CODING/nrPolar_tools/nr_polar_decoder.c
openair1/PHY/CODING/nrPolar_tools/nr_polar_decoder.c
+1
-1
openair1/PHY/INIT/nr_init_ue.c
openair1/PHY/INIT/nr_init_ue.c
+0
-2
openair1/PHY/NR_UE_TRANSPORT/nr_pbch.c
openair1/PHY/NR_UE_TRANSPORT/nr_pbch.c
+0
-1
openair1/SIMULATION/NR_PHY/pbchsim.c
openair1/SIMULATION/NR_PHY/pbchsim.c
+1
-1
No files found.
openair1/PHY/CODING/nrPolar_tools/nr_polar_decoder.c
View file @
3c22d7e2
...
...
@@ -1138,7 +1138,7 @@ uint32_t polar_decoder_int16(int16_t *input,
}
else
if
(
len
<=
64
)
{
Ar
=
(
B
[
0
]
>>
crclen
)
|
(
B
[
1
]
<<
(
64
-
crclen
));;
uint8_t
A64_flip
[
4
];
uint8_t
A64_flip
[
8
];
uint64_t
Aprime
=
(
uint32_t
)(
Ar
<<
(
64
-
len
));
A64_flip
[
0
]
=
((
uint8_t
*
)
&
Aprime
)[
7
];
A64_flip
[
1
]
=
((
uint8_t
*
)
&
Aprime
)[
6
];
...
...
openair1/PHY/INIT/nr_init_ue.c
View file @
3c22d7e2
...
...
@@ -985,8 +985,6 @@ void set_default_frame_parms_single(nfapi_nr_config_request_t *config, NR_DL_FRA
config
->
subframe_config
.
dl_cyclic_prefix_type
.
value
=
0
;
//NORMAL
config
->
rf_config
.
dl_carrier_bandwidth
.
value
=
106
;
config
->
rf_config
.
ul_carrier_bandwidth
.
value
=
106
;
config
->
rf_config
.
tx_antenna_ports
.
value
=
1
;
config
->
rf_config
.
rx_antenna_ports
.
value
=
1
;
config
->
sch_config
.
physical_cell_id
.
value
=
0
;
frame_parms
->
frame_type
=
FDD
;
...
...
openair1/PHY/NR_UE_TRANSPORT/nr_pbch.c
View file @
3c22d7e2
...
...
@@ -672,7 +672,6 @@ int nr_rx_pbch( PHY_VARS_NR_UE *ue,
decoderState
=
polar_decoder_int16
(
pbch_e_rx
,(
uint8_t
*
)
&
nr_ue_pbch_vars
->
pbch_a_prime
,
currentPtr
);
if
(
decoderState
>
0
)
return
(
decoderState
);
// printf("polar decoder output 0x%08x\n",nr_ue_pbch_vars->pbch_a_prime);
...
...
openair1/SIMULATION/NR_PHY/pbchsim.c
View file @
3c22d7e2
...
...
@@ -584,7 +584,7 @@ int main(int argc, char **argv)
n_errors_payload
++
;
}
if
(
ret
<
0
)
n_errors
++
;
if
(
ret
!=
0
)
n_errors
++
;
}
}
//noise trials
...
...
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