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
alex037yang
OpenXG-RAN
Commits
21b25fce
Commit
21b25fce
authored
Aug 18, 2020
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some heavy PRACH logs
parent
3e767fae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
openair1/PHY/NR_TRANSPORT/nr_prach.c
openair1/PHY/NR_TRANSPORT/nr_prach.c
+3
-3
No files found.
openair1/PHY/NR_TRANSPORT/nr_prach.c
View file @
21b25fce
...
@@ -707,7 +707,7 @@ void rx_nr_prach(PHY_VARS_gNB *gNB,
...
@@ -707,7 +707,7 @@ void rx_nr_prach(PHY_VARS_gNB *gNB,
Xu
=
(
int16_t
*
)
gNB
->
X_u
[
preamble_offset
-
first_nonzero_root_idx
];
Xu
=
(
int16_t
*
)
gNB
->
X_u
[
preamble_offset
-
first_nonzero_root_idx
];
LOG_
I
(
PHY
,
"PRACH RX new dft preamble_offset-first_nonzero_root_idx %d
\n
"
,
preamble_offset
-
first_nonzero_root_idx
);
LOG_
D
(
PHY
,
"PRACH RX new dft preamble_offset-first_nonzero_root_idx %d
\n
"
,
preamble_offset
-
first_nonzero_root_idx
);
memset
(
prach_ifft
,
0
,((
N_ZC
==
839
)
?
2048
:
256
)
*
sizeof
(
int32_t
));
memset
(
prach_ifft
,
0
,((
N_ZC
==
839
)
?
2048
:
256
)
*
sizeof
(
int32_t
));
...
@@ -790,7 +790,7 @@ void rx_nr_prach(PHY_VARS_gNB *gNB,
...
@@ -790,7 +790,7 @@ void rx_nr_prach(PHY_VARS_gNB *gNB,
else
*
TA
=
*
TA
/
2
;
else
*
TA
=
*
TA
/
2
;
//
if (LOG_DUMPFLAG(PRACH)) {
if
(
LOG_DUMPFLAG
(
PRACH
))
{
//int en = dB_fixed(signal_energy((int32_t*)&rxsigF[0][0],840));
//int en = dB_fixed(signal_energy((int32_t*)&rxsigF[0][0],840));
// if (en>60) {
// if (en>60) {
int
k
=
(
12
*
n_ra_prb
)
-
6
*
fp
->
N_RB_UL
;
int
k
=
(
12
*
n_ra_prb
)
-
6
*
fp
->
N_RB_UL
;
...
@@ -807,7 +807,7 @@ void rx_nr_prach(PHY_VARS_gNB *gNB,
...
@@ -807,7 +807,7 @@ void rx_nr_prach(PHY_VARS_gNB *gNB,
LOG_M
(
"Xu.m"
,
"xu"
,
Xu
,
N_ZC
,
1
,
1
);
LOG_M
(
"Xu.m"
,
"xu"
,
Xu
,
N_ZC
,
1
,
1
);
LOG_M
(
"prach_ifft0.m"
,
"prach_t0"
,
prach_ifft
,
1024
,
1
,
1
);
LOG_M
(
"prach_ifft0.m"
,
"prach_t0"
,
prach_ifft
,
1024
,
1
,
1
);
// }
// }
//
} /* LOG_DUMPFLAG(PRACH) */
}
/* LOG_DUMPFLAG(PRACH) */
stop_meas
(
&
gNB
->
rx_prach
);
stop_meas
(
&
gNB
->
rx_prach
);
}
}
...
...
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