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
spbro
OpenXG-RAN
Commits
1e473112
Commit
1e473112
authored
May 27, 2024
by
Thomas Schlichter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NR UE: use sr_ProhibitTimer_v1700 if present
parent
75efcf49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
openair2/LAYER2/NR_MAC_UE/config_ue.c
openair2/LAYER2/NR_MAC_UE/config_ue.c
+11
-0
No files found.
openair2/LAYER2/NR_MAC_UE/config_ue.c
View file @
1e473112
...
...
@@ -1820,6 +1820,17 @@ static void configure_maccellgroup(NR_UE_MAC_INST_t *mac, const NR_MAC_CellGroup
int
target_ms
=
0
;
if
(
sr
->
sr_ProhibitTimer
)
target_ms
=
1
<<
*
sr
->
sr_ProhibitTimer
;
if
(
mcg
->
ext4
&&
mcg
->
ext4
->
schedulingRequestConfig_v1700
)
{
const
NR_SchedulingRequestConfig_v1700_t
*
src_v1700
=
mcg
->
ext4
->
schedulingRequestConfig_v1700
;
if
(
src_v1700
->
schedulingRequestToAddModListExt_v1700
)
{
if
(
i
<
src_v1700
->
schedulingRequestToAddModListExt_v1700
->
list
.
count
)
{
const
NR_SchedulingRequestToAddModExt_v1700_t
*
sr_v1700
=
src_v1700
->
schedulingRequestToAddModListExt_v1700
->
list
.
array
[
i
];
if
(
sr_v1700
->
sr_ProhibitTimer_v1700
)
{
target_ms
=
192
+
64
*
*
sr_v1700
->
sr_ProhibitTimer_v1700
;
}
}
}
}
// length of slot is (1/2^scs)ms
nr_timer_setup
(
&
sr_info
->
prohibitTimer
,
target_ms
<<
scs
,
1
);
// 1 slot update rate
}
...
...
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