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
lizhongxiao
OpenXG-RAN
Commits
0532b39c
Commit
0532b39c
authored
Sep 27, 2023
by
Marwan Hammouda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doppler compensation at Iniaitl sync only when doppler compensation enabled
parent
f373a427
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
openair1/PHY/NR_UE_TRANSPORT/nr_initial_sync.c
openair1/PHY/NR_UE_TRANSPORT/nr_initial_sync.c
+6
-2
No files found.
openair1/PHY/NR_UE_TRANSPORT/nr_initial_sync.c
View file @
0532b39c
...
...
@@ -199,6 +199,7 @@ int nr_pbch_detection(UE_nr_rxtx_proc_t * proc, PHY_VARS_NR_UE *ue, int pbch_ini
}
extern
int
commonDoppler
;
extern
int
fdopplerComp
;
int
nr_initial_sync
(
UE_nr_rxtx_proc_t
*
proc
,
PHY_VARS_NR_UE
*
ue
,
int
n_frames
,
int
sa
)
...
...
@@ -242,8 +243,11 @@ int nr_initial_sync(UE_nr_rxtx_proc_t *proc,
// initial sync performed on two successive frames, if pbch passes on first frame, no need to process second frame
// only one frame is used for symulation tools
for
(
frame_id
=
0
;
frame_id
<
n_frames
;
frame_id
++
)
{
nr_apply_Doppler
(
&
ue
->
common_vars
.
rxdata
[
0
][
frame_id
*
fp
->
samples_per_frame
],
fp
->
samples_per_frame
,
-
commonDoppler
,
&
SampIdxUERxInitSync
,
fp
);
if
(
fdopplerComp
==
1
)
{
nr_apply_Doppler
(
&
ue
->
common_vars
.
rxdata
[
0
][
frame_id
*
fp
->
samples_per_frame
],
fp
->
samples_per_frame
,
-
commonDoppler
,
&
SampIdxUERxInitSync
,
fp
);
}
/* process pss search on received buffer */
sync_pos
=
pss_synchro_nr
(
ue
,
frame_id
,
NO_RATE_CHANGE
);
if
(
sync_pos
<
fp
->
nb_prefix_samples
)
...
...
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