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
c28732bc
Commit
c28732bc
authored
Apr 04, 2019
by
Francesco Mani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removing my trashed frames
parent
3d1c0094
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
openair1/PHY/defs_nr_UE.h
openair1/PHY/defs_nr_UE.h
+0
-2
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
+3
-6
No files found.
openair1/PHY/defs_nr_UE.h
View file @
c28732bc
...
...
@@ -913,8 +913,6 @@ typedef struct {
NR_DL_FRAME_PARMS
frame_parms_before_ho
;
NR_UE_COMMON
common_vars
;
int16_t
trashed_frames
;
nr_ue_if_module_t
*
if_inst
;
nr_downlink_indication_t
dl_indication
;
...
...
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
View file @
c28732bc
...
...
@@ -2835,7 +2835,6 @@ void nr_ue_pbch_procedures(uint8_t eNB_id,PHY_VARS_NR_UE *ue,UE_nr_rxtx_proc_t *
if
(
ret
==
0
)
{
ue
->
trashed_frames
=
0
;
ue
->
pbch_vars
[
eNB_id
]
->
pdu_errors_conseq
=
0
;
...
...
@@ -4314,7 +4313,7 @@ int phy_procedures_nrUE_RX(PHY_VARS_NR_UE *ue,UE_nr_rxtx_proc_t *proc,uint8_t eN
NR_UE_PDCCH
*
pdcch_vars
=
ue
->
pdcch_vars
[
ue
->
current_thread_id
[
nr_tti_rx
]][
0
];
uint16_t
nb_symb_sch
=
9
;
// to be updated by higher layer
uint8_t
nb_symb_pdcch
=
pdcch_vars
->
coreset
[
0
].
duration
;
uint8_t
ssb_periodicity
=
ue
->
ssb_periodicity
;
// initialized to 20ms in nr_init_ue and never changed for now
uint8_t
ssb_periodicity
=
10
;
//
ue->ssb_periodicity; // initialized to 20ms in nr_init_ue and never changed for now
uint8_t
ssb_frame_periodicity
;
uint8_t
dci_cnt
=
0
;
...
...
@@ -4465,12 +4464,10 @@ int phy_procedures_nrUE_RX(PHY_VARS_NR_UE *ue,UE_nr_rxtx_proc_t *proc,uint8_t eN
ssb_frame_periodicity
=
ssb_periodicity
/
10
;
// 10ms is the frame length
frame_rx
+=
ue
->
trashed_frames
;
int
ssb_slot
=
(
pbch_config
.
ssb_index
)
/
2
;
// looking for pbch only in frames according to ssb periodicity
if
((
ue
->
decode_MIB
==
1
)
&&
(
nr_tti_rx
==
ssb_slot
)
)
//&& !((frame_rx-(pbch_config.system_frame_number))%ssb_frame_periodicity))
// looking for pbch only in frames according to ssb periodicity and in slot where decoded ssb is found
if
((
ue
->
decode_MIB
==
1
)
&&
(
nr_tti_rx
==
ssb_slot
)
&&
!
((
frame_rx
-
(
pbch_config
.
system_frame_number
))
%
ssb_frame_periodicity
))
{
LOG_D
(
PHY
,
" ------ PBCH ChannelComp/LLR: frame.slot %d.%d ------
\n
"
,
frame_rx
%
1024
,
nr_tti_rx
);
...
...
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