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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
21140c0a
Commit
21140c0a
authored
Feb 02, 2023
by
Marwan Hammouda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[develop] Some debug logs added
parent
fea252a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
openair1/PHY/NR_UE_ESTIMATION/nr_adjust_synch_ue.c
openair1/PHY/NR_UE_ESTIMATION/nr_adjust_synch_ue.c
+2
-2
openair1/PHY/NR_UE_TRANSPORT/nr_pbch.c
openair1/PHY/NR_UE_TRANSPORT/nr_pbch.c
+2
-0
No files found.
openair1/PHY/NR_UE_ESTIMATION/nr_adjust_synch_ue.c
View file @
21140c0a
...
...
@@ -49,7 +49,7 @@ void nr_adjust_synch_ue(NR_DL_FRAME_PARMS *frame_parms,
static
int
first_time
=
1
;
int
max_val
=
0
,
max_pos
=
0
;
const
int
sync_pos
=
0
;
uint8_t
sync_offset
=
0
;
//
uint8_t sync_offset = 0;
static
int64_t
TO_I_Ctrl
=
0
;
//Integral controller for TO
int
I_ScalingF
=
10
;
//Scaling factor for the I controller, can be adjusted
...
...
@@ -104,7 +104,7 @@ void nr_adjust_synch_ue(NR_DL_FRAME_PARMS *frame_parms,
ue
->
rx_offset_slot
=
1
;
ue
->
rx_offset_comp
=
0
;
printf
(
"**
Frame: %u, ue->rx_offset: %d, ue->rx_offset_TO: %d
\n
"
,
frame
,
ue
->
rx_offset
,
ue
->
rx_offset_TO
);
LOG_D
(
PHY
,
"
Frame: %u, ue->rx_offset: %d, ue->rx_offset_TO: %d
\n
"
,
frame
,
ue
->
rx_offset
,
ue
->
rx_offset_TO
);
if
(
tdriftComp
==
0
)
{
...
...
openair1/PHY/NR_UE_TRANSPORT/nr_pbch.c
View file @
21140c0a
...
...
@@ -535,8 +535,10 @@ int nr_rx_pbch(PHY_VARS_NR_UE *ue,
#ifdef DEBUG_PBCH
double
rx_gain
=
openair0_cfg
[
0
].
rx_gain
[
0
];
double
rx_gain_offset
=
openair0_cfg
[
0
].
rx_gain_offset
[
0
];
double
DopplerEstMax
=
M_PI
/
(
2
*
M_PI
*
(
DMRS_idx_current
-
DMRS_idx_last
)
*
TOfdm
);
LOG_I
(
PHY
,
"**** DopplerEst: %f, ue->DopplerEst: %d, chLevel: %i, chLevelLog: %u, outShift: %u, re: %i, im: %i, phase: %f, rxG: %f, rxGOff: %f
\n
"
,
DopplerEst
,
ue
->
DopplerEst
,
channelLevel
,
channelLevelLog
,
outputShift
,
Res_cpx
.
r
,
Res_cpx
.
i
,
Res_phase
,
rx_gain
,
rx_gain_offset
);
LOG_I
(
PHY
,
"DopplerEstMax: %f
\n
"
,
DopplerEstMax
);
#endif
}
...
...
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