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
zzha zzha
OpenXG-RAN
Commits
398bdce1
Commit
398bdce1
authored
Dec 18, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reuse variable, remove error message, do not skip UE
parent
f2c11fc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
+4
-3
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
View file @
398bdce1
...
...
@@ -2904,16 +2904,17 @@ void nr_mac_update_timers(module_id_t module_id,
if
(
UE
->
ra_timer
>
0
)
{
UE
->
ra_timer
--
;
if
(
UE
->
ra_timer
==
0
)
{
LOG_W
(
NR_MAC
,
"Removing UE %04x because RA timer expired
\n
"
,
UE
->
rnti
);
const
rnti_t
rnti
=
UE
->
rnti
;
mac_remove_nr_ue
(
mac
,
UE
->
rnti
);
LOG_W
(
NR_MAC
,
"Removing UE %04x because RA timer expired
\n
"
,
rnti
);
mac_remove_nr_ue
(
mac
,
rnti
);
NR_COMMON_channels_t
*
cc
=
&
mac
->
common_channels
[
0
];
for
(
int
i
=
0
;
i
<
NR_NB_RA_PROC_MAX
;
i
++
)
{
if
(
cc
->
ra
[
i
].
rnti
==
rnti
)
{
LOG_E
(
NR_MAC
,
"free RA process %d for rnti %04x
\n
"
,
i
,
rnti
);
nr_clear_ra_proc
(
module_id
,
0
,
frame
,
&
cc
->
ra
[
i
]);
}
}
// don't skip a UE, current UE does not exist anymore
UE
--
;
}
}
}
...
...
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