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
lizhongxiao
OpenXG-RAN
Commits
88daeb39
Commit
88daeb39
authored
Jan 11, 2024
by
Chieh-Chun Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: remove released UE from slice before MAC removed
parent
e2f35a2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
+8
-8
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
View file @
88daeb39
...
...
@@ -2536,6 +2536,14 @@ void mac_remove_nr_ue(gNB_MAC_INST *nr_mac, rnti_t rnti)
return
;
}
/* Dissociate UE from all corresponding slice*/
nr_pp_impl_param_dl_t
*
dl
=
&
nr_mac
->
pre_processor_dl
;
if
(
dl
->
slices
)
{
for
(
int
i
=
0
;
i
<
dl
->
slices
->
num
;
i
++
)
{
dl
->
remove_UE
(
dl
->
slices
,
UE
,
i
);
}
}
NR_UE_info_t
*
newUEs
[
MAX_MOBILES_PER_GNB
+
1
]
=
{
0
};
int
newListIdx
=
0
;
for
(
int
i
=
0
;
i
<
MAX_MOBILES_PER_GNB
;
i
++
)
...
...
@@ -2545,14 +2553,6 @@ void mac_remove_nr_ue(gNB_MAC_INST *nr_mac, rnti_t rnti)
NR_SCHED_UNLOCK
(
&
UE_info
->
mutex
);
delete_nr_ue_data
(
UE
,
nr_mac
->
common_channels
,
&
UE_info
->
uid_allocator
);
/* Dissociate UE from all corresponding slice*/
nr_pp_impl_param_dl_t
*
dl
=
&
nr_mac
->
pre_processor_dl
;
if
(
dl
->
slices
)
{
for
(
int
i
=
0
;
i
<
dl
->
slices
->
num
;
i
++
)
{
dl
->
remove_UE
(
dl
->
slices
,
UE
,
i
);
}
}
}
uint8_t
nr_get_tpc
(
int
target
,
uint8_t
cqi
,
int
incr
)
{
...
...
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