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
7df0f691
Commit
7df0f691
authored
Mar 06, 2020
by
cig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enabled NR UE PRACH scheduler
parent
4fb58b55
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
16 deletions
+22
-16
executables/nr-ue.c
executables/nr-ue.c
+4
-2
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
+11
-11
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.h
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.h
+7
-3
No files found.
executables/nr-ue.c
View file @
7df0f691
...
...
@@ -531,8 +531,10 @@ void UE_processing(void *arg) {
ul_indication
.
module_id
=
mod_id
;
ul_indication
.
gNB_index
=
gNB_id
;
ul_indication
.
cc_id
=
CC_id
;
ul_indication
.
frame
=
proc
->
frame_rx
;
ul_indication
.
slot
=
proc
->
nr_tti_rx
;
ul_indication
.
frame_rx
=
proc
->
frame_rx
;
ul_indication
.
slot_rx
=
proc
->
nr_tti_rx
;
ul_indication
.
frame_tx
=
proc
->
frame_tx
;
ul_indication
.
slot_tx
=
proc
->
nr_tti_tx
;
UE
->
if_inst
->
ul_indication
(
&
ul_indication
);
}
}
...
...
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
View file @
7df0f691
...
...
@@ -113,17 +113,17 @@ int nr_ue_ul_indication(nr_uplink_indication_t *ul_info){
mac
->
dl_config_request
.
number_pdus
=
0
;
// clean previous FAPI messages
ret
=
nr_ue_scheduler
(
ul_info
->
module_id
,
ul_info
->
gNB_index
,
ul_info
->
cc_id
,
ul_info
->
frame
,
ul_info
->
slot
,
ul_info
->
ssb_index
,
0
,
0
);
// TODO check tx/rx frame/slot is need for NR version
/*if (is_nr_UL_slot(mac->scc, ul_info->slot
))
nr_ue_prach_scheduler(module_id, ul_info->frame
, ul_info->slot);*/
// WIP TbD set tx frame/slot
ret
=
nr_ue_scheduler
(
ul_info
->
module_id
,
ul_info
->
gNB_index
,
ul_info
->
cc_id
,
ul_info
->
frame_rx
,
ul_info
->
slot_rx
,
ul_info
->
ssb_index
,
ul_info
->
frame_tx
,
ul_info
->
slot_tx
);
if
(
is_nr_UL_slot
(
mac
->
scc
,
ul_info
->
slot_tx
))
nr_ue_prach_scheduler
(
module_id
,
ul_info
->
frame
_tx
,
ul_info
->
slot_tx
);
switch
(
ret
){
case
UE_CONNECTION_OK
:
...
...
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.h
View file @
7df0f691
...
...
@@ -87,9 +87,13 @@ typedef struct {
/// component carrier id
int
cc_id
;
/// frame
frame_t
frame
;
/// slot
uint32_t
slot
;
frame_t
frame_rx
;
/// slot rx
uint32_t
slot_rx
;
/// frame tx
frame_t
frame_tx
;
/// slot tx
uint32_t
slot_tx
;
/// ssb_index, if ssb is not present in current TTI, thie value set to -1
int
ssb_index
;
/// dci reception indication structure
...
...
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