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
Michael Black
OpenXG-RAN
Commits
845a5dc2
Commit
845a5dc2
authored
Aug 07, 2021
by
David Kim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added time window for handling rach indication.
parent
6b1651c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
+8
-1
No files found.
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
View file @
845a5dc2
...
@@ -73,7 +73,14 @@ void handle_nr_rach(NR_UL_IND_t *UL_info)
...
@@ -73,7 +73,14 @@ void handle_nr_rach(NR_UL_IND_t *UL_info)
UL_INFO
.
module_id
=
UL_info
->
module_id
;
UL_INFO
.
module_id
=
UL_info
->
module_id
;
UL_INFO
.
CC_id
=
UL_info
->
CC_id
;
UL_INFO
.
CC_id
=
UL_info
->
CC_id
;
if
(
UL_INFO
.
rach_ind
.
number_of_pdus
>
0
)
{
int
frame_diff
=
UL_info
->
frame
-
rach_ind
->
sfn
;
if
(
frame_diff
<
0
)
{
frame_diff
+=
1024
;
}
bool
in_timewindow
=
frame_diff
==
0
||
(
frame_diff
==
1
&&
UL_info
->
slot
<
7
);
if
(
UL_INFO
.
rach_ind
.
number_of_pdus
>
0
&&
in_timewindow
)
{
LOG_I
(
MAC
,
"UL_info[Frame %d, Slot %d] Calling initiate_ra_proc RACH:SFN/SLOT:%d/%d
\n
"
,
LOG_I
(
MAC
,
"UL_info[Frame %d, Slot %d] Calling initiate_ra_proc RACH:SFN/SLOT:%d/%d
\n
"
,
UL_info
->
frame
,
UL_info
->
slot
,
UL_INFO
.
rach_ind
.
sfn
,
UL_INFO
.
rach_ind
.
slot
);
UL_info
->
frame
,
UL_info
->
slot
,
UL_INFO
.
rach_ind
.
sfn
,
UL_INFO
.
rach_ind
.
slot
);
int
npdus
=
UL_INFO
.
rach_ind
.
number_of_pdus
;
int
npdus
=
UL_INFO
.
rach_ind
.
number_of_pdus
;
...
...
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