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
ZhouShuya
OpenXG-RAN
Commits
eea30e72
Commit
eea30e72
authored
Dec 10, 2020
by
cig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved dl indication config code to fill_dl_indication function
parent
605f1e90
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
9 deletions
+14
-9
executables/nr-ue.c
executables/nr-ue.c
+14
-9
No files found.
executables/nr-ue.c
View file @
eea30e72
...
...
@@ -161,6 +161,19 @@ void init_nr_ue_vars(PHY_VARS_NR_UE *ue,
init_N_TA_offset
(
ue
);
}
void
fill_dl_indication
(
nr_downlink_indication_t
*
dl_ind
,
UE_nr_rxtx_proc_t
*
proc
,
PHY_VARS_NR_UE
*
UE
,
uint8_t
gNB_id
){
memset
((
void
*
)
dl_ind
,
0
,
sizeof
(
nr_downlink_indication_t
));
dl_ind
->
module_id
=
UE
->
Mod_id
;
dl_ind
->
gNB_index
=
gNB_id
;
dl_ind
->
cc_id
=
UE
->
CC_id
;
dl_ind
->
frame
=
proc
->
frame_rx
;
dl_ind
->
slot
=
proc
->
nr_slot_rx
;
dl_ind
->
thread_id
=
proc
->
thread_id
;
}
/*!
* It performs band scanning and synchonization.
* \param arg is a pointer to a \ref PHY_VARS_NR_UE structure.
...
...
@@ -394,15 +407,7 @@ void processSlotRX( PHY_VARS_NR_UE *UE, UE_nr_rxtx_proc_t *proc) {
if
(
UE
->
if_inst
!=
NULL
&&
UE
->
if_inst
->
dl_indication
!=
NULL
)
{
nr_downlink_indication_t
dl_indication
;
memset
((
void
*
)
&
dl_indication
,
0
,
sizeof
(
dl_indication
));
dl_indication
.
module_id
=
UE
->
Mod_id
;
dl_indication
.
gNB_index
=
gNB_id
;
dl_indication
.
cc_id
=
UE
->
CC_id
;
dl_indication
.
frame
=
proc
->
frame_rx
;
dl_indication
.
slot
=
proc
->
nr_slot_rx
;
dl_indication
.
thread_id
=
proc
->
thread_id
;
fill_dl_indication
(
&
dl_indication
,
proc
,
UE
,
gNB_id
);
UE
->
if_inst
->
dl_indication
(
&
dl_indication
,
NULL
);
}
...
...
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