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
31412e48
Commit
31412e48
authored
Jul 05, 2016
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deal with UE removal
parent
de7afd7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
+16
-2
No files found.
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
View file @
31412e48
...
...
@@ -344,6 +344,10 @@ int add_new_ue(module_id_t mod_idP, int cc_idP, rnti_t rntiP,int harq_pidP)
int
mac_remove_ue
(
module_id_t
mod_idP
,
int
ue_idP
,
int
frameP
,
sub_frame_t
subframeP
)
//------------------------------------------------------------------------------
{
#if FAPI
struct
CschedUeReleaseReqParameters
p
;
struct
CschedUeReleaseCnfParameters
r
;
#endif
int
prev
,
i
,
ret
=-
1
;
...
...
@@ -421,8 +425,18 @@ int mac_remove_ue(module_id_t mod_idP, int ue_idP, int frameP, sub_frame_t subfr
}
#if FAPI
printf
(
"FAPI: remove UE: TODO
\n
"
);
abort
();
p
.
rnti
=
rnti
;
p
.
nr_vendorSpecificList
=
0
;
p
.
vendorSpecificList
=
NULL
;
LOG_I
(
MAC
,
"calling CschedUeReleaseReq
\n
"
);
CschedUeReleaseReq
(
eNB_mac_inst
[
mod_idP
].
fapi
->
sched
,
&
p
);
LOG_I
(
MAC
,
"calling CschedUeReleaseCnf
\n
"
);
CschedUeReleaseCnf
(
eNB_mac_inst
[
mod_idP
].
fapi
,
&
r
);
if
(
r
.
rnti
!=
rnti
||
r
.
result
!=
ff_SUCCESS
)
{
LOG_E
(
MAC
,
"FAPI fatal error: rnti is %x (expected %x); result is %s (expected ff_SUCCESS)
\n
"
,
r
.
rnti
,
rnti
,
r
.
result
==
ff_SUCCESS
?
"ff_SUCCESS"
:
"ff_FAILURE"
);
abort
();
}
#endif
if
(
ret
==
0
)
{
...
...
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