Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
a7ca8bb5
Commit
a7ca8bb5
authored
Apr 06, 2021
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
call for pdcch procedure for sib1 in initial sync
parent
6dc35ec1
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
52 additions
and
15 deletions
+52
-15
openair1/PHY/NR_UE_TRANSPORT/nr_initial_sync.c
openair1/PHY/NR_UE_TRANSPORT/nr_initial_sync.c
+30
-3
openair1/PHY/defs_nr_UE.h
openair1/PHY/defs_nr_UE.h
+4
-0
openair1/SCHED_NR_UE/defs.h
openair1/SCHED_NR_UE/defs.h
+4
-0
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
+2
-0
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
+12
-12
No files found.
openair1/PHY/NR_UE_TRANSPORT/nr_initial_sync.c
View file @
a7ca8bb5
...
...
@@ -36,8 +36,7 @@
#include "PHY/MODULATION/modulation_UE.h"
#include "nr_transport_proto_ue.h"
#include "PHY/NR_UE_ESTIMATION/nr_estimation.h"
//#include "SCHED/defs.h"
//#include "SCHED/extern.h"
#include "SCHED_NR_UE/defs.h"
#include "common/utils/LOG/vcd_signal_dumper.h"
#include "common_lib.h"
...
...
@@ -46,6 +45,7 @@
#include "PHY/NR_REFSIG/pss_nr.h"
#include "PHY/NR_REFSIG/sss_nr.h"
#include "PHY/NR_REFSIG/refsig_defs_ue.h"
#include "PHY/NR_TRANSPORT/nr_dci.h"
extern
openair0_config_t
openair0_cfg
[];
//static nfapi_nr_config_request_t config_t;
...
...
@@ -478,9 +478,36 @@ int nr_initial_sync(UE_nr_rxtx_proc_t *proc, PHY_VARS_NR_UE *ue, int n_frames, i
#endif
}
// if stand alone and sync on ssb
// if stand alone and sync on ssb do sib1 detection as part of initial sync
if
(
sa
==
1
&&
ret
==
0
)
{
NR_UE_PDCCH
*
pdcch_vars
=
ue
->
pdcch_vars
[
proc
->
thread_id
][
0
];
uint8_t
nb_symb_pdcch
=
pdcch_vars
->
nb_search_space
>
0
?
pdcch_vars
->
pdcch_config
[
0
].
coreset
.
duration
:
0
;
int
coreset_nb_rb
=
0
;
int
coreset_start_rb
=
0
;
if
(
pdcch_vars
->
nb_search_space
>
0
)
get_coreset_rballoc
(
pdcch_vars
->
pdcch_config
[
0
].
coreset
.
frequency_domain_resource
,
&
coreset_nb_rb
,
&
coreset_start_rb
);
for
(
uint16_t
l
=
0
;
l
<
nb_symb_pdcch
;
l
++
)
{
nr_slot_fep_init_sync
(
ue
,
proc
,
l
,
// the UE PHY has no notion of the symbols to be monitored in the search space
pdcch_vars
->
slot
,
pdcch_vars
->
sfn
*
fp
->
samples_per_frame
+
ue
->
rx_offset
);
if
(
coreset_nb_rb
>
0
)
nr_pdcch_channel_estimation
(
ue
,
proc
,
0
,
pdcch_vars
->
slot
,
l
,
fp
->
first_carrier_offset
+
(
pdcch_vars
->
pdcch_config
[
0
].
BWPStart
+
coreset_start_rb
)
*
12
,
coreset_nb_rb
);
}
int
dci_cnt
=
nr_ue_pdcch_procedures
(
0
,
ue
,
proc
);
//gNB_id set to 0
}
// exit_fun("debug exit");
...
...
openair1/PHY/defs_nr_UE.h
View file @
a7ca8bb5
...
...
@@ -635,6 +635,9 @@ typedef struct {
uint8_t
agregationLevel
;
int
nb_search_space
;
fapi_nr_dl_config_dci_dl_pdu_rel15_t
pdcch_config
[
FAPI_NR_MAX_SS_PER_CORESET
];
// frame and slot for sib1 in initial sync
uint16_t
sfn
;
uint16_t
slot
;
/*
#ifdef NR_PDCCH_DEFS_NR_UE
int nb_searchSpaces;
...
...
@@ -845,6 +848,7 @@ typedef struct {
// Scrambling IDs used in PDSCH DMRS
uint16_t
scramblingID
[
2
];
/// PDCCH DMRS
uint32_t
***
nr_gold_pdcch
[
NUMBER_OF_CONNECTED_eNB_MAX
];
...
...
openair1/SCHED_NR_UE/defs.h
View file @
a7ca8bb5
...
...
@@ -416,6 +416,10 @@ void nr_fill_rx_indication(fapi_nr_rx_indication_t *rx_ind,
NR_UE_DLSCH_t
*
dlsch0
,
uint16_t
n_pdus
);
int
nr_ue_pdcch_procedures
(
uint8_t
gNB_id
,
PHY_VARS_NR_UE
*
ue
,
UE_nr_rxtx_proc_t
*
proc
);
#endif
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
View file @
a7ca8bb5
...
...
@@ -75,6 +75,8 @@ int8_t nr_ue_scheduled_response(nr_scheduled_response_t *scheduled_response){
fapi_nr_dl_config_dci_dl_pdu_rel15_t
*
pdcch_config
=
&
dl_config
->
dl_config_list
[
i
].
dci_config_pdu
.
dci_config_rel15
;
memcpy
((
void
*
)
&
pdcch_vars
->
pdcch_config
[
pdcch_vars
->
nb_search_space
],(
void
*
)
pdcch_config
,
sizeof
(
*
pdcch_config
));
pdcch_vars
->
nb_search_space
=
pdcch_vars
->
nb_search_space
+
1
;
pdcch_vars
->
sfn
=
scheduled_response
->
frame
;
pdcch_vars
->
slot
=
slot
;
LOG_D
(
PHY
,
"Number of DCI SearchSpaces %d
\n
"
,
pdcch_vars
->
nb_search_space
);
}
else
{
...
...
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
View file @
a7ca8bb5
...
...
@@ -1731,18 +1731,18 @@ int phy_procedures_nrUE_RX(PHY_VARS_NR_UE *ue,
dci_cnt
=
0
;
for
(
int
n_ss
=
0
;
n_ss
<
pdcch_vars
->
nb_search_space
;
n_ss
++
)
{
// note: this only works if RBs for PDCCH are contigous!
LOG_D
(
PHY
,
"pdcch_channel_estimation: first_carrier_offset %d, BWPStart %d, coreset_start_rb %d
\n
"
,
fp
->
first_carrier_offset
,
pdcch_vars
->
pdcch_config
[
n_ss
].
BWPStart
,
coreset_start_rb
);
if
(
coreset_nb_rb
>
0
)
nr_pdcch_channel_estimation
(
ue
,
proc
,
0
,
nr_slot_rx
,
l
,
fp
->
first_carrier_offset
+
(
pdcch_vars
->
pdcch_config
[
n_ss
].
BWPStart
+
coreset_start_rb
)
*
12
,
coreset_nb_rb
);
// note: this only works if RBs for PDCCH are contigous!
LOG_D
(
PHY
,
"pdcch_channel_estimation: first_carrier_offset %d, BWPStart %d, coreset_start_rb %d
\n
"
,
fp
->
first_carrier_offset
,
pdcch_vars
->
pdcch_config
[
n_ss
].
BWPStart
,
coreset_start_rb
);
if
(
coreset_nb_rb
>
0
)
nr_pdcch_channel_estimation
(
ue
,
proc
,
0
,
nr_slot_rx
,
l
,
fp
->
first_carrier_offset
+
(
pdcch_vars
->
pdcch_config
[
n_ss
].
BWPStart
+
coreset_start_rb
)
*
12
,
coreset_nb_rb
);
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_UE_SLOT_FEP
,
VCD_FUNCTION_OUT
);
#if UE_TIMING_TRACE
...
...
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