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
spbro
OpenXG-RAN
Commits
621c3ce8
Commit
621c3ce8
authored
Sep 26, 2022
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix in nr_slot_fep_init_sync for SIB1
parent
b3e18641
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
7 deletions
+12
-7
openair1/PHY/MODULATION/modulation_UE.h
openair1/PHY/MODULATION/modulation_UE.h
+2
-1
openair1/PHY/MODULATION/slot_fep_nr.c
openair1/PHY/MODULATION/slot_fep_nr.c
+3
-2
openair1/PHY/NR_UE_TRANSPORT/nr_initial_sync.c
openair1/PHY/NR_UE_TRANSPORT/nr_initial_sync.c
+7
-3
openair2/LAYER2/NR_MAC_gNB/config.c
openair2/LAYER2/NR_MAC_gNB/config.c
+0
-1
No files found.
openair1/PHY/MODULATION/modulation_UE.h
View file @
621c3ce8
...
@@ -57,7 +57,8 @@ int nr_slot_fep_init_sync(PHY_VARS_NR_UE *ue,
...
@@ -57,7 +57,8 @@ int nr_slot_fep_init_sync(PHY_VARS_NR_UE *ue,
UE_nr_rxtx_proc_t
*
proc
,
UE_nr_rxtx_proc_t
*
proc
,
unsigned
char
symbol
,
unsigned
char
symbol
,
unsigned
char
Ns
,
unsigned
char
Ns
,
int
sample_offset
);
int
sample_offset
,
bool
pbch_decoded
);
int
slot_fep_mbsfn
(
PHY_VARS_UE
*
phy_vars_ue
,
int
slot_fep_mbsfn
(
PHY_VARS_UE
*
phy_vars_ue
,
unsigned
char
l
,
unsigned
char
l
,
...
...
openair1/PHY/MODULATION/slot_fep_nr.c
View file @
621c3ce8
...
@@ -150,7 +150,8 @@ int nr_slot_fep_init_sync(PHY_VARS_NR_UE *ue,
...
@@ -150,7 +150,8 @@ int nr_slot_fep_init_sync(PHY_VARS_NR_UE *ue,
UE_nr_rxtx_proc_t
*
proc
,
UE_nr_rxtx_proc_t
*
proc
,
unsigned
char
symbol
,
unsigned
char
symbol
,
unsigned
char
Ns
,
unsigned
char
Ns
,
int
sample_offset
)
int
sample_offset
,
bool
pbch_decoded
)
{
{
NR_DL_FRAME_PARMS
*
frame_parms
=
&
ue
->
frame_parms
;
NR_DL_FRAME_PARMS
*
frame_parms
=
&
ue
->
frame_parms
;
NR_UE_COMMON
*
common_vars
=
&
ue
->
common_vars
;
NR_UE_COMMON
*
common_vars
=
&
ue
->
common_vars
;
...
@@ -160,7 +161,7 @@ int nr_slot_fep_init_sync(PHY_VARS_NR_UE *ue,
...
@@ -160,7 +161,7 @@ int nr_slot_fep_init_sync(PHY_VARS_NR_UE *ue,
unsigned
int
nb_prefix_samples
;
unsigned
int
nb_prefix_samples
;
unsigned
int
nb_prefix_samples0
;
unsigned
int
nb_prefix_samples0
;
if
(
ue
->
is_synchroniz
ed
)
{
if
(
pbch_decod
ed
)
{
nb_prefix_samples
=
frame_parms
->
nb_prefix_samples
;
nb_prefix_samples
=
frame_parms
->
nb_prefix_samples
;
nb_prefix_samples0
=
frame_parms
->
nb_prefix_samples0
;
nb_prefix_samples0
=
frame_parms
->
nb_prefix_samples0
;
}
}
...
...
openair1/PHY/NR_UE_TRANSPORT/nr_initial_sync.c
View file @
621c3ce8
...
@@ -298,7 +298,8 @@ int nr_initial_sync(UE_nr_rxtx_proc_t *proc,
...
@@ -298,7 +298,8 @@ int nr_initial_sync(UE_nr_rxtx_proc_t *proc,
proc
,
proc
,
i
,
i
,
0
,
0
,
is
*
fp
->
samples_per_frame
+
ue
->
ssb_offset
);
is
*
fp
->
samples_per_frame
+
ue
->
ssb_offset
,
false
);
#ifdef DEBUG_INITIAL_SYNCH
#ifdef DEBUG_INITIAL_SYNCH
LOG_I
(
PHY
,
"Calling sss detection (normal CP)
\n
"
);
LOG_I
(
PHY
,
"Calling sss detection (normal CP)
\n
"
);
...
@@ -339,6 +340,7 @@ int nr_initial_sync(UE_nr_rxtx_proc_t *proc,
...
@@ -339,6 +340,7 @@ int nr_initial_sync(UE_nr_rxtx_proc_t *proc,
}
}
if
(
ret
==
0
)
{
if
(
ret
==
0
)
{
// sync at symbol ue->symbol_offset
// sync at symbol ue->symbol_offset
// computing the offset wrt the beginning of the frame
// computing the offset wrt the beginning of the frame
int
mu
=
fp
->
numerology_index
;
int
mu
=
fp
->
numerology_index
;
...
@@ -543,7 +545,8 @@ int nr_initial_sync(UE_nr_rxtx_proc_t *proc,
...
@@ -543,7 +545,8 @@ int nr_initial_sync(UE_nr_rxtx_proc_t *proc,
proc
,
proc
,
l
,
// the UE PHY has no notion of the symbols to be monitored in the search space
l
,
// the UE PHY has no notion of the symbols to be monitored in the search space
phy_pdcch_config
.
slot
,
phy_pdcch_config
.
slot
,
is
*
fp
->
samples_per_frame
+
phy_pdcch_config
.
sfn
*
fp
->
samples_per_frame
+
ue
->
rx_offset
);
is
*
fp
->
samples_per_frame
+
phy_pdcch_config
.
sfn
*
fp
->
samples_per_frame
+
ue
->
rx_offset
,
true
);
nr_pdcch_channel_estimation
(
ue
,
nr_pdcch_channel_estimation
(
ue
,
proc
,
proc
,
...
@@ -571,7 +574,8 @@ int nr_initial_sync(UE_nr_rxtx_proc_t *proc,
...
@@ -571,7 +574,8 @@ int nr_initial_sync(UE_nr_rxtx_proc_t *proc,
proc
,
proc
,
m
,
m
,
phy_pdcch_config
.
slot
,
// same slot and offset as pdcch
phy_pdcch_config
.
slot
,
// same slot and offset as pdcch
is
*
fp
->
samples_per_frame
+
phy_pdcch_config
.
sfn
*
fp
->
samples_per_frame
+
ue
->
rx_offset
);
is
*
fp
->
samples_per_frame
+
phy_pdcch_config
.
sfn
*
fp
->
samples_per_frame
+
ue
->
rx_offset
,
true
);
}
}
int
ret
=
nr_ue_pdsch_procedures
(
ue
,
int
ret
=
nr_ue_pdsch_procedures
(
ue
,
...
...
openair2/LAYER2/NR_MAC_gNB/config.c
View file @
621c3ce8
...
@@ -512,7 +512,6 @@ int rrc_mac_config_req_gNB(module_id_t Mod_idP,
...
@@ -512,7 +512,6 @@ int rrc_mac_config_req_gNB(module_id_t Mod_idP,
int
nr_dl_slots
=
n
;
int
nr_dl_slots
=
n
;
int
nr_ulstart_slot
=
0
;
int
nr_ulstart_slot
=
0
;
if
(
tdd
)
{
if
(
tdd
)
{
nr_ulstart_slot
=
tdd
->
nrofDownlinkSlots
+
(
tdd
->
nrofUplinkSymbols
==
0
);
nr_dl_slots
=
tdd
->
nrofDownlinkSlots
+
(
tdd
->
nrofDownlinkSymbols
!=
0
);
nr_dl_slots
=
tdd
->
nrofDownlinkSlots
+
(
tdd
->
nrofDownlinkSymbols
!=
0
);
nr_ulstart_slot
=
tdd
->
nrofDownlinkSlots
;
nr_ulstart_slot
=
tdd
->
nrofDownlinkSlots
;
nr_slots_period
/=
get_nb_periods_per_frame
(
tdd
->
dl_UL_TransmissionPeriodicity
);
nr_slots_period
/=
get_nb_periods_per_frame
(
tdd
->
dl_UL_TransmissionPeriodicity
);
...
...
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