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
e4370cc3
Commit
e4370cc3
authored
Jan 26, 2021
by
Khodr Saaifan
Committed by
Thomas Schlichter
Feb 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove printf in nr_zero_forcing receiver
parent
53046a92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
21 deletions
+20
-21
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
+20
-21
No files found.
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
View file @
e4370cc3
...
...
@@ -1082,13 +1082,12 @@ void nr_dlsch_channel_compensation(int **rxdataF_ext,
dl_ch128_2
+=
3
;
rho128
+=
3
;
}
if
(
first_symbol_flag
==
1
)
{
//measurements->rx_correlation[0][0][aarx] = signal_energy(&rho[aarx][symbol*nb_rb*12],rb*12);
avg_rho_re
[
aatx
][
aarx
]
=
16
*
avg_rho_re
[
aatx
][
aarx
]
/
(
nb_rb
*
12
);
avg_rho_im
[
aatx
][
aarx
]
=
16
*
avg_rho_im
[
aatx
][
aarx
]
/
(
nb_rb
*
12
);
printf
(
"rho_rx%d tx%d= Re: %d Im: %d
\n
"
,
aarx
,
aatx
,
avg_rho_re
[
aatx
][
aarx
],
avg_rho_im
[
aatx
][
aarx
]);
}
/*if (first_symbol_flag==1) {
//measurements->rx_correlation[0][0][aarx] = signal_energy(&rho[aarx][symbol*nb_rb*12],rb*12);
avg_rho_re[aatx][aarx] = 16*avg_rho_re[aatx][aarx]/(nb_rb*12);
avg_rho_im[aatx][aarx] = 16*avg_rho_im[aatx][aarx]/(nb_rb*12);
printf("rho_rx%d tx%d= Re: %d Im: %d\n",aarx, aatx, avg_rho_re[aatx][aarx], avg_rho_im[aatx][aarx]);
}*/
}
}
}
...
...
@@ -2352,12 +2351,12 @@ void nr_det_HhH(int32_t *after_mf_00,//a
//det_matrix_128[0] = _mm_packs_epi32(tmp_det0,tmp_det1);
det_fin_128
[
0
]
=
_mm_abs_epi32
(
det_re_128
);
if
((
rb
==
0
)
&&
(
symbol
==
1
))
{
/*
if ((rb==0)&&(symbol==1)) {
printf("\n Computing det_HhH_inv \n");
print_ints("det_re_128:",(int32_t*)&det_re_128);
//print_ints("det_im_128:",(int32_t*)&det_im_128);
print_ints("det_fin_128:",(int32_t*)&det_fin_128[0]);
}
}
*/
det_fin_128
+=
1
;
after_mf_00_128
+=
1
;
...
...
@@ -2533,14 +2532,14 @@ void nr_construct_HhH_elements(int *conjch00_ch00,
if
(
conjch21_ch20
!=
NULL
)
after_mf_10_128
[
0
]
=
_mm_adds_epi16
(
after_mf_10_128
[
0
],
conjch21_ch20_128
[
0
]);
if
(
conjch31_ch30
!=
NULL
)
after_mf_10_128
[
0
]
=
_mm_adds_epi16
(
after_mf_10_128
[
0
],
conjch31_ch30_128
[
0
]);
if
((
rb
==
0
)
&&
(
symbol
==
1
))
/*
if ((rb==0)&&(symbol==1))
{
printf
(
"
\n
construct_HhH_elements
\n
"
);
print_shorts
(
"after_mf_00_128:"
,(
int16_t
*
)
&
after_mf_00_128
[
0
]);
print_shorts
(
"after_mf_01_128:"
,(
int16_t
*
)
&
after_mf_01_128
[
0
]);
print_shorts
(
"after_mf_10_128:"
,(
int16_t
*
)
&
after_mf_10_128
[
0
]);
print_shorts
(
"after_mf_11_128:"
,(
int16_t
*
)
&
after_mf_11_128
[
0
]);
}
printf(" \n construct_HhH_elements \n");
print_shorts("after_mf_00_128:",(int16_t*)&after_mf_00_128[0]);
print_shorts("after_mf_01_128:",(int16_t*)&after_mf_01_128[0]);
print_shorts("after_mf_10_128:",(int16_t*)&after_mf_10_128[0]);
print_shorts("after_mf_11_128:",(int16_t*)&after_mf_11_128[0]);
}
*/
conjch00_ch00_128
+=
1
;
conjch10_ch10_128
+=
1
;
...
...
@@ -2896,11 +2895,11 @@ uint8_t nr_zero_forcing_rx_2layers(int **rxdataF_comp,
rxdataF_comp128_0
[
0
]
=
mmtmpD0
;
rxdataF_comp128_1
[
0
]
=
mmtmpD1
;
if
((
rb
==
0
)
&&
(
symbol
==
1
))
{
printf
(
"
\n
Rx signal after ZF
\n
"
);
print_shorts
(
"Rx layer 1:"
,(
int16_t
*
)
&
rxdataF_comp128_0
[
0
]);
print_shorts
(
"Rx layer 2:"
,(
int16_t
*
)
&
rxdataF_comp128_1
[
0
]);
}
/*
if ((rb==0)&&(symbol==1)) {
printf("\n Rx signal after ZF \n");
print_shorts("Rx layer 1:",(int16_t*)&rxdataF_comp128_0[0]);
print_shorts("Rx layer 2:",(int16_t*)&rxdataF_comp128_1[0]);
}
*/
determ_fin_128
+=
1
;
dl_ch_mag128_0
+=
1
;
...
...
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