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
ZhouShuya
OpenXG-RAN
Commits
9675f348
Commit
9675f348
authored
Sep 04, 2020
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CPPCHECK: few fixes
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
f7ad3f1e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
openair1/SCHED_NR/phy_procedures_nr_gNB.c
openair1/SCHED_NR/phy_procedures_nr_gNB.c
+1
-1
openair1/SIMULATION/NR_PHY/ulsim.c
openair1/SIMULATION/NR_PHY/ulsim.c
+1
-1
No files found.
openair1/SCHED_NR/phy_procedures_nr_gNB.c
View file @
9675f348
...
...
@@ -241,7 +241,7 @@ void nr_ulsch_procedures(PHY_VARS_gNB *gNB, int frame_rx, int slot_rx, int ULSCH
pusch_pdu
->
qam_mod_order
,
pusch_pdu
->
nrOfLayers
);
AssertFatal
(
G
>
0
,
"G is 0 : rb_size %
d, number_symbols %d, nb_re_dmrs %d, number_dmrs_symbols %d, qam_mod_order %d, nrOfLayer %d
\n
"
,
AssertFatal
(
G
>
0
,
"G is 0 : rb_size %
u, number_symbols %d, nb_re_dmrs %d, number_dmrs_symbols %d, qam_mod_order %u, nrOfLayer %u
\n
"
,
pusch_pdu
->
rb_size
,
number_symbols
,
nb_re_dmrs
,
...
...
openair1/SIMULATION/NR_PHY/ulsim.c
View file @
9675f348
...
...
@@ -1023,7 +1023,7 @@ int main(int argc, char **argv)
printf
(
"*****************************************
\n
"
);
printf
(
"SNR %f: n_errors (%d/%d,%d/%d,%d/%d,%d/%d) (negative CRC), false_positive %d/%d, errors_scrambling (%u/%u,%u/%u,%u/%u,%u/%u
\n
"
,
SNR
,
n_errors
[
0
],
round_trials
[
0
],
n_errors
[
1
],
round_trials
[
1
],
n_errors
[
2
],
round_trials
[
2
],
n_errors
[
3
],
round_trials
[
3
],
n_false_positive
,
n_trials
,
errors_scrambling
[
0
],
available_bits
*
n_trials
,
errors_scrambling
[
1
],
available_bits
*
n_trials
,
errors_scrambling
[
2
],
available_bits
*
n_trials
,
errors_scrambling
[
3
],
available_bits
*
n_trials
);
printf
(
"
\n
"
);
printf
(
"SNR %f: Channel BLER (%e,%e,%e,%e), Channel BER (%e,%e,%e,%e) Avg round %.2f, Eff Rate %.4f bits/slot, Eff Throughput %.2f, TBS %
d
bits/slot
\n
"
,
printf
(
"SNR %f: Channel BLER (%e,%e,%e,%e), Channel BER (%e,%e,%e,%e) Avg round %.2f, Eff Rate %.4f bits/slot, Eff Throughput %.2f, TBS %
u
bits/slot
\n
"
,
SNR
,
(
double
)
n_errors
[
0
]
/
round_trials
[
0
],
(
double
)
n_errors
[
1
]
/
round_trials
[
0
],
...
...
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